[Python-Dev] Comments of the PEP 3151 (original) (raw)

Glyph Lefkowitz glyph at twistedmatrix.com
Wed Jul 27 01:32:56 CEST 2011


On Jul 26, 2011, at 6:49 PM, Antoine Pitrou wrote:

On Mon, 25 Jul 2011 15:28:47 +1000 Nick Coghlan <ncoghlan at gmail.com> wrote:

There may be some error codes that we choose to map to these generic errors, even if we don't give them their own exception types at this point (e.g. ECONSHUTDOWN could map directly to ConnectionError). Ok, I can find neither ECONSHUTDOWN nor ECONNSHUTDOWN on www.opengroup.org, and it's not mentioned in errnomodule.c. Is it some system-specific error code?

I assume that ESHUTDOWN is the errno in question? (This is also already mentioned in the PEP.)



More information about the Python-Dev mailing list