[issue4199] add shorthand global and nonlocal statements

Benjamin Peterson report at bugs.python.org
Sat Oct 25 00:32:35 CEST 2008


New submission from Benjamin Peterson <musiccomposition at gmail.com>:

PEP 3104 says that the nonlocal and global statements should allow a
shorthand. ("global x; x = 3" == "global x = 3") This patch implements that.

----------
components: Interpreter Core
files: global_nonlocal_short_assign.patch
keywords: patch
messages: 75193
nosy: benjamin.peterson
priority: high
severity: normal
status: open
title: add shorthand global and nonlocal statements
versions: Python 3.1
Added file: http://bugs.python.org/file11880/global_nonlocal_short_assign.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4199>
_______________________________________


More information about the Python-bugs-list mailing list