Stefan Behnel <sco...@users.sourceforge.net> added the comment:

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?

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14098>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to