Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|/ / | |||||
* | | Issue #24619: New approach for tokenizing async/await. | Yury Selivanov | 2015-07-22 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes how one-line async-defs and defs are tracked by tokenizer. It allows to correctly parse invalid code such as: >>> async def f(): ... def g(): pass ... async = 10 and valid code such as: >>> async def f(): ... async def g(): pass ... await z As a consequence, is is now possible to have one-line 'async def foo(): await ..' functions: >>> async def foo(): return await bar() | ||||
* | | Issue #22064: Improve the misleading message from 2to3 when skipping ↵ | Berker Peksag | 2015-05-13 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | optional fixers. Patch by Vinod Kurup. | ||||
| * | Issue #22064: Improve the misleading message from 2to3 when skipping ↵ | Berker Peksag | 2015-05-13 | 1 | -1/+1 |
| | | | | | | | | | | | | optional fixers. Patch by Vinod Kurup. | ||||
* | | PEP 0492 -- Coroutines with async and await syntax. Issue #24017. | Yury Selivanov | 2015-05-12 | 4 | -8/+101 |
| | | |||||
* | | Removed unintentional trailing spaces in text files. | Serhiy Storchaka | 2015-03-29 | 1 | -1/+1 |
|/ | |||||
* | Issue #21408: The default __ne__() now returns NotImplemented if __eq__() | Serhiy Storchaka | 2015-01-26 | 1 | -10/+0 |
| | | | | returned NotImplemented. Removed incorrect implementations of __ne__(). | ||||
* | fix instances of consecutive articles (closes #23221) | Benjamin Peterson | 2015-01-13 | 1 | -1/+1 |
| | | | | Patch by Karan Goel. | ||||
* | Issue #22823: Use set literals in lib2to3. | Serhiy Storchaka | 2014-12-13 | 4 | -8/+8 |
| | |||||
* | Issue #22173: Update lib2to3 tests to use unittest test discovery. | Zachary Ware | 2014-10-29 | 5 | -19/+15 |
| | |||||
* | Issue #22186: Fix typos in Lib/. | Berker Peksag | 2014-10-19 | 1 | -1/+1 |
| | | | | Patch by Févry Thibault. | ||||
* | teach 2to3 about 'yield from' | Benjamin Peterson | 2014-04-10 | 2 | -1/+9 |
| | |||||
* | add matrix multiplication operator support to 2to3 | Benjamin Peterson | 2014-04-10 | 5 | -9/+17 |
| | |||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 2 | -0/+0 |
|\ | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts. | ||||
| * | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 2 | -0/+0 |
| | | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script. | ||||
* | | Issue #18960: Fix bugs with Python source code encoding in the second line. | Serhiy Storchaka | 2014-01-09 | 1 | -0/+3 |
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment. | ||||
| * | Issue #18960: Fix bugs with Python source code encoding in the second line. | Serhiy Storchaka | 2014-01-09 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment. | ||||
* | | #19943: merge with 3.3. | Ezio Melotti | 2013-12-10 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #19943: fix typo noticed by Jakub Wilk. | Ezio Melotti | 2013-12-10 | 1 | -1/+1 |
| | | |||||
* | | #19620: merge with 3.3. | Ezio Melotti | 2013-11-25 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #19620: Fix typo in docstring (noticed by Christopher Welborn). | Ezio Melotti | 2013-11-25 | 1 | -2/+2 |
| | | |||||
* | | #10712: 2to3 has a new "asserts" fixer that replaces deprecated names of ↵ | Ezio Melotti | 2013-11-23 | 2 | -0/+84 |
| | | | | | | | | unittest methods. | ||||
* | | Issue #19592: Use specific asserts in lib2to3 tests. | Serhiy Storchaka | 2013-11-14 | 5 | -17/+17 |
|\ \ | |/ | |||||
| * | Issue #19592: Use specific asserts in lib2to3 tests. | Serhiy Storchaka | 2013-11-14 | 5 | -17/+17 |
| | | |||||
* | | Issue #18037: Do not escape '\u' and '\U' in raw strings. | Serhiy Storchaka | 2013-10-08 | 2 | -3/+2 |
|\ \ | |/ | |||||
| * | Issue #18037: Do not escape '\u' and '\U' in raw strings. | Serhiy Storchaka | 2013-10-08 | 2 | -3/+2 |
| | | |||||
* | | Issue #18037: 2to3 now escapes '\u' and '\U' in native strings. | Serhiy Storchaka | 2013-10-03 | 2 | -7/+62 |
|\ \ | |/ |