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 scoder
Recipients amaury.forgeotdarc, loewis, scoder
Date 2012-02-23.10:09:21
SpamBayes Score 5.204825e-05
Marked as misclassified No
Message-id <1329991762.26.0.227598054623.issue14098@psf.upfronthosting.co.za>
In-reply-to
Content
I wonder if these functions should have an error return value, i.e. return -1 on failure. They'd "never" fail in CPython, but other implementations may want to report failures, in case their internal implementation is more involved. OTOH, documenting that they may fail (even though they won't) means that users will have to deal with errors in potentially tricky situations.

Amaury, any comments?
History
Date User Action Args
2012-02-23 10:09:22scodersetrecipients: + scoder, loewis, amaury.forgeotdarc
2012-02-23 10:09:22scodersetmessageid: <1329991762.26.0.227598054623.issue14098@psf.upfronthosting.co.za>
2012-02-23 10:09:21scoderlinkissue14098 messages
2012-02-23 10:09:21scodercreate