You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...snip...
Wrap an untrusted string in a :class:`io.StringIO` or :class:`io.BytesIO` to avoid this. Do not pass untrusted strings to this function.
...snip...
Using version 6.0.11 and Python 3.12
The docs for
parse()
sayIf you pass an
io.BytesIO
, this works fine:However, if you pass a
io.StringIO
, it crashes:The text was updated successfully, but these errors were encountered: