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 brett.cannon, larry, matrixise, ncoghlan, yselivanov
Date 2014-04-15.17:28:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397582909.93.0.605313091008.issue20438@psf.upfronthosting.co.za>
In-reply-to
Content
Since getfullargspec is new in Python 3 and inspect.signature fundamentally improves things in Python 3 due to Argument Clinic I would say go ahead and code deprecate getfullargspec (we can do a DeprecationWarning for 3.5 and 3.6 and remove in 3.7; people needing compatibility can just use getargspec). As for getargspec, it was already deprecated so just leave it deprecated and update its message to say to use inspect.signature.

As for keeping track of this stuff, Stéphane, as part of the test that makes sure the warning is raised, add to that test -- don't need a separate method -- some code that will fail if the function exists in Python 3.7 or later.
History
Date User Action Args
2014-04-15 17:28:29brett.cannonsetrecipients: + brett.cannon, ncoghlan, larry, yselivanov, matrixise
2014-04-15 17:28:29brett.cannonsetmessageid: <1397582909.93.0.605313091008.issue20438@psf.upfronthosting.co.za>
2014-04-15 17:28:29brett.cannonlinkissue20438 messages
2014-04-15 17:28:29brett.cannoncreate