Guido van Rossum
7ca671532c
Issue #28556 : updates to typing.py (add Coroutine, prohibit Generic[T]()) (3.6->3.7)
2016-10-29 16:05:28 -07:00
Guido van Rossum
fd274c47aa
Issue #28556 : updates to typing.py (fix copy, deepcopy, pickle) (3.6->3.7)
2016-10-29 12:44:31 -07:00
Guido van Rossum
d920d05381
Issue #28556 : updates to typing.py (3.6->3.7)
2016-10-29 08:54:58 -07:00
Steve Dower
842a146672
Merge from 3.6
2016-10-29 08:50:42 -07:00
Yury Selivanov
29d3cbfe97
Merge 3.6 (issue #28544 )
2016-10-28 12:53:29 -04:00
Yury Selivanov
a0c1ba608e
Issue #28544 : Implement asyncio.Task in C.
...
This implementation provides additional 10-20% speed boost for
asyncio programs.
The patch also fixes _asynciomodule.c to use Arguments Clinic, and
makes '_schedule_callbacks' an overridable method (as it was in 3.5).
2016-10-28 12:52:37 -04:00
Serhiy Storchaka
5d8f0a1ca9
Issue #28353 : Make test_os.WalkTests.test_walk_bad_dir stable.
2016-10-28 09:19:19 +03:00
Serhiy Storchaka
b6bd81dee9
Issue #28353 : Make test_os.WalkTests.test_walk_bad_dir stable.
2016-10-28 09:18:30 +03:00
Serhiy Storchaka
7865dfff2e
Issue #28353 : Make test_os.WalkTests.test_walk_bad_dir stable.
2016-10-28 09:17:38 +03:00
Steve Dower
06ba3d34b4
Issue #28522 : Fixes mishandled buffer reallocation in getpathp.c
2016-10-27 14:29:13 -07:00
Steve Dower
c6dd415252
Issue #28522 : Fixes mishandled buffer reallocation in getpathp.c
2016-10-27 14:28:07 -07:00
Serhiy Storchaka
36888dd970
Issue #28353 : Fixed tests of os.fwalk() with broken links.
2016-10-25 20:18:31 +03:00
Serhiy Storchaka
11e9a16548
Issue #28353 : Try to fix tests.
2016-10-25 19:03:27 +03:00
Serhiy Storchaka
28f982060c
Issue #28353 : Try to fix tests.
2016-10-25 19:01:41 +03:00
Serhiy Storchaka
b3e5812300
Issue #27275 : Fixed implementation of pop() and popitem() methods in
...
subclasses of accelerated OrderedDict.
2016-10-25 15:38:28 +03:00
Serhiy Storchaka
1faf9025b5
Issue #27275 : Fixed implementation of pop() and popitem() methods in
...
subclasses of accelerated OrderedDict.
2016-10-25 15:36:56 +03:00
Serhiy Storchaka
4832580596
Issue #27275 : Fixed implementation of pop() and popitem() methods in
...
subclasses of accelerated OrderedDict.
2016-10-25 15:33:23 +03:00
Serhiy Storchaka
0595ed21ba
Issue #28255 : calendar.TextCalendar.prweek() no longer prints a space after
...
a weeks's calendar. calendar.TextCalendar.pryear() no longer prints redundant
newline after a year's calendar. Based on patch by Xiang Zhang.
2016-10-25 15:20:58 +03:00
Serhiy Storchaka
78d84d8326
Issue #28255 : calendar.TextCalendar().prmonth() no longer prints a space
...
at the start of new line after printing a month's calendar. Patch by
Xiang Zhang.
2016-10-25 15:03:59 +03:00
Serhiy Storchaka
ecb90182f5
Issue #28255 : calendar.TextCalendar().prmonth() no longer prints a space
...
at the start of new line after printing a month's calendar. Patch by
Xiang Zhang.
2016-10-25 15:02:36 +03:00
Serhiy Storchaka
7ff51bd2b8
Issue #28255 : calendar.TextCalendar().prmonth() no longer prints a space
...
at the start of new line after printing a month's calendar. Patch by
Xiang Zhang.
2016-10-25 15:00:52 +03:00
Serhiy Storchaka
da223e5cef
Issue #20491 : The textwrap.TextWrapper class now honors non-breaking spaces.
...
Based on patch by Kaarle Ritvanen.
2016-10-25 14:47:53 +03:00
Serhiy Storchaka
a6eba11f86
Issue #20491 : The textwrap.TextWrapper class now honors non-breaking spaces.
...
Based on patch by Kaarle Ritvanen.
2016-10-25 14:46:44 +03:00
Serhiy Storchaka
f3ebc9fe3f
Issue #20491 : The textwrap.TextWrapper class now honors non-breaking spaces.
...
Based on patch by Kaarle Ritvanen.
2016-10-25 14:44:54 +03:00
Serhiy Storchaka
f06f82d66b
Issue #28353 : os.fwalk() no longer fails on broken links.
2016-10-25 14:35:18 +03:00
Serhiy Storchaka
af4e4747f5
Issue #28353 : os.fwalk() no longer fails on broken links.
2016-10-25 14:34:38 +03:00
Serhiy Storchaka
42bababba6
Issue #28353 : os.fwalk() no longer fails on broken links.
2016-10-25 14:28:38 +03:00
Serhiy Storchaka
8416196197
Issue #28314 : Added tests for xml.etree.ElementTree.Element.getiterator().
2016-10-25 10:38:07 +03:00
Serhiy Storchaka
c3adf1e09b
Issue #28314 : Added tests for xml.etree.ElementTree.Element.getiterator().
2016-10-25 10:37:55 +03:00
Serhiy Storchaka
036fb15435
Issue #28314 : Added tests for xml.etree.ElementTree.Element.getiterator().
2016-10-25 10:37:01 +03:00
Yury Selivanov
b42e8d2c1f
Merge 3.6 (asyncio)
2016-10-23 22:35:29 -04:00
Yury Selivanov
01c521ba7a
asyncio: Increase asyncio.Future test coverage; test both implementations.
...
Also, add 'isfuture' to 'asyncio.futures.__all__', so that it's
exposed as 'asyncio.isfuture'.
2016-10-23 22:34:35 -04:00
Serhiy Storchaka
eb569e4775
Issue #28115 : ZIP creation test requires zlib.
2016-10-23 22:33:12 +03:00
Serhiy Storchaka
8985031476
Issue #28115 : ZIP creation test requires zlib.
2016-10-23 22:32:48 +03:00
Serhiy Storchaka
b4293efd93
Issue #28115 : ZIP creation test requires zlib.
2016-10-23 22:32:30 +03:00
Serhiy Storchaka
39891fff32
Issue #28488 : shutil.make_archive() no longer adds entry "./" to ZIP archive.
2016-10-23 15:58:10 +03:00
Serhiy Storchaka
7fc92bb38a
Issue #28488 : shutil.make_archive() no longer adds entry "./" to ZIP archive.
2016-10-23 15:57:42 +03:00
Serhiy Storchaka
666de77727
Issue #28488 : shutil.make_archive() no longer adds entry "./" to ZIP archive.
2016-10-23 15:55:09 +03:00
Serhiy Storchaka
d3ff784f2d
Issue #28469 : timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead
...
of 1, 10, 100,... for autoranging.
2016-10-23 15:17:05 +03:00
Serhiy Storchaka
8c9331057d
Issue #28115 : Command-line interface of the zipfile module now uses argparse.
...
Added support of long options.
2016-10-23 13:32:12 +03:00
Serhiy Storchaka
e4bdf4fce5
Issue #28115 : Added tests for CLI of the zipfile module.
2016-10-23 13:14:27 +03:00
Serhiy Storchaka
89ecb4ac10
Issue #28115 : Added tests for CLI of the zipfile module.
2016-10-23 13:12:39 +03:00
Serhiy Storchaka
61c4c44b2a
Issue #28115 : Added tests for CLI of the zipfile module.
2016-10-23 13:07:59 +03:00
Serhiy Storchaka
ee8337a99d
Issue #25953 : re.sub() now raises an error for invalid numerical group
...
reference in replacement template even if the pattern is not found in
the string. Error message for invalid group reference now includes the
group index and the position of the reference.
Based on patch by SilentGhost.
2016-10-23 12:12:05 +03:00
Serhiy Storchaka
662cef66d7
Issue #25953 : re.sub() now raises an error for invalid numerical group
...
reference in replacement template even if the pattern is not found in
the string. Error message for invalid group reference now includes the
group index and the position of the reference.
Based on patch by SilentGhost.
2016-10-23 12:11:19 +03:00
Guido van Rossum
f25bf43d16
Issue #27989 : Tweak inspect.formatannotation() to improve pydoc rendering of function annotations. Ivan L. (3.6->3.7)
2016-10-22 07:57:24 -07:00
Guido van Rossum
265dce6cbb
Issue #27989 : Tweak inspect.formatannotation() to improve pydoc rendering of function annotations. Ivan L. (3.5->3.6)
2016-10-22 07:56:58 -07:00
Guido van Rossum
52e5004b59
Issue #27989 : Tweak inspect.formatannotation() to improve pydoc rendering of function annotations. Ivan L.
2016-10-22 07:55:18 -07:00
Martin Panter
f1f9b633ac
Issue #28435 : Merge urllib test fixes from 3.6
2016-10-22 03:21:55 +00:00
Martin Panter
85e81cfe9b
Issue #28435 : Merge urllib test fixes from 3.5 into 3.6
2016-10-22 03:21:36 +00:00