What's the use of the else in try/except/else?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Fri May 22 22:18:21 EDT 2009

In message <8dc983db-b8c4-4897-
a58b-969ca5f8e14f at g20g2000vba.googlegroups.com>, Beni Cherniavsky wrote:

> And yes, it's icky - not because of the ``else`` but because
> aquisition-release done correctly is always an icky pattern.

Only in the presence of exceptions.

More information about the Python-list mailing list