Files
cpython/Modules
Sebastian Pipping 8ea678d6d1 [3.10] gh-139400: Make sure that parent parsers outlive their subparsers in pyexpat (GH-139403) (#139613)
* gh-139400: Make sure that parent parsers outlive their subparsers in `pyexpat` (#139403)

* Modules/pyexpat.c: Disallow collection of in-use parent parsers.

Within libexpat, a parser created via `XML_ExternalEntityParserCreate`
is relying on its parent parser throughout its entire lifetime.
Prior to this fix, is was possible for the parent parser to be
garbage-collected too early.

(cherry picked from commit 6edb2ddb5f)

* Move news item to from section "Core and Builtins" to section "Security"
2025-10-07 00:34:14 +01:00
..
2016-10-18 16:29:27 +02:00
2016-09-06 10:46:49 -07:00

Source files for standard library extension modules,
and former extension modules that are now builtin modules.