Message164775
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. |
|
Date |
User |
Action |
Args |
2012-07-07 02:29:13 | terry.reedy | set | recipients:
+ terry.reedy, loewis, docs@python, jeffdharper |
2012-07-07 02:29:13 | terry.reedy | set | messageid: <1341628153.25.0.56751553888.issue15251@psf.upfronthosting.co.za> |
2012-07-07 02:29:12 | terry.reedy | link | issue15251 messages |
2012-07-07 02:29:12 | terry.reedy | create | |
|