"Ray" <[EMAIL PROTECTED]> writes: > 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,
It's what I do, and I'm not bothered by it, TBH. Nested try's have an explicitness bonus. Cheers, mwh -- Anything that doesn't autonomously leave the fridge, or at the very least waves protest banners, will be eaten. -- Rik Steenwinkel, asr -- http://mail.python.org/mailman/listinfo/python-list