[issue22203] inspect.getargspec() returns wrong spec for builtins

2015-05-30 Thread Yury Selivanov
Yury Selivanov added the comment: This was fixed in issue #23934 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> sphinx - building muppy docs fails on Linux ___ Python tracker

[issue22203] inspect.getargspec() returns wrong spec for builtins

2014-09-26 Thread Larry Hastings
Larry Hastings added the comment: We should be able to get proper signatures for 3.5. For 3.4, probably the best thing is to prevent the signature / raise an error. -- ___ Python tracker _

[issue22203] inspect.getargspec() returns wrong spec for builtins

2014-09-26 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue22203] inspect.getargspec() returns wrong spec for builtins

2014-09-26 Thread Yury Selivanov
Yury Selivanov added the comment: The problem is that map & filter are classes, and their __init__ and __new__ methods do not provide any text_signature, hence signature uses the one from object.__init__. -- ___ Python tracker

[issue22203] inspect.getargspec() returns wrong spec for builtins

2014-08-25 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22203] inspect.getargspec() returns wrong spec for builtins

2014-08-15 Thread R. David Murray
R. David Murray added the comment: These used to raise an error. Not sure if the fact that they don't now is intentional or not (eventually they will return a real value when the argument clinic project is finished). -- nosy: +r.david.murray ___ Py

[issue22203] inspect.getargspec() returns wrong spec for builtins

2014-08-14 Thread Alexander Schepanovski
New submission from Alexander Schepanovski: inspect.getargspec() returns empty ArgSpec for map() and filter(): >>> import inspect >>> inspect.getargspec(map) ArgSpec(args=[], varargs=None, keywords=None, defaults=None) >>> inspect.getargspec(filter) ArgSpec(args=[], varargs=N