Message154057
| 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:22 | scoder | set | recipients:
+ scoder, loewis, amaury.forgeotdarc |
| 2012年02月23日 10:09:22 | scoder | set | messageid: <1329991762.26.0.227598054623.issue14098@psf.upfronthosting.co.za> |
| 2012年02月23日 10:09:21 | scoder | link | issue14098 messages |
| 2012年02月23日 10:09:21 | scoder | create |
|