[Python-Dev] cpython: Tighten-up code in the set iterator to use an entry pointer rather than
storchaka at gmail.com
Tue Jul 7 10:10:09 CEST 2015
On 07.07.15 10:42, Serhiy Storchaka wrote:
> On 07.07.15 05:03, raymond.hettinger wrote:
>> changeset: 96865:c9782a9ac031
>> user: Raymond Hettinger <python at rcn.com>
>> date: Mon Jul 06 19:03:01 2015 -0700
>> Tighten-up code in the set iterator to use an entry pointer rather
>> than indexing.
> What if so->table was reallocated during the iteration, but so->used is
> left the same? This change looks unsafe to me.
There is crash reproducer.
More information about the Python-Dev