This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ubershmekel
Recipients georg.brandl, ubershmekel
Date 2009-09-17.00:04:19
SpamBayes Score 0.002066777
Marked as misclassified No
Message-id <1253145861.61.0.412723101964.issue6905@psf.upfronthosting.co.za>
In-reply-to
Content
You're right, I was confused by the statement "arg is not a Python 
function". I didn't realize 'arg' meant the function I passed to 
getargspec, I thought it was just strange.

After digging a bit into inspect.py, may I suggest line 814 be changed 
from:
raise TypeError('arg is not a Python function')

to:
raise TypeError('%s is not a Python function' % func)

That way the error I would have received would have given:
TypeError: <built-in function print> is not a Python function
History
Date User Action Args
2009-09-17 00:04:21ubershmekelsetrecipients: + ubershmekel, georg.brandl
2009-09-17 00:04:21ubershmekelsetmessageid: <1253145861.61.0.412723101964.issue6905@psf.upfronthosting.co.za>
2009-09-17 00:04:20ubershmekellinkissue6905 messages
2009-09-17 00:04:19ubershmekelcreate