[ python-Bugs-823672 ] os.strerror doesn't understand windows error codes

SourceForge.net noreply at sourceforge.net
Fri Dec 5 16:08:36 EST 2003


Bugs item #823672, was opened at 2003-10-14 22:04
Message generated for change (Settings changed) made by theller
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=823672&group_id=5470

Category: None
Group: None
>Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Thomas Heller (theller)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.strerror doesn't understand windows error codes

Initial Comment:
For example, os.strerror(errno.EWOULDBLOCK) returns
'unknown error'.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-10-24 22:15

Message:
Logged In: YES 
user_id=21627

Why is this a bug in Python? os.strerror just calls the
system's strerror(3). If that doesn't know its own errors,
how should Python know?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=823672&group_id=5470



More information about the Python-bugs-list mailing list