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
___
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
___
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
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
I think that this would make a great dev.zope.org fish-bowl project.
I'd love to see someone come up with an exception model for
Zope:
- arranging exceptions in a hierarchy.
- defining standard APIs for exceptions.
To give an example of what I'd like to gain by having
exception
Oh if only!!!
I love this idea, and comments haev coem from DC along those same lines,
btu nothing ever really happened about it...
cheers,
Chris
seb bacon wrote:
I was just building in some error handling into some UI code, and wanted to catch
errors relating to duplicate ids. The
snip good idea about exception hierarchies
Oh if only!!!
I love this idea, and comments haev coem from DC along those same lines,
btu nothing ever really happened about it...
If there are people willing to work on this, then a proposal
would be most welcome...