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 saurabhgupta2u
Recipients christian.heimes, saurabhgupta2u
Date 2013-07-22.08:17:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374481061.3.0.509404951836.issue18525@psf.upfronthosting.co.za>
In-reply-to
Content
I have a legacy software that has things like:

    try:
        some stuff
    except OSError, why:
        if WindowsError is not None and isinstance(why, WindowsError):
            do something
        else:
            do something else

So I'd ideally like to able to run this software unchanged on Windows systems too. It would be best for me if I could import WindowsError on windows.
History
Date User Action Args
2013-07-22 08:17:41saurabhgupta2usetrecipients: + saurabhgupta2u, christian.heimes
2013-07-22 08:17:41saurabhgupta2usetmessageid: <1374481061.3.0.509404951836.issue18525@psf.upfronthosting.co.za>
2013-07-22 08:17:41saurabhgupta2ulinkissue18525 messages
2013-07-22 08:17:41saurabhgupta2ucreate