Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-30144: Import collections ABC from collections.abc rather than ↵ | Serhiy Storchaka | 2017-04-24 | 1 | -2/+2 | |
| | | | | collections. (#1263) | |||||
* | bpo-29869: Allow underscores in numeric literals in lib2to3. (GH-1119) | Nevada Sanchez | 2017-04-13 | 2 | -8/+30 | |
| | | | | | * Allow underscores in numeric literals in lib2to3. * Stricter literal parsing for Python 3.6 in lib2to3.pgen2.tokenize. * Add test case for underscores in literals in Python 3. | |||||
* | bpo-28837: Fix lib2to3 handling of map/zip/filter calls when followed with a ↵ | Stuart Berg | 2017-04-06 | 4 | -26/+109 | |
| | | | | 'trailer', e.g. zip()[x] (#24) | |||||
* | bpo-29762: More use "raise from None". (#569) | Serhiy Storchaka | 2017-04-05 | 3 | -4/+4 | |
| | | | This hides unwanted implementation details from tracebacks. | |||||
* | bpo-29957: change LBYL key lookup to dict.setdefault (#938) | Michael Selik | 2017-04-02 | 1 | -5/+0 | |
| | | | | | | | | | | | | | * change LBYL key lookup to dict.setdefault The ``results`` was constructed as a defaultdict and we could simply delete the check ``if key not in results``. However, I think it's safer to use dict.setdefault as I'm not sure whether the caller expects a regular dict or defaultdict. * add name to the acknowledgements file * use defaultdict to make the key-lookup cleaner | |||||
* | bpo-29919: Remove unused imports found by pyflakes (#137) | Victor Stinner | 2017-03-27 | 1 | -1/+1 | |
| | | | Make also minor PEP8 coding style fixes on modified imports. | |||||
* | bpo-29776: Use decorator syntax for properties. (#585) | Serhiy Storchaka | 2017-03-19 | 1 | -8/+8 | |
| | ||||||
* | Remove unused imports. | Serhiy Storchaka | 2016-12-16 | 2 | -2/+0 | |
| | ||||||
* | merge 3.5 | Benjamin Peterson | 2016-12-06 | 1 | -1/+0 | |
|\ | ||||||
| * | rm unused import | Benjamin Peterson | 2016-12-06 | 1 | -1/+0 | |
| | | ||||||
* | | Issue #28394: Merge typo fixes from 3.5 into 3.6 | Martin Panter | 2016-10-10 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Issue #28394: Spelling and typo fixes in code comments and changelog | Martin Panter | 2016-10-10 | 1 | -1/+1 | |
| | | | | | | | | Includes patch by Ville Skyttä. | |||||
* | | Remove the debug print that i accidentally left in. | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-09-11 | 1 | -1/+0 | |
|\ \ | |/ | ||||||
| * | Remove the debug print that i accidentally left in. | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-09-11 | 1 | -1/+0 | |
| | | ||||||
* | | Issue #25969: Update the lib2to3 grammar to handle the unpacking | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-09-10 | 6 | -6/+88 | |
|\ \ | |/ | | | | | generalizations added in 3.5. | |||||
| * | Issue #25969: Update the lib2to3 grammar to handle the unpacking | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-09-10 | 6 | -6/+88 | |
| | | | | | | | | generalizations added in 3.5. | |||||
| * | remove fix_callable - callable() was readded many releases ago. | Gregory P. Smith | 2016-09-10 | 2 | -129/+0 | |
| | | ||||||
* | | Remove 2to3's fix_callable... We reintroduced the callable built-in | Gregory P. Smith | 2016-09-10 | 2 | -129/+0 | |
| | | | | | | | | pretty early on in the 3.x series (3.1 or 3.2?). | |||||
* | | issue27985 - fix the incorrect duplicate class name in the lib2to3 | Gregory P. Smith | 2016-09-09 | 1 | -1/+1 | |
| | | | | | | | | test. call it TestVarAnnotations instead. | |||||
* | | Issue #28008: Implement PEP 530 -- asynchronous comprehensions. | Yury Selivanov | 2016-09-09 | 2 | -1/+19 | |
| | | ||||||
* | | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. | Yury Selivanov | 2016-09-09 | 2 | -2/+33 | |
| | | | | | | | | Patch by Ivan Levkivskyi. | |||||
* | | Remove legacy "from __future__ import with_statement" lines. | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-09-08 | 4 | -8/+0 | |
| | | ||||||
* | | Fix indentation (reindent.py). | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-09-08 | 1 | -4/+4 | |
|\ \ | |/ | ||||||
| * | Fix indentation (reindent.py). | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-09-08 | 1 | -4/+4 | |
| | | ||||||
* | | lib2to3.pgen3.driver.load_grammar() now creates a stable cache file | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-09-08 | 5 | -16/+112 | |
|\ \ | |/ | | | | | | | between runs given the same Grammar.txt input regardless of the hash randomization setting. | |||||
| * | lib2to3.pgen3.driver.load_grammar() now creates a stable cache file | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-09-08 | 5 | -18/+111 | |
| | | | | | | | | | | between runs given the same Grammar.txt input regardless of the hash randomization setting. | |||||
* | | Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes. | Serhiy Storchaka | 2016-06-12 | 1 | -1/+1 | |
| | | | | | | | | Patch by Demur Rumed. | |||||
* | | Issue #27030: Merge RE fix from 3.5 | Martin Panter | 2016-06-12 | 1 | -2/+3 | |
|\ \ | |/ | ||||||
| * | Fix buggy RE “\parrot_example.py”, uncovered by Issue #27030 | Martin Panter | 2016-06-12 | 1 | -2/+3 | |
| | | ||||||
* | | Issue #27076: Merge spelling from 3.5 | Martin Panter | 2016-05-26 | 3 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 3 | -3/+3 | |
| | | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | |||||
* | | Merge with 3.5 | Terry Jan Reedy | 2016-05-06 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Issue 26911: fix import (other problems remain). | Terry Jan Reedy | 2016-05-06 | 1 | -2/+2 | |
| | | ||||||
* | | Removed unused imports. | Serhiy Storchaka | 2016-04-24 | 11 | -13/+4 | |
| | | ||||||
* | | Remove more unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -2/+0 | |
| | | ||||||
* | | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 5 | -10/+2 | |
| | | ||||||
* | | Issue #23277: Remove more unused sys and os imports. | Serhiy Storchaka | 2016-04-24 | 3 | -5/+0 | |
| | | ||||||
* | | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | 2016-04-17 | 2 | -2/+2 | |
|\ \ | |/ | | | | | messages. | |||||
| * | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 2 | -2/+2 | |
| | | ||||||
* | | Issue #26581: Use the first coding cookie on a line, not the last one. | Serhiy Storchaka | 2016-03-20 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Issue #26581: Use the first coding cookie on a line, not the last one. | Serhiy Storchaka | 2016-03-20 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #25523: Merge a-to-an corrections from 3.5. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Issue #25523: Merge a-to-an corrections from 3.4. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 | |
| |\ | ||||||
| | * | Issue #25523: Further a-to-an corrections. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 | |
| | | | ||||||
* | | | Issue #25523: Merge a-to-an corrections from 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 | |
| |\ \ | | |/ | ||||||
| | * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | |||||
* | | | Merge 3.5 (Issue #24619) | Yury Selivanov | 2015-07-23 | 2 | -14/+41 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #24619: Simplify async/await tokenization. | Yury Selivanov | 2015-07-23 | 2 | -14/+41 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit simplifies async/await tokenization in tokenizer.c, tokenize.py & lib2to3/tokenize.py. Previous solution was to keep a stack of async-def & def blocks, whereas the new approach is just to remember position of the outermost async-def block. This change won't bring any parsing performance improvements, but it makes the code much easier to read and validate. | |||||
* | | | Issue #13938: 2to3 converts StringTypes to a tuple. Patch from Mark Hammond. | Robert Collins | 2015-07-22 | 2 | -1/+5 | |
|/ / |