Author loewis
Recipients jeffdharper, loewis
Date 2012-07-04.17:46:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341423982.88.0.244166417073.issue15251@psf.upfronthosting.co.za>
In-reply-to
Content
You need to pass co_freevars and co_cellvars as well for your example to work. It shouldn't crash, but I don't consider this particular crash as a bug, as it is a known limitation that new.code doesn't perform all consistency checks that are necessary to guarantee that the function execution doesn't crash the interpreter.

It certainly can't be fixed in 2.6.
History
Date User Action Args
2012-07-04 17:46:22loewissetrecipients: + loewis, jeffdharper
2012-07-04 17:46:22loewissetmessageid: <1341423982.88.0.244166417073.issue15251@psf.upfronthosting.co.za>
2012-07-04 17:46:22loewislinkissue15251 messages
2012-07-04 17:46:22loewiscreate