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
bpo-15388: SAX parse (ExpatParser) leaks file handle when given filename input
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2013-02-05.20:06:25.010>created_at=<Date2008-05-12.19:44:33.484>labels= ['expert-XML', 'type-bug']
title='Expat parser locks XML source file if ContentHandler raises an exception'updated_at=<Date2013-02-05.20:06:25.009>user='https://bugs.python.org/craigneuro'
Where "xml_path" points to a well-formed XML file. This will raise an
AssertionError. Then, attempt to modify or delete the XML file that was
specified; it's still locked by the Python process.
Deleting the ContentHandler does not unlock it. There doesn't seem any
way to unlock it aside from terminating the Python process.
If the ContentHandler doesn't raise an exception or error, the file is
unlocked properly.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: