cpython/Lib/xml/sax
Pablo Galindo 293dd23477
Remove binding of captured exceptions when not used to reduce the chances of creating cycles (GH-17246)
Capturing exceptions into names can lead to reference cycles though the __traceback__ attribute of the exceptions in some obscure cases that have been reported previously and fixed individually. As these variables are not used anyway, we can remove the binding to reduce the chances of creating reference cycles.

See for example GH-13135
2019-11-19 21:34:03 +00:00
..
__init__.py Remove binding of captured exceptions when not used to reduce the chances of creating cycles (GH-17246) 2019-11-19 21:34:03 +00:00
_exceptions.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:14:22 +02:00
expatreader.py bpo-15999: Always pass bool instead of int to the expat parser. (GH-15622) 2019-09-01 12:11:43 +03:00
handler.py Fix most trivially-findable print statements. 2007-02-09 05:37:30 +00:00
saxutils.py bpo-31658: Make xml.sax.parse accepting Path objects (GH-8564) 2019-04-14 11:16:54 +02:00
xmlreader.py Issue #2175: SAX parsers now support a character stream of InputSource object. 2015-04-02 21:00:13 +03:00