This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients rhettinger, serhiy.storchaka
Date 2015-07-07.08:09:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436256549.64.0.540045021934.issue24581@psf.upfronthosting.co.za>
In-reply-to
Content
Changeset c9782a9ac031 caused segmentation fault when underlying table of the set is reallocated but the number of set elements is kept the same during iteration. Crash reproducer:

s = set(range(100))
s.clear()
s.update(range(100))
si = iter(s)
s.clear()
a = list(range(100))
s.update(range(100))
list(si)
History
Date User Action Args
2015-07-07 08:09:09serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger
2015-07-07 08:09:09serhiy.storchakasetmessageid: <1436256549.64.0.540045021934.issue24581@psf.upfronthosting.co.za>
2015-07-07 08:09:09serhiy.storchakalinkissue24581 messages
2015-07-07 08:09:09serhiy.storchakacreate