Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue2413] os.strerror does not check for out of range argument

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


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

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.