Author jeffdharper
Recipients docs@python, jeffdharper, loewis
Date 2012-07-04.22:20:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

Thanks for your response.  I didn't know it was possible to pass freevars and cellvars to new.code.  I think the documentation needs to be updated.  The documentation for 2.7.3 located at is as follows:

new.code(argcount, nlocals, stacksize, flags, codestring, constants, names, varnames, filename, name, firstlineno, lnotab)

After I got your reply to this bug report I did help(new.code) and I see that it includes freevars and cellvars as optional arguments.
Date User Action Args
2012-07-04 22:20:44jeffdharpersetrecipients: + jeffdharper, loewis, docs@python
2012-07-04 22:20:44jeffdharpersetmessageid: <>
2012-07-04 22:20:43jeffdharperlinkissue15251 messages
2012-07-04 22:20:43jeffdharpercreate