[Zope-dev] exceptions on windows

Dieter Maurer dieter@handshake.de
Sat, 15 Sep 2001 21:49:09 +0200 (CEST)


Andy McKay writes:
 > Wild guess... theres a module /lib/python/Interface/Exceptions.py. In Python
 > 1.5.2 doesnt that mean windows will import that rather than exceptions.py?
Only when you happen to be inside the "Interface" package...
Anywhere else, it should find "exceptions".

However, I checked that in Python2.1 (at least) there is not
"exceptions" module.
"SyntaxError" (and friends) are defined in "__builtins__"
and can be accessed directly.


Dieter