GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • [ date ]
  • [ thread ]
  • [ subject ]
  • [ author ]

This view

  • Original page
  • New address

GeezerVison is showing mail.python.org — [Python-Dev] Symbolic errno values in error messages

[Python-Dev] Symbolic errno values in error messages

Alexander Belopolsky alexander.belopolsky at gmail.com
Fri May 16 16:03:43 CEST 2008

  • Previous message: [Python-Dev] Symbolic errno values in error messages
  • Next message: [Python-Dev] Symbolic errno values in error messages
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

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).





  • Previous message: [Python-Dev] Symbolic errno values in error messages
  • Next message: [Python-Dev] Symbolic errno values in error messages
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the Python-Dev mailing list
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.