]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34791: xml package obeys ignore env flags (GH-9544) (GH-9546)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 19 Oct 2018 23:09:23 +0000 (16:09 -0700)
committerVictor Stinner <vstinner@redhat.com>
Fri, 19 Oct 2018 23:09:23 +0000 (01:09 +0200)
commit5e808f92ea4eb238b17757526b99f97debf7dd57
tree17a0df0cce72c3b7b539fc9ad8337ea130f77e14
parent47413fe608c8ecea3b8c4c6341442fd4174160c6
bpo-34791: xml package obeys ignore env flags (GH-9544) (GH-9546)

The xml.sax and xml.dom.domreg modules now obey
sys.flags.ignore_environment.

Signed-off-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue34791
(cherry picked from commit 223e501fb9c2b6ae21b96054e20c4c31d94a5d96)

Co-authored-by: Christian Heimes <christian@python.org>
Lib/xml/dom/domreg.py
Lib/xml/sax/__init__.py
Misc/NEWS.d/next/Security/2018-09-24-18-49-25.bpo-34791.78GmIG.rst [new file with mode: 0644]