Steve Dower <steve.do...@python.org> added the comment:

(Copied from my comment on the PR, following the one where I said this was 
ready to go.)

Withdrawing the readiness - @ambv and I would prefer to see this behind a flag 
(probably "strict" parsing), on by default for 3.10, and maybe on by default 
for 3.9/earlier.

The main reasoning being that this isn't our vulnerability, but an 
inconsistency with other vulnerable libraries. The current fix is the best it 
can be, but it doesn't prevent the vulnerability, it just causes Python to 
break first. So it ought to be relatively easy to retain the flexible (though 
admittedly non-sensical) behaviour for those who currently rely on it.

----------
nosy: +steve.dower

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36384>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to