[issue38941] xml.etree.ElementTree.Element inconsistent warning for bool
Guido van Rossum
report at bugs.python.org
Mon Dec 2 19:21:11 EST 2019
Guido van Rossum <guido at python.org> added the comment:
I doubt effbot will respond. :-)
I think the first order of business is to add the same FutureWarning to the C version of the code, and to reset the clock on the deprecation.
In terms of the final stages, why wouldn't we want it to just always raise? Just because there's so much code that might break?
It shouldn't be a SyntaxWarning, since this is most definitely not a syntax issue. I'd be okay with RuntimeError (or RuntimeWarning if we decide to keep the old outcome with a warning forever).
(Huh, does FutureWarning count as a deprecation?)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38941>
_______________________________________
More information about the Python-bugs-list
mailing list