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/2018-April/152769.html below:

[Python-Dev] PEP 572: Assignment Expressions

[Python-Dev] PEP 572: Assignment Expressions [Python-Dev] PEP 572: Assignment ExpressionsBarry Warsaw barry at python.org
Wed Apr 18 16:26:04 EDT 2018
On Apr 18, 2018, at 11:17, Chris Angelico <rosuav at gmail.com> wrote:

> At the moment, it isn't aware of 'del’.

I don’t know if it’s relevant to the current discussion, but don’t forget about implicit dels:

def foo():
    x = 1
    try:
        1/0
    except ZeroDivisionError as x:
        pass
    print(x)


This is one of my favorite Python oddities because it always makes me look like a genius when I diagnose it. :)

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180418/b3852073/attachment.sig>
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