[New-bugs-announce] [issue18525] Shutil cannot import WindowsError on windows

Saurabh Gupta report at bugs.python.org
Mon Jul 22 07:02:21 CEST 2013


New submission from Saurabh Gupta:

I've observed that shutil fails to import WindowsError on our windows 7 systems:

    from shutil import WindowsError

    File <file>, line <no>, in <module>
        from shutil import WindowsError
    ImportError: cannot import name WindowsError

The same statement works absolutely fine on linux. Has anyone else come across it too? Do you know how I could fix it?

Python version: 2.6.7
Linux OS: Centos 6.3
Windows OS: Windows 7 Professional x64

----------
components: Extension Modules, Library (Lib), Windows
messages: 193497
nosy: saurabhgupta2u
priority: normal
severity: normal
status: open
title: Shutil cannot import WindowsError on windows
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18525>
_______________________________________


More information about the New-bugs-announce mailing list