Miss Islington (bot)
9ecbe3321f
Revert "closes bpo-27494: Fix 2to3 handling of trailing comma after a generator expression (GH-3771)" (GH-8241)
...
This reverts commit af810b35b4 .
This is not valid syntax (see bpo-32012).
(cherry picked from commit 4b8a7f51da )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com >
2018-07-30 23:52:49 -07:00
Miss Islington (bot)
05a72f15f7
bpo-21446: Update reload fixer to use importlib (GH-8391)
...
(cherry picked from commit 7a3056fa7d )
Co-authored-by: Berker Peksag <berker.peksag@gmail.com >
2018-07-23 11:11:22 +03:00
Dong-hee Na
a489599793
bpo-32046: Update 2to3 when converts operator.isCallable(obj). ( #4417 )
2017-11-28 11:26:56 -05:00
Serhiy Storchaka
0a2abdfca2
bpo-30143: 2to3 now generates a code that uses abstract collection classes ( #1262 )
...
from collections.abc rather than collections.
2017-11-16 09:16:24 +02:00
Jakub Stasiak
af810b35b4
closes bpo-27494: Fix 2to3 handling of trailing comma after a generator expression ( #3771 )
2017-10-05 00:10:09 -07:00
Serhiy Storchaka
2e576f5aec
bpo-30144: Import collections ABC from collections.abc rather than collections. ( #1263 )
2017-04-24 09:05:00 +03:00
Stuart Berg
93b4b47e3a
bpo-28837: Fix lib2to3 handling of map/zip/filter calls when followed with a 'trailer', e.g. zip()[x] ( #24 )
2017-04-05 22:19:40 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
fc3f7d5677
Remove the debug print that i accidentally left in.
2016-09-10 20:39:50 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
3a95f45a38
Remove the debug print that i accidentally left in.
2016-09-10 20:39:36 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
28325749c0
Issue #25969 : Update the lib2to3 grammar to handle the unpacking
...
generalizations added in 3.5.
2016-09-09 18:18:52 -07:00
Gregory P. Smith
dbdf029a55
remove fix_callable - callable() was readded many releases ago.
2016-09-09 18:14:33 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
3b822d6c89
Issue #25969 : Update the lib2to3 grammar to handle the unpacking
...
generalizations added in 3.5.
2016-09-09 18:19:51 -07:00
Gregory P. Smith
223f12c9eb
Remove 2to3's fix_callable... We reintroduced the callable built-in
...
pretty early on in the 3.x series (3.1 or 3.2?).
2016-09-09 17:03:58 -07:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Serhiy Storchaka
ccd047ea4b
Removed unused imports.
2016-04-25 00:12:32 +03:00
Serhiy Storchaka
4a7c03aab4
Issue #25523 : Merge a-to-an corrections from 3.5.
2015-11-02 14:44:29 +02:00
Serhiy Storchaka
d65c9496da
Issue #25523 : Further a-to-an corrections.
2015-11-02 14:10:23 +02:00
Martin Panter
e56a919100
Issue #25523 : Merge a-to-an corrections from 3.5
2015-11-02 04:27:17 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
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.
2015-11-02 03:37:02 +00:00
Robert Collins
d4f4a6dddb
Issue #13938 : 2to3 converts StringTypes to a tuple. Patch from Mark Hammond.
2015-07-23 06:19:18 +12:00
Benjamin Peterson
82f34ada45
fix instances of consecutive articles ( closes #23221 )
...
Patch by Karan Goel.
2015-01-13 09:17:24 -05:00
Serhiy Storchaka
db9b65d9e5
Issue #22823 : Use set literals in lib2to3.
2014-12-13 21:50:49 +02:00
Ezio Melotti
20719ace97
#19943 : merge with 3.3.
2013-12-10 14:06:18 +02:00
Ezio Melotti
d082b68786
#19943 : fix typo noticed by Jakub Wilk.
2013-12-10 14:05:46 +02:00