summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-05-05 08:11:55 (GMT)
committerGitHub <noreply@github.com>2017-05-05 08:11:55 (GMT)
commitd81f9e24ea89c0aaded1e0d3f8d8076bbd58c19a (patch)
tree16d3faf0c675d130d6a7163b53f4f87d4e7ac630 /Python/pythonrun.c
parentfd6094cdebb5736745d164e0207de2d4cb0b50dc (diff)
downloadcpython-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