[Python-Dev] Python in Unicode context

Michael Hudson mwh at python.net
Thu Aug 5 14:05:44 CEST 2004


"M.-A. Lemburg" <mal at egenix.com> writes:

D> Michael Hudson wrote:
>> "M.-A. Lemburg" <mal at egenix.com> writes:
>> 
>>>To me ...
>>>
>>>try:
>>>     ...
>>>except Exception, errobj:
>>>     # catches all exceptions
>>>     pass
>>>
>>>... is the most natural way of using that single root (and it already
>>>works great today).
>> Well, uh, it's not totally bullet proof:
>
> I meant that it works for the vast majority of all cases
> you see in practice.

OK, then we're on the same page.

> I haven't seen a non-Exception based exception in years.

I hadn't until I looked into test_opcodes last night!

Cheers,
mwh

-- 
  In that case I suggest that to get the correct image you look at
  the screen from inside the monitor whilst standing on your head.  
               -- James Bonfield, http://www.ioccc.org/2000/rince.hint


More information about the Python-Dev mailing list