This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author draghuram
Recipients amaury.forgeotdarc, christian.heimes, draghuram, facundobatista, gvanrossum, ianare
Date 2007-12-03.22:25:22
SpamBayes Score 0.0765607
Marked as misclassified No
Message-id <>
In-reply-to <>
> try:
>   ....
> except os.error, err:
>   if WindowsError is not None or not isinstance(err, WindowsError):
>     raise   # Pretend we didn't catch it
>   pass   # Ignore it

All the double negations are hurting when I try to understand above
conditions. How about (in addition to the WindowsError name check):

if WindowsError and isinstance(err, WindowsError):
    pass # ignore

Date User Action Args
2007-12-03 22:25:22draghuramsetspambayes_score: 0.0765607 -> 0.0765607
recipients: + draghuram, gvanrossum, facundobatista, amaury.forgeotdarc, christian.heimes, ianare
2007-12-03 22:25:22draghuramlinkissue1545 messages
2007-12-03 22:25:22draghuramcreate