[issue6905] inspect.getargspec(print) fails
Georg Brandl
report at bugs.python.org
Mon Sep 14 11:44:48 CEST 2009
Georg Brandl <georg at python.org> added the comment:
This is not an issue, but a fundamental restriction of what getargspec()
can do. C function signatures are not introspectable, because basically
every C function can be thought of as defined as either
def func(*args)
or
def func(*args, **kwargs)
and is free to do what it wants with the args and kwargs.
----------
nosy: +georg.brandl
resolution: -> wont fix
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6905>
_______________________________________
More information about the Python-bugs-list
mailing list