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

SourceForge.net noreply at sourceforge.net
Fri Oct 24 16:15:47 EDT 2003


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

Category: None
Group: None
Status: Open
Resolution: None
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