Author Evan Hubinger
Recipients Evan Hubinger
Date 2015-10-17.02:11:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The code

import itertools
it = itertools.chain.from_iterable((f() for f in [lambda: it]))

definitely segfaults on Python 2.6, 2.7, 3.3, and 3.4, and probably segfaults on other versions as well. The code is clearly incorrect in that the lambda references the variable being defined, but it seems like it should raise an error instead of segfaulting.
Date User Action Args
2015-10-17 02:11:53Evan Hubingersetrecipients: + Evan Hubinger
2015-10-17 02:11:53Evan Hubingersetmessageid: <>
2015-10-17 02:11:53Evan Hubingerlinkissue25429 messages
2015-10-17 02:11:52Evan Hubingercreate