diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-06-07 19:36:39 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-06-07 19:36:39 (GMT) |
commit | c41616230211822e838634b84b445f8a124add08 (patch) | |
tree | e6b7fdd58675a3e0e5957dea0ad159168c5371db /Misc/NEWS | |
parent | 024b2f52bf76358eea62f0206ea32c1ca518fde3 (diff) | |
download | cpython-c41616230211822e838634b84b445f8a124add08.zip cpython-c41616230211822e838634b84b445f8a124add08.tar.gz cpython-c41616230211822e838634b84b445f8a124add08.tar.bz2 |
allow the keyword else immediately after (no space) an integer (closes #21642)
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,10 @@ Release date: XXXX-XX-XX Core and Builtins ----------------- +- Issue #21642: If the conditional if-else expression, allow an integer written + with no space between itself and the ``else`` keyword (e.g. ``True if 42else + False``) to be valid syntax. + - Issue #21523: Fix over-pessimistic computation of the stack effect of some opcodes in the compiler. This also fixes a quadratic compilation time issue noticeable when compiling code with a large number of "and" |