PEP 3099 is the big list of things that will not happen in Python 3. Everything on that list is still true, 12 years after it was posted. However...
"There will be no alternative binding operators such as :=."
While earlier versions of PEP 572 avoided breaking this declaration, the current version does not. Now, this isn't a major issue or anything - if 572 is accepted, that section of 3099 would just need a note added (or just be removed). I don't want this message to impact the fate of 572.
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.
-- Greg
-----Original Message----- From: Python-Dev python-dev-bounces+tritium- list=sdamon.com@python.org On Behalf Of Greg Ewing Sent: Saturday, April 28, 2018 10:53 PM To: 'Python-Dev' python-dev@python.org Subject: Re: [Python-Dev] PEP 572 contradicts PEP 3099
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.
Yeah, that's not really the issue, if there is an issue - just the wording of direct assertion. I'm just adding to the list of things that need to be touched if 572 is accepted, and that includes clarifying what was meant by that.
-- Greg
Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/tritium- list%40sdamon.com
On Sun, Apr 29, 2018 at 1:11 PM, Alex Walters tritium-list@sdamon.com wrote: > >
-----Original Message----- From: Python-Dev python-dev-bounces+tritium- list=sdamon.com@python.org On Behalf Of Greg Ewing Sent: Saturday, April 28, 2018 10:53 PM To: 'Python-Dev' python-dev@python.org Subject: Re: [Python-Dev] PEP 572 contradicts PEP 3099
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.
Yeah, that's not really the issue, if there is an issue - just the wording of direct assertion. I'm just adding to the list of things that need to be touched if 572 is accepted, and that includes clarifying what was meant by that.
I'm not sure that it matters. PEP 3099 states a number of changes that were not going to happen in Python 3000, which we now know as Python 3.0. That's still true even if Python 3.8 gains a feature. (Though most of the rejected proposals are sufficiently backward-incompatible that they're almost certainly going to remain rejected.)
ChrisA
On 29 April 2018 at 12:52, Greg Ewing greg.ewing@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
Cheers, Nick.
-- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
Nick Coghlan wrote:
On 29 April 2018 at 12:52, Greg Ewing <greg.ewing@canterbury.ac.nz
mailto:greg.ewing@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."
-- Greg