Terry J. Reedy <tjre...@udel.edu> added the comment:

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.

----------
nosy: +terry.reedy
Added file: http://bugs.python.org/file26279/tem.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15251>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to