[Python-Dev] win32 specific exception in the core?

Mark Hammond mhammond@skippinet.com.au
Mon, 7 Feb 2000 19:25:03 +1100


Fredrik writes:

> any reason you can't just throw OSError exceptions?

Mainly cos the error numbers are different - (eg, compare "errno.h" with
"winerror.h" OSError really should be named CRTError.  I dont think it makes
much sense to have 2 different error numbering schemes use the same
exception...

I guess we _could_ tho - I still lean towards a new one, but other opinions
would be good...

Mark.