Files
cpython/Python
Gregory P. Smith 09e1e663c9 [3.14] gh-159185: Fix marshalling of a set modified while its elements are marshalled (GH-159195) (#159200)
Marshalling a set element can run Python code (__buffer__, an audit
hook) which changes the set.  The number of elements was read before
the loop, so a set which grew was written past the end of the list and
one which shrank left NULL items in the list which was then sorted.
Raise RuntimeError("set changed size during iteration") instead.

(cherry picked from commit cd71799c47)
2026-10-11 14:52:10 -07:00
..
…

Miscellaneous source files for the main Python shared library