Bugs item #1748064, was opened at 2007-07-04 14:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1748064&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michael A. Hawker (hawkerm)
Assigned to: Nobody/Anonymous (nobody)
Summary: inspect.getargspec fails on built-in or slot wrapper methods

Initial Comment:
Hi, I'm new here, but I'm running into a little trouble with complex 
introspection techniques.

I'm using Windows XP SP2 on an AMD64 chip.

Tying to do some introspection on base types provides little information about 
the function as getargspec will not accept the slot wrapper or a built-in 
function as an argument (see attached interpreter trace).

i.e. when trying to analyze functions such as list.remove, list.__getitem__, 
len, etc...

This seems like abnormal behavior as it seems contrary as these are methods and 
functions, and the help function (while only providing the doc string) still 
provides information about the function, only in a different harder to parse 
format.

Do I need to make a stronger argument?  It would be very useful for the work 
I'm doing.

Attached is a trace of various scenarios involving this issue and how it seems 
contrary to the expected behavior.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1748064&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to