diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-11-01 00:26:20 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-11-01 00:26:20 (GMT) |
commit | d9c8702c0fd5e1e92e47435b0f64be440b2d5165 (patch) | |
tree | 088676ed2d61ff0991932d8cdf7ca27f28c27349 /Misc | |
parent | a889d801edab20b70dc8aba33763d76e82568250 (diff) | |
download | cpython-d9c8702c0fd5e1e92e47435b0f64be440b2d5165.zip cpython-d9c8702c0fd5e1e92e47435b0f64be440b2d5165.tar.gz cpython-d9c8702c0fd5e1e92e47435b0f64be440b2d5165.tar.bz2 |
point errors related to nonlocals and globals to the statement declaring them (closes #10189)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -10,6 +10,9 @@ What's New in Python 3.4.0 Alpha 1? Core and Builtins ----------------- +- Issue #10189: Improve the error reporting of SyntaxErrors related to global + and nonlocal statements. + - Issue #16086: PyTypeObject.tp_flags and PyType_Spec.flags are now unsigned (unsigned long and unsigned int) to avoid an undefined behaviour with Py_TPFLAGS_TYPE_SUBCLASS ((1 << 31). PyType_GetFlags() result type is |