Georg Brandl <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue2413> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com