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 martin.panter
Recipients larry, martin.panter, mdk, rhettinger, serhiy.storchaka, vstinner
Date 2016-11-29.01:01:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480381304.71.0.255281457993.issue28754@psf.upfronthosting.co.za>
In-reply-to
Content
Regarding the problem with the default value, can we use “unspecified”, as documented at <https://docs.python.org/dev/howto/clinic.html#writing-a-custom-converter>, or is that an old relic that no longer exists (hinted at the end of Issue 20293)?

Failing that, I prefer Raymond’s earlier suggestion: say that any support for −1 or None are implementation details, and not part of the API. The same statement could be added to the native Python doc strings as well.

BTW I am not opposed to the proposal for proper hi=None support either, although it does complicate the change. IMO allowing hi=None could be done as a second step.
History
Date User Action Args
2016-11-29 01:01:44martin.pantersetrecipients: + martin.panter, rhettinger, vstinner, larry, serhiy.storchaka, mdk
2016-11-29 01:01:44martin.pantersetmessageid: <1480381304.71.0.255281457993.issue28754@psf.upfronthosting.co.za>
2016-11-29 01:01:44martin.panterlinkissue28754 messages
2016-11-29 01:01:44martin.pantercreate