(original) (raw)


Wiadomo�� napisana przez Ethan Furman w dniu 20 sty 2012, o godz. 21:05:

The problem I have with 'raise x from None' is it puts 'from None' clear at the end of line

from None raise SomeOtherError('etc.')

Better yet:

with nocontext():
raise SomeOtherError('etc.')

But that's python-ideas territory ;)

-- 
Best regards,
�ukasz Langa
Senior Systems Architecture Engineer

IT Infrastructure Department
Grupa Allegro Sp. z o.o.


Pomy�l o �rodowisku naturalnym zanim wydrukujesz t� wiadomo��!
Please consider the environment before printing out this e-mail.