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 rhettinger
Recipients larry, martin.panter, mdk, rhettinger, serhiy.storchaka, vstinner
Date 2016-11-27.18:37:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I would suggest to use sys.maxsize for default value in Argument Clinic

No thanks.  I don't want to subtly change the API for this module or even suggest to users that it might be a good idea to set hi > len.  Further, we don't want to slow the pure python code for this pointless extension.

Really, we're dancing around the issue that argument clinic and signatures need to become more expressive, allowing for omitted arguments without requiring a default value.  Waiting for this to be done is far preferable to mangling long-standing APIs to force fit them to into argument clinic.

Elsewhere, we've shown self discipline and restraint when applying AC, skipping over cases where it doesn't fit.  If we can't find a way to apply AC without changing this API, this issue should be closed and deferred until AC grows the requisite expressive power.
Date User Action Args
2016-11-27 18:37:28rhettingersetrecipients: + rhettinger, vstinner, larry, martin.panter, serhiy.storchaka, mdk
2016-11-27 18:37:28rhettingersetmessageid: <>
2016-11-27 18:37:28rhettingerlinkissue28754 messages
2016-11-27 18:37:28rhettingercreate