[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] PEP 572 contradicts PEP 3099

Nick Coghlan wrote:
> On 29 April 2018 at 12:52, Greg Ewing <greg.ewing at canterbury.ac.nz 
> <mailto:greg.ewing at canterbury.ac.nz>> wrote:
>     Alex Walters wrote:
>         PEP 3099 is the big list of things that will not happen in Python 3.
>         "There will be no alternative binding operators such as :=."
>     The thread referenced by that is taling about a different issue,
>     i.e. using a different symbol to rebind names in an outer scope.
> Right, and that's also noted again in the accepted PEP which introduced 
> "nonlocal" declarations: 
> https://www.python.org/dev/peps/pep-3104/#rebinding-operator

Perhaps PEP 3099 could be amended to say "no alternative binding operators
for the purpose of distinguishing local and nonlocal bindings."