[issue7422] Document inspect.get(full)argspec limitation to Python function

2010-01-09 Thread Georg Brandl
Georg Brandl added the comment: Thanks, added "Python" in r77382, r77383. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue7422] Document inspect.get(full)argspec limitation to Python function

2009-12-01 Thread Brett Cannon
Brett Cannon added the comment: That's basically what I said. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7422] Document inspect.get(full)argspec limitation to Python function

2009-12-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sorry, you confuse me a bit. get(full)argspec also does not work with builtins. I am asking that the doc be clarified to match behavior so that people are not surprised by TypeError: arg is not a Python function as in written in Python versus C. -- ___

[issue7422] Document inspect.get(full)argspec limitation to Python function

2009-12-01 Thread Brett Cannon
Brett Cannon added the comment: Just in case anyone else gets confused, Terry's desire for the clarification is that getargspec() won't work with functions originating from an extension module. -- nosy: +brett.cannon ___ Python tracker

[issue7422] Document inspect.get(full)argspec limitation to Python function

2009-12-01 Thread Terry J. Reedy
New submission from Terry J. Reedy : "inspect.getargspec(func) Get the names and default values of a function’s arguments. " "inspect.getfullargspec(func) Get the names and default values of a function’s arguments." 'Function' must be a Python function (or a bound method wrapper thereof). (Som