Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release for Python 3.13.0 compatibility #481

Open
decaz opened this issue Oct 23, 2024 · 0 comments
Open

Release for Python 3.13.0 compatibility #481

decaz opened this issue Oct 23, 2024 · 0 comments

Comments

@decaz
Copy link

decaz commented Oct 23, 2024

While using latest CPython 3.13.0 I'm seeing the following deprecation warning:

.venv/lib/python3.13/site-packages/feedparser/html.py:152: DeprecationWarning: 'count' is passed as positional argument
data = re.sub(r'<!((?!DOCTYPE\|--\|\[))', r'&lt;!\1', data, re.IGNORECASE)

I guess it causes bug in that case, because the flag is being passed instead of count.

@kurtmckee I see #389 fixed this but wasn't released yet. Could you release latest version with this merged fix inside please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant