[issue33732] Python 2.7.15: xml.sax.parse() closes file objects passed to it

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Hi Gibson, I'm sorry this issue didn't get any attention before Python 2.7 reached EOL, but as that milestone has now passed I'm closing the issue. Thank you for the report anyway! -- nosy: +zach.ware resolution: -> out of date stage: -> resolved s

[issue33732] Python 2.7.15: xml.sax.parse() closes file objects passed to it

2018-06-01 Thread Gibson Fahnestock
Gibson Fahnestock added the comment: As an addendum, I note that other parsers, like: parser = lxml.etree.XMLParser(compact=False) etree.parse(some_fd, parser).find('some_text').text do not close the fd they are given. -- ___ Python tracke

[issue33732] Python 2.7.15: xml.sax.parse() closes file objects passed to it

2018-06-01 Thread Gibson Fahnestock
New submission from Gibson Fahnestock : Sorry if this is a duplicate, I didn't find anything. We hit some issues with this change: - Python Bug: https://bugs.python.org/issue30264 - Github PRs: https://github.com/python/cpython/pull/1451 and https://github.com/python/cpython/pull/1476 It's po