A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-January/115813.html below:

[Python-Dev] exception chaining

[Python-Dev] exception chaining [Python-Dev] exception chainingŁukasz Langa lukasz at langa.pl
Mon Jan 23 15:49:11 CET 2012
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120123/43a88ba9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1898 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120123/43a88ba9/attachment.jpg>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4