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 terry.reedy
Recipients docs@python, jeffdharper, loewis, terry.reedy
Date 2012-07-07.02:29:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341628153.25.0.56751553888.issue15251@psf.upfronthosting.co.za>
In-reply-to
Content
In Py3, new.code and new.function become types.CodeType and types.FunctionType. The 'documentation' of their signatures is only available with help(types.xxx). So the library doc issue is 2.7 only.

Running with IDLE, 3.3b0, Win7, the converted example does crash after 5 seconds or so even with the missing arg and the pprint gone. The crash is in the new_fun(5) call. I might have gotten something wrong. Or maybe the the help is wrong.
History
Date User Action Args
2012-07-07 02:29:13terry.reedysetrecipients: + terry.reedy, loewis, docs@python, jeffdharper
2012-07-07 02:29:13terry.reedysetmessageid: <1341628153.25.0.56751553888.issue15251@psf.upfronthosting.co.za>
2012-07-07 02:29:12terry.reedylinkissue15251 messages
2012-07-07 02:29:12terry.reedycreate