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?
Cheers.
--
Andy McKay.
----- Original Message -----
From: "kapil thangavelu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 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):
> pass
>
> in a product generates an import error.
>
> (i last noted this behavior on 2.2, haven't used windows since...)
>
>
> thanks
>
> -kapil
>
> _______________________________________________
> Zope-Dev maillist - [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
>
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )