[Tutor] Article !!!
Yigal Duppen
yduppen@xs4all.nl
Sat, 31 Aug 2002 10:33:55 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 31 August 2002 02:06, Aur=E9lio Magalh=E3es Dias wrote:
> Sorry, It is exceptions handling, in a very general view!
Don't know much about good references to Python exception handling.
But what you _can_ do is read up on Java exceptions (there are many good=20
tutorials on exceptions and java and Python's exception semantics are=20
similar) and then remember that in Python:
1) try/except and try/finally are two separate constructs (as opposed to=20
Java's try/catch/finally) -- search the c.l.p. archives for a good=20
explanation on this and write about this in your article - there were som=
e=20
pretty good posts on this subject some time ago.
2) exceptions _can_ be pure strings, although this is deprecated behaviou=
r --=20
this might be in c.l.p. as well, although I never read about it
By this time, your paper will probably have reached the 3 page limit.
If you're really masochistic or into the more intricate depths of CS, goo=
gle=20
on the combination of exceptions and continuations. Maybe read the articl=
es=20
written about Stackless Python...
HTH,
YDD
- --=20
http://www.xs4all.nl/~yduppen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9cH9zLsKMuCf5EdwRAlSsAKCZU/M/SphWR/cj2DCAK6VEH3C/xQCg1mhK
3JfmrazWFv3copf06ekWnc0=3D
=3DLAzK
-----END PGP SIGNATURE-----