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 brett.cannon
Recipients asvetlov, brett.cannon, jcea, larry
Date 2012-11-17.14:46:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
So at this point you should use inspect.signature(), not getfullargspec(). 

With that you could do this if you either allowed setting the __signature__ attribute and then provided code that would set it, made __signature__ a property that returned the Signature object if desired on a built-in, or come up with some automated way to take the argument string from PyArg_Parse() as you suggested.
Date User Action Args
2012-11-17 14:46:45brett.cannonsetrecipients: + brett.cannon, jcea, larry, asvetlov
2012-11-17 14:46:45brett.cannonsetmessageid: <>
2012-11-17 14:46:45brett.cannonlinkissue16490 messages
2012-11-17 14:46:45brett.cannoncreate