A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-May/079507.html below:

[Python-Dev] Symbolic errno values in error messages

[Python-Dev] Symbolic errno values in error messages [Python-Dev] Symbolic errno values in error messagesAlexander Belopolsky alexander.belopolsky at gmail.com
Fri May 16 16:03:43 CEST 2008
Yannick Gingras <ygingras <at> ygingras.net> writes:
..
> 
> 1) Should OSError.__str__() print the symbolic name of errno?
> 

+1 for the change

> 2) Where can I find the symbolic name in C?

Use standard C library char* strerror(int errnum) function.   You can see
an example usage in Modules/posixmodule.c (posix_strerror).




More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4