[issue15388] SAX parse (ExpatParser) leaks file handle when given filename input

2019-04-27 Thread Berker Peksag
Berker Peksag added the comment: I just tested the snippet in msg165779 under Windows with Python 2.7.16. I didn't get WindowsError after I called os.unlink(path) and verified that path is removed from the file system. I think we can close this issue as 'out of date'. -- nosy: +berk

[issue15388] SAX parse (ExpatParser) leaks file handle when given filename input

2019-04-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this fixed with d81f9e24ea89c0aaded1e0d3f8d8076bbd58c19a ? -- nosy: +scoder, serhiy.storchaka, xtreak ___ Python tracker ___ ___

[issue15388] SAX parse (ExpatParser) leaks file handle when given filename input

2019-04-26 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue15388] SAX parse (ExpatParser) leaks file handle when given filename input

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: @Matt I'm sorry that we haven't got back to you on this. -- nosy: +BreamoreBoy, christian.heimes ___ Python tracker ___ _

[issue15388] SAX parse (ExpatParser) leaks file handle when given filename input

2012-07-18 Thread Matt Hillsdon
New submission from Matt Hillsdon : The following example uses make_parser / parse to read a trivial XML document by filename and then attempts to delete the file. On Win32 I can't unlink the file because the parse does not seem to close the file handle. import os import tempfile from xml.sa