[New-bugs-announce] [issue6905] inspect.getargspec(print) fails

Yuv Gre report at bugs.python.org
Mon Sep 14 05:54:51 CEST 2009


New submission from Yuv Gre <ubershmekel at gmail.com>:

>>> import inspect
>>> inspect.getargspec(print)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "F:\Python31\lib\inspect.py", line 787, in getargspec
    getfullargspec(func)
  File "F:\Python31\lib\inspect.py", line 814, in getfullargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function

Is this normal or a known issue? I couldn't find an existing ticket.

----------
components: Library (Lib)
messages: 92591
nosy: ubershmekel
severity: normal
status: open
title: inspect.getargspec(print) fails
type: behavior
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6905>
_______________________________________


More information about the New-bugs-announce mailing list