[Python-Dev] WindowsError repr

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Tue, 15 Aug 2000 07:33:03 +0200


mark wrote:
> AGAIN - I stress - catching "OSError" or "os.error" _will_ continue to
> work, as WindowsError derives from OSError.  It just worries me that people
> will start explicitly catching "WindowsError", regardless of whatever
> documentation we might write on the subject.
> 
> Does anyone see this as a problem?

I've seen bigger problems -- but I think it's a problem.

any reason you cannot just use a plain OSError?  is the extra
"this is not a generic OSError" information bit actually used by
anyone?

</F>