Python's Exception, and Capitalization

Ray ray_usenet at yahoo.com
Fri Aug 12 10:59:36 EDT 2005


D H wrote:
> Yeah, the python standard library has been built by lots of different
> people.  It wasn't designed by one entity using one standard like the
> java standard library or .NET/Mono class library.

Um, OK, so is it customary in modern Python programs to follow Java
convention? then methods/functions should be written someMethod() or
myFunction()?

> > 2. I'm quite baffled that you either have try/except, or try/finally.
>
> Apparently that will be fixed sometime:
> http://python.miscellaneousmirror.org/peps/pep-0341.html

Ah, okay. I'm quite surprised to see the date--it was _that_ recent! :)
But currently, how have you--Python guys who code for a living--been
handling this case? I know that you can put another try inside a try,
but obviously the need for that is not common enough in idiomatic
Python program (or else this would have been a PEP in, say, 2000).

Cheers
Ray




More information about the Python-list mailing list