Skip to content

Conversation

@hauntsaninja
Copy link
Contributor

This is a common mistake, see python/cpython#99918 (comment)

@kurtmckee kurtmckee self-requested a review August 8, 2023 11:38
@kurtmckee kurtmckee merged commit 83b2ae7 into kurtmckee:develop Aug 8, 2023
@kurtmckee
Copy link
Owner

Thank you for fixing this! ❤️

@hauntsaninja hauntsaninja deleted the hauntsaninja-patch-1 branch August 8, 2023 20:59
@decaz
Copy link

decaz commented Oct 21, 2024

@kurtmckee 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. 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

Successfully merging this pull request may close these issues.

3 participants