https://bugzilla.wikimedia.org/show_bug.cgi?id=61231
--- Comment #1 from Russell Blau russblau@hotmail.com --- A little further testing shows that, when starting Python from the command prompt, WindowsError is still undefined (not too surprising, since this is a Linux machine), but evidently importing pywikibot in this configuration does not hit the try/except block on line 134 of version.py