[issue39431] Mention nonlocal too in assignment quirk

2020-01-23 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
stage:  -> patch review
type:  -> behavior
versions: +Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39431] Mention nonlocal too in assignment quirk

2020-01-23 Thread miss-islington


Change by miss-islington :


--
pull_requests: +17539
pull_request: https://github.com/python/cpython/pull/18153

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39431] Mention nonlocal too in assignment quirk

2020-01-23 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39431] Mention nonlocal too in assignment quirk

2020-01-23 Thread miss-islington


miss-islington  added the comment:


New changeset 5a2356be1a3f4a9b2e509a16062016b7d9dee7e9 by Miss Islington (bot) 
in branch '3.8':
bpo-39431: Also mention nonlocal in assignment quirk (GH-17375)
https://github.com/python/cpython/commit/5a2356be1a3f4a9b2e509a16062016b7d9dee7e9


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39431] Mention nonlocal too in assignment quirk

2020-01-23 Thread miss-islington


miss-islington  added the comment:


New changeset 0c12d70bfdedf85c62e1c2b8c55ef4e84e6ee461 by Miss Islington (bot) 
in branch '3.7':
bpo-39431: Also mention nonlocal in assignment quirk (GH-17375)
https://github.com/python/cpython/commit/0c12d70bfdedf85c62e1c2b8c55ef4e84e6ee461


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39431] Mention nonlocal too in assignment quirk

2020-01-23 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 7142df5ea23b4ce0efb72746b4b3b65414e8dcb1 by Terry Jan Reedy 
(Shanavas M) in branch 'master':
bpo-39431: Also mention nonlocal in assignment quirk (GH-17375)
https://github.com/python/cpython/commit/7142df5ea23b4ce0efb72746b4b3b65414e8dcb1


--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39431] Mention nonlocal too in assignment quirk

2020-01-23 Thread miss-islington


Change by miss-islington :


--
keywords: +patch
pull_requests: +17538
pull_request: https://github.com/python/cpython/pull/18152

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39431] Mention nonlocal too in assignment quirk

2020-01-23 Thread Shanavas M


New submission from Shanavas M :

Doc says "A special quirk of Python is that -- if no :keyword:`global` 
statement is in  A special quirk of Python is that -- if no :keyword:`global` 
or :keyword:`nonlocal`
effect -- assignments to names always go into the innermost scope."

nonlocal should also be mentioned along with global

--
assignee: docs@python
components: Documentation
messages: 360553
nosy: docs@python, shanavasm
priority: normal
pull_requests: 17528
severity: normal
status: open
title: Mention nonlocal too in assignment quirk
versions: Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com