summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_grammar.py
Commit message (Expand)AuthorAgeFilesLines
* bpo-35798: Add test.support.check_syntax_warning(). (#11895)Serhiy Storchaka2019-02-191-22/+10
* bpo-15248: Emit a compiler warning when missed a comma before tuple or list. ...Serhiy Storchaka2019-02-161-0/+87
* bpo-35814: Allow same r.h.s. in annotated assignments as in normal ones (GH-1...Ivan Levkivskyi2019-01-251-0/+9
* bpo-34850: Emit a warning for "is" and "is not" with a literal. (GH-9642)Serhiy Storchaka2019-01-181-6/+30
* bpo-35029: Replace the SyntaxWarning exception with a SyntaxError. (GH-9999)Serhiy Storchaka2018-10-211-0/+9
* Use assertEqual() instead of assertEquals(). (GH-9721)Serhiy Storchaka2018-10-051-1/+1
* bpo-32117: Allow tuple unpacking in return and yield statements (gh-4509)David Cuthbert2018-09-221-1/+10
* bpo-33305: Improve SyntaxError for invalid numerical literals. (GH-6517)Serhiy Storchaka2018-07-091-0/+24
* bpo-32489: Allow 'continue' in 'finally' clause. (GH-5822)Serhiy Storchaka2018-03-181-0/+53
* bpo-10544: Disallow "yield" in comprehensions and generator expressions. (GH-...Serhiy Storchaka2018-02-041-9/+3
* bpo-32482: Fix suspicious code in tests for syntax and grammar. (#5086)Serhiy Storchaka2018-01-041-6/+5
* bpo-32478: Add tests for 'break' and 'return' inside 'finally' clause. (#5078)Serhiy Storchaka2018-01-021-0/+74
* bpo-10544: Deprecate "yield" in comprehensions and generator expressions. (GH...Serhiy Storchaka2017-12-011-0/+35
* issue #28622: Remove redundant variable annotation test from test_grammar. Iv...Guido van Rossum2016-11-071-3/+0
* Issue #26182: Raise DeprecationWarning for improper use of async/await keywordsYury Selivanov2016-09-151-12/+0
* Issue #28076: Variable annotations should be mangled for private names.Guido van Rossum2016-09-111-2/+2
* Issue #26331: Implement the parsing part of PEP 515.Brett Cannon2016-09-091-0/+89
* Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.Yury Selivanov2016-09-091-0/+178
* Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.Serhiy Storchaka2016-06-121-1/+1
* Merge 3.5 (issue #27243)Yury Selivanov2016-06-091-1/+1
|\
| * Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-091-1/+1
* | Merge 3.5Victor Stinner2016-04-121-1/+1
|\ \ | |/
| * Issue #26647: Fix typo in test_grammarVictor Stinner2016-04-121-1/+1
* | compiler: don't emit SyntaxWarning on const stmtVictor Stinner2016-02-081-5/+1
* | compiler now ignores constant statementsVictor Stinner2016-02-081-1/+5
* | Issue #9232: Support trailing commas in function declarations.Robert Collins2015-08-111-0/+38
|/
* Issue #24791: Fix grammar regression for call syntax: 'g(*a or b)'.Yury Selivanov2015-08-051-0/+2
* Issue #23182: Merge with 3.4Zachary Ware2015-08-021-12/+12
|\
| * Issue #23182: PEP8-ify the annotation grammar tests. Patch by Ian Lee.Zachary Ware2015-08-021-12/+12
* | Issue #24687: Plug refleak on SyntaxError in function parameters annotations.Yury Selivanov2015-07-231-1/+2
* | Issue #24619: New approach for tokenizing async/await.Yury Selivanov2015-07-221-4/+1
* | allow test node after ** in calls (closes #24176)Benjamin Peterson2015-05-161-0/+1
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-0/+87
* | PEP 448: additional unpacking generalizations (closes #2292)Benjamin Peterson2015-05-061-1/+5
* | Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-5/+2
* | Merge issue #21669 from 3.4Nick Coghlan2014-06-161-0/+25
|\ \ | |/
| * Issue #21669: Special case print & exec syntax errorsNick Coghlan2014-06-161-0/+25
* | merge 3.4 (#21642)Benjamin Peterson2014-06-071-0/+6
|\ \ | |/
| * allow the keyword else immediately after (no space) an integer (closes #21642)Benjamin Peterson2014-06-071-0/+6
* | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)Benjamin Peterson2014-04-101-0/+14
|/
* use assertEqual instead of the deprecated assertEquals (closes #20877)Benjamin Peterson2014-03-101-2/+2
* Mangle __parameters in __annotations__ dict properly. Issue #20625.Yury Selivanov2014-02-181-0/+7
* Implement PEP 380 - 'yield from' (closes #11682)Nick Coghlan2012-01-131-0/+32
* #8414: merge with 3.2.Ezio Melotti2011-12-021-2/+24
|\
| * #8414: add more tests for "assert". Initial patch by Gregory Nofi.Ezio Melotti2011-12-021-2/+24
* | don't restrict unexpected EOF errors to the first line (closes #12216)Benjamin Peterson2011-05-301-0/+7
* | use better naming schemeBenjamin Peterson2011-05-301-42/+42
|/
* #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
|\
| * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
| * Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-38/+38