diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-05-05 08:11:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-05 08:11:55 (GMT) |
commit | d81f9e24ea89c0aaded1e0d3f8d8076bbd58c19a (patch) | |
tree | 16d3faf0c675d130d6a7163b53f4f87d4e7ac630 /Python/pythonrun.c | |
parent | fd6094cdebb5736745d164e0207de2d4cb0b50dc (diff) | |
download | cpython-d81f9e24ea89c0aaded1e0d3f8d8076bbd58c19a.zip cpython-d81f9e24ea89c0aaded1e0d3f8d8076bbd58c19a.tar.gz cpython-d81f9e24ea89c0aaded1e0d3f8d8076bbd58c19a.tar.bz2 |
bpo-30264: ExpatParser now closes the source (#1476)
ExpatParser.parse() of xml.sax.xmlreader now closes the source: close
the file object or the urllib object if source is a string (not an
open file-like object).
Add test_parse_close_source() unit test.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions