[Zope-dev] exceptions on windows

Andy McKay andym@ActiveState.com
Fri, 14 Sep 2001 12:40:40 -0700


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" <kthangavelu@earthlink.net>
To: <zope-dev@zope.org>
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  -  Zope-Dev@zope.org
> 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 )
>