Re: [Zope-dev] exceptions on windows

2001-09-16 Thread Chris Withers
However, I checked that in Python2.1 (at least) there is not exceptions module. How strange, I've been doing a _lot_ of: from exceptions import Exception over the last week in Python 2.1.1 and it works fine for me :-S Confusedly, Chris ___

Re: [Zope-dev] exceptions on windows

2001-09-16 Thread Dieter Maurer
Chris Withers writes: However, I checked that in Python2.1 (at least) there is not exceptions module. How strange, I've been doing a _lot_ of: from exceptions import Exception It's built in. I looked in the file system Dieter ___

Re: [Zope-dev] exceptions on windows

2001-09-15 Thread Dieter Maurer
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

[Zope-dev] exceptions on windows

2001-09-14 Thread kapil thangavelu
i've always been curious why zope on windows with a bundled python seems to have problems with finding the standard lib exceptions. does anyone know why? for example from exceptions import SyntaxError class MySyntaxErr(SyntaxError): pass in a product generates an import error. (i last

Re: [Zope-dev] exceptions on windows

2001-09-14 Thread Andy McKay
14, 2001 4:57 AM Subject: [Zope-dev] exceptions on windows i've always been curious why zope on windows with a bundled python seems to have problems with finding the standard lib exceptions. does anyone know why? for example from exceptions import SyntaxError class MySyntaxErr(SyntaxError