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/2019-January/156001.html below:

[Python-Dev] Compilation of "except FooExc as var" adds useless store

[Python-Dev] Compilation of "except FooExc as var" adds useless store [Python-Dev] Compilation of "except FooExc as var" adds useless storeSerhiy Storchaka storchaka at gmail.com
Sun Jan 6 10:50:46 EST 2019
06.01.19 17:35, Chris Angelico пише:
> On Mon, Jan 7, 2019 at 2:27 AM Serhiy Storchaka <storchaka at gmail.com> wrote:
>> Because there is a reason for such code.
> 
> What reason though??

I added references and excerpts in the previous message.

>> In short, the code
>>
>>       try:
>>           1/0
>>       except Exception as e:
>>           del e
>>
>> should work.
> 
> But obviously not, because the code was specifically written to set it
> to None first.
Did you tried it? It works.

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