Author jeffdharper
Recipients docs@python, jeffdharper, loewis
Date 2012-07-04.22:20:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341440444.33.0.266413351467.issue15251@psf.upfronthosting.co.za>
In-reply-to
Content
Martin,

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 http://docs.python.org/library/new.html?highlight=new#new.code 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.
History
Date User Action Args
2012-07-04 22:20:44jeffdharpersetrecipients: + jeffdharper, loewis, docs@python
2012-07-04 22:20:44jeffdharpersetmessageid: <1341440444.33.0.266413351467.issue15251@psf.upfronthosting.co.za>
2012-07-04 22:20:43jeffdharperlinkissue15251 messages
2012-07-04 22:20:43jeffdharpercreate