[issue7006] The replacement suggested for callable(x) in py3k is not equivalent
Joe Amenta
report at bugs.python.org
Fri Dec 25 18:32:56 CET 2009
Joe Amenta <amentajo at msu.edu> added the comment:
I believe that this patch works like you described...
Attached a patch with more test cases to show this.
(the [1:] parts are to make the test cases readable; they will still pass
if all the leading newlines are removed from the triple-quoted strings and
all [1:] are removed :-)
----------
Added file: http://bugs.python.org/file15673/new_callable_semantics_moretests.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7006>
_______________________________________
More information about the Python-bugs-list
mailing list