
report at bugs
May 11, 2008, 2:15 PM
Post #1 of 1
(137 views)
Permalink
|
|
[issue2413] os.strerror does not check for out of range argument
|
|
Georg Brandl <georg [at] python> added the comment: IMO, the current behavior is the least problematic. It also mirrors the rest of Python's posix-wrapping calls: if something usable is returned, use it; if NULL is returned, raise an error. For most people, "Unknown error XXX" or "Value error: strerror() argument out of range" won't be much different in terms of user experience. Rejecting this patch. ---------- nosy: +georg.brandl resolution: -> rejected status: open -> closed __________________________________ Tracker <report [at] bugs> <http://bugs.python.org/issue2413> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|