Ned Deily
19df707b37
Update pydoc topics for 3.6.0b4
2016-11-21 23:24:38 -05:00
Raymond Hettinger
9af740b99a
merge
2016-11-21 17:24:58 -08:00
Raymond Hettinger
a3fec1543d
Issue #27100 : With statement reports missing __enter__ before __exit__. (Contributed by Jonathan Ellington.)
2016-11-21 17:24:23 -08:00
Raymond Hettinger
21fb9f1761
merge
2016-11-21 16:59:30 -08:00
Raymond Hettinger
4e17e04237
Issue #26163 : Disable periodically failing test which was overly demanding of the frozenset hash function effectiveness
2016-11-21 16:59:04 -08:00
Raymond Hettinger
fc3f50cac9
merge
2016-11-21 16:48:25 -08:00
Raymond Hettinger
6b3481c4ed
Issue #5830 : Add test for ee476248a74a. (Contributed by Serhiy Storchaka.)
2016-11-21 16:48:10 -08:00
Raymond Hettinger
e205f8b29e
merge
2016-11-21 15:32:26 -08:00
Raymond Hettinger
6023d33433
Issue #28743 : Reduce memory consumption for random module tests
2016-11-21 15:32:08 -08:00
Yury Selivanov
4878d001b1
Merge 3.6 (issue #28652 )
2016-11-21 17:47:54 -05:00
Yury Selivanov
5cb0c09fa6
Merge 3.5 (issue #28652 )
2016-11-21 17:47:41 -05:00
Yury Selivanov
dab0584738
Issue #28652 : Partially rollback previous changes
...
Allow AF_UNIX in create_server & create_connection
2016-11-21 17:47:27 -05:00
Raymond Hettinger
6088cfcfd4
merge
2016-11-21 14:34:51 -08:00
Raymond Hettinger
bf87126a63
Issue 28475: Improve error message for random.sample() with k < 0. (Contributed by Francisco Couzo).
2016-11-21 14:34:33 -08:00
Serhiy Storchaka
e425bd95e9
Issue #28752 : Restored the __reduce__() methods of datetime objects.
2016-11-22 00:30:32 +02:00
Serhiy Storchaka
546ce65968
Issue #28752 : Restored the __reduce__() methods of datetime objects.
2016-11-22 00:29:42 +02:00
Ethan Furman
6be8b1ea99
close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.
2016-11-21 09:22:40 -08:00
Ethan Furman
23bb6f48ea
close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.
2016-11-21 09:22:05 -08:00
Victor Stinner
6c7fb55d44
Issue #28688 : Remove warnings.filters check from regrtest
...
Reloading the warnings module duplicates filters in warnings.filters. Fixing
the issue is tricky. It was decided to simply remove the check from Python 3.5,
since the bug only impacts Python unit tests, not real applications.
The check is kept in Python 3.6 and newer.
2016-11-21 16:44:01 +01:00
Victor Stinner
065507f03a
Merge 3.6
2016-11-21 16:39:01 +01:00
Victor Stinner
b44fb128ae
Implement rich comparison for _sre.SRE_Pattern
...
Issue #28727 : Regular expression patterns, _sre.SRE_Pattern objects created by
re.compile(), become comparable (only x==y and x!=y operators). This change
should fix the issue #18383 : don't duplicate warning filters when the warnings
module is reloaded (thing usually only done in unit tests).
2016-11-21 16:35:08 +01:00
INADA Naoki
7fc69f2373
Issue #28532 : Show sys.version when -V option is supplied twice
2016-11-21 20:58:10 +09:00
INADA Naoki
0e175a6e76
Issue #28532 : Show sys.version when -V option is supplied twice
2016-11-21 20:57:14 +09:00
Guido van Rossum
6496daf860
Issue #28556 : upstream improvements to docstrings and error messages by Ivan Levkivskyi ( #331 ) (3.6->3.7)
2016-11-20 18:01:37 -08:00
Guido van Rossum
ceccc85620
Issue #28556 : upstream improvements to docstrings and error messages by Ivan Levkivskyi ( #331 ) (3.5->3.6)
2016-11-20 18:01:33 -08:00
Guido van Rossum
b24569a19d
Issue #28556 : upstream improvements to docstrings and error messages by Ivan Levkivskyi ( #331 )
2016-11-20 18:01:29 -08:00
Gregory P. Smith
82604e03dc
Issue #20572 : Remove the subprocess.Popen.wait endtime parameter.
...
It was deprecated in 3.4 and undocumented prior to that.
2016-11-20 16:31:07 -08:00
Gregory P. Smith
f0e98c510d
Issue #20572 : The subprocess.Popen.wait method's undocumented endtime
...
parameter now raises a DeprecationWarning. It was deprecated in 3.4.
It was never documented prior to that.
2016-11-20 16:25:14 -08:00
Martin Panter
7d6e9232b1
Issue #25659 : Merge ctypes fix from 3.6
2016-11-20 22:17:44 +00:00
Martin Panter
04b35753f7
Issue #25659 : Merge ctypes fix from 3.5
2016-11-20 22:07:29 +00:00
Serhiy Storchaka
9f64de8ba4
Issue #28666 : Fix removing readonly directories on Windows.
2016-11-20 20:36:51 +02:00
Serhiy Storchaka
09285e019d
Issue #28666 : Try to fix removing readonly directories on Windows.
2016-11-20 20:04:54 +02:00
Serhiy Storchaka
bbfe6c3986
Issue #28666 : Fix removing readonly directories on Windows.
2016-11-20 20:04:54 +02:00
Serhiy Storchaka
8551495ad1
Issue #28666 : Now test.support.rmtree is able to remove unwritable or
...
unreadable directories on Windows too.
2016-11-20 17:43:09 +02:00
Serhiy Storchaka
ba7eb8da09
Issue #28666 : Now test.support.rmtree is able to remove unwritable or
...
unreadable directories on Windows too.
2016-11-20 17:42:58 +02:00
Serhiy Storchaka
2ccb98800a
Issue #28666 : Now test.support.rmtree is able to remove unwritable or
...
unreadable directories on Windows too.
2016-11-20 17:42:32 +02:00
Serhiy Storchaka
c34a590092
Issue #28666 : Now test.support.rmtree is able to remove unwritable or
...
unreadable directories.
2016-11-20 16:20:20 +02:00
Serhiy Storchaka
0e7dbe901c
Issue #28666 : Now test.support.rmtree is able to remove unwritable or
...
unreadable directories.
2016-11-20 16:19:20 +02:00
Serhiy Storchaka
6770f8a487
Issue #28666 : Now test.support.rmtree is able to remove unwritable or
...
unreadable directories.
2016-11-20 16:16:06 +02:00
Martin Panter
6e723d2d11
Issue #25659 : Change assert to TypeError in from_buffer/_copy()
...
Based on suggestion by Eryk Sun.
2016-11-20 07:58:35 +00:00
Steve Dower
17c27d7c7d
Merge from 3.6
2016-11-19 21:14:37 -08:00
Steve Dower
bb08db4010
Fixes empty tuple case.
2016-11-19 21:14:27 -08:00
Steve Dower
b8f4c7a779
Issue #28732 : Adds new errors to spawnv emulation for platforms that only have fork and execv
2016-11-19 20:12:08 -08:00
Steve Dower
eccaa0679d
Issue #28732 : Adds new errors to spawnv emulation for platforms that only have fork and execv
2016-11-19 20:11:56 -08:00
Steve Dower
83aeb3cc80
Issue #28732 : Raise ValueError when argv[0] is empty
2016-11-19 19:17:46 -08:00
Steve Dower
bce26262d1
Issue #28732 : Raise ValueError when argv[0] is empty
2016-11-19 19:17:26 -08:00
Steve Dower
6f33e294e5
Issue #28732 : Raise ValueError when os.spawn*() is passed an empty tuple of arguments
2016-11-19 18:53:36 -08:00
Steve Dower
859fd7bd7a
Issue #28732 : Raise ValueError when os.spawn*() is passed an empty tuple of arguments
2016-11-19 18:53:19 -08:00
Guido van Rossum
6e3f34b6b6
Issue #28556 : two more small upstream changes by Ivan Levkivskyi ( #329 , #330 ) (3.6->3.7)
2016-11-19 10:32:44 -08:00
Guido van Rossum
43891e0a53
Issue #28556 : two more small upstream changes by Ivan Levkivskyi ( #329 , #330 ) (3.5->3.6)
2016-11-19 10:32:43 -08:00
Guido van Rossum
ca4b252fba
Issue #28556 : two more small upstream changes by Ivan Levkivskyi ( #329 , #330 )
2016-11-19 10:32:41 -08:00
Martin Panter
e82338ddab
Issue #28548 : Parse HTTP request version even if too many words received
2016-11-19 01:06:37 +00:00
Xavier de Gaye
ac05f88582
Issue #26926 : Merge 3.6
2016-11-17 09:22:43 +01:00
Xavier de Gaye
877f036950
Issue #26926 : Skip some test_io tests on platforms without large file support
2016-11-17 09:20:28 +01:00
Xavier de Gaye
56758354c8
Issue 26931: Merge 3.6
2016-11-17 09:01:58 +01:00
Xavier de Gaye
dfc13e069a
Issue 26931: Skip the test_distutils tests using a compiler executable
...
that is not found
2016-11-17 09:00:19 +01:00
Yury Selivanov
6592dbd2a8
Merge 3.6 (issue #28720 )
2016-11-16 18:25:48 -05:00
Yury Selivanov
22214ab0af
Issue #28720 : Add collections.abc.AsyncGenerator.
2016-11-16 18:25:04 -05:00
Yury Selivanov
bb2356500c
Merge 3.6 (issue #28721 )
2016-11-16 18:16:32 -05:00
Yury Selivanov
41782e4970
Issue #28721 : Fix asynchronous generators aclose() and athrow()
2016-11-16 18:16:17 -05:00
Xavier de Gaye
1e2784e0b3
Issue #26935 : Merge 3.6
2016-11-16 08:06:12 +01:00
Xavier de Gaye
21060105d9
Issue #26935 : Fix broken Android dup2() in test_os
2016-11-16 08:05:27 +01:00
Donald Stufft
a97872a1fe
Merge - upgrade pip/setuptools
2016-11-15 21:18:54 -05:00
Donald Stufft
756b45ab6e
Merge - upgrade pip/setuptools
2016-11-15 21:18:40 -05:00
Donald Stufft
5ebff7b300
Merge - upgrade pip/setuptools
2016-11-15 21:18:20 -05:00
Donald Stufft
dd5c73b4f2
Upgrade pip to 9.0.1 and setuptools to 28.8.0
2016-11-15 21:17:43 -05:00
Yury Selivanov
22131a3e19
Merge 3.6 (issue #28704 )
2016-11-15 15:27:48 -05:00
Yury Selivanov
21bb0e6f55
Merge 3.5 (issue #28704 )
2016-11-15 15:27:23 -05:00
Yury Selivanov
d7c151871e
Issue #28704 : Fix create_unix_server to support Path-like objects
2016-11-15 15:26:34 -05:00
Yury Selivanov
adceaa64ee
Merge 3.6 (issue #28703 )
2016-11-15 15:21:34 -05:00
Yury Selivanov
27182bb232
Merge 3.5 (issue #28703 )
2016-11-15 15:21:07 -05:00
Yury Selivanov
0ed20cdfb7
Issue #28703 : Fix asyncio.iscoroutinefunction to handle Mock objects.
2016-11-15 15:20:34 -05:00
Guido van Rossum
dbd5b6b730
Issue #28556 : Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321 ) (3.6->3.7)
2016-11-15 09:48:12 -08:00
Guido van Rossum
63859aea9b
Issue #28556 : Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321 ) (3.5->3.6)
2016-11-15 09:48:09 -08:00
Guido van Rossum
2f84144235
Issue #28556 : Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321 )
2016-11-15 09:48:06 -08:00
Xavier de Gaye
e385cd16eb
Issue #26929 : Merge 3.6
2016-11-15 17:25:54 +01:00
Xavier de Gaye
43cf2efafc
Issue #26929 : Skip some test_strptime tests failing on Android that
...
incorrectly formats %V or %G for the last or the first
incomplete week in a year
2016-11-15 17:24:42 +01:00
Xavier de Gaye
f1190c493d
Issue 28668: Merge 3.6
2016-11-15 17:04:53 +01:00
Xavier de Gaye
d178e69ad8
Issue 28668: Merge 3.5
2016-11-15 17:03:12 +01:00
Xavier de Gaye
49e8f2d204
Issue 28668: Skip tests where instanciation of multiprocessing.Queue
...
would raise ImportError
2016-11-15 16:57:52 +01:00
Victor Stinner
d5f599a392
Merge 3.6
2016-11-15 09:12:36 +01:00
Victor Stinner
f9cca365c7
Fix warn_invalid_escape_sequence()
...
Issue #28691 : Fix warn_invalid_escape_sequence(): handle correctly
DeprecationWarning raised as an exception. First clear the current exception to
replace the DeprecationWarning exception with a SyntaxError exception.
Unit test written by Serhiy Storchaka.
2016-11-15 09:12:10 +01:00
Serhiy Storchaka
d0d245cd7f
Issue #28563 : Make plural form selection more lenient and accepting
...
non-integer numbers. Django tests depend on this.
2016-11-14 19:31:04 +02:00
Serhiy Storchaka
39d2dfef44
Issue #28563 : Make plural form selection more lenient and accepting
...
non-integer numbers. Django tests depend on this.
2016-11-14 19:30:36 +02:00
Serhiy Storchaka
5ae6c776a8
Issue #28563 : Make plural form selection more lenient and accepting
...
non-integer numbers. Django tests depend on this.
2016-11-14 19:29:59 +02:00
Serhiy Storchaka
5ca92ab3d2
Issue #28563 : Make plural form selection more lenient and accepting
...
non-integer numbers. Django tests depend on this.
2016-11-14 19:25:56 +02:00
Serhiy Storchaka
60ac989d6f
Issue #28563 : Make plural form selection more lenient and accepting
...
non-integer numbers. Django tests depend on this.
2016-11-14 19:22:12 +02:00
Xavier de Gaye
bdc33e1dae
Issue #28662 : Merge 3.6
2016-11-14 17:15:45 +01:00
Xavier de Gaye
38c8b7d292
Issue #28662 : Catch PermissionError in tests when spawning a non existent program
2016-11-14 17:14:42 +01:00
Victor Stinner
d62ecf51ef
Merge 3.6
2016-11-14 12:39:05 +01:00
Victor Stinner
8bf43e6d0b
Issue #28082 : Add basic unit tests on re enums
2016-11-14 12:38:43 +01:00
Victor Stinner
fb6a6596b5
Issue #28637 : Reapply changeset 223731925d06
...
"issue28082: use IntFlag for re constants" by Ethan Furman.
The re module is not more used in the site module and so adding "import enum"
to re.py doesn't impact python_startup benchmark anymore.
2016-11-14 12:35:55 +01:00
Benjamin Peterson
2294f83c7c
merge 3.6
2016-11-14 00:15:52 -08:00
Benjamin Peterson
996fc1fcfc
correctly emulate error semantics of gen.throw in FutureIter_throw
2016-11-14 00:15:44 -08:00
Martin Panter
5e17ad9716
Merge AIX fixes from 3.6
2016-11-14 05:04:36 +00:00
Martin Panter
f8cebad290
Merge AIX fixes from 3.5 into 3.6
2016-11-14 05:04:12 +00:00
Martin Panter
9544a365bd
Issue #28016 : Skip /dev/tty seekable() test on AIX
2016-11-14 01:58:57 +00:00
Xavier de Gaye
f59d568e47
Issue #26934 : Merge 3.6
2016-11-13 21:56:59 +01:00
Xavier de Gaye
95aa56a6fb
Issue #26934 : Handle _ANDROID_API_LEVEL is None on Windows
2016-11-13 21:55:52 +01:00
Xavier de Gaye
524eac0f14
Issue #26934 : Fix test_faulthandler on Android where raise() exits with 0,
...
with a cosmetic change to add a commit message with the issue number,
missing from the previous two commits.
2016-11-13 21:14:03 +01:00
Xavier de Gaye
c4bd0fe2e3
Merge 3.6
2016-11-13 20:47:39 +01:00
Xavier de Gaye
6c5f21945a
Fix test_faulthandler on Android where raise() exits with 0
2016-11-13 20:46:46 +01:00
Xavier de Gaye
daa9e239f0
Merge 3.6
2016-11-13 19:42:09 +01:00
Xavier de Gaye
f056b04eea
Merge 3.5
2016-11-13 19:41:07 +01:00
Xavier de Gaye
547c1b9ace
Fix temporary file not deleted in test_socket
2016-11-13 19:39:48 +01:00
Raymond Hettinger
77f6411d96
merge
2016-11-13 00:44:24 -05:00
Raymond Hettinger
24e4239434
Fix typos
2016-11-13 00:42:56 -05:00
Serhiy Storchaka
a8f2f5ab0d
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:48:50 +02:00
Serhiy Storchaka
58d3e54556
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:48:33 +02:00
Serhiy Storchaka
022371ff94
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:47:16 +02:00
Serhiy Storchaka
49bcce977d
Issue #28664 : test_bz2 now works on non-Windows platforms without bunzip2
...
(e.g. on Android).
2016-11-11 17:11:48 +02:00
Serhiy Storchaka
e0e9d5f312
Issue #28664 : test_bz2 now works on non-Windows platforms without bunzip2
...
(e.g. on Android).
2016-11-11 17:11:33 +02:00
Serhiy Storchaka
5adc22b330
Issue #28664 : test_bz2 now works on non-Windows platforms without bunzip2
...
(e.g. on Android).
2016-11-11 17:10:24 +02:00
Serhiy Storchaka
ac40c6c575
Issue #19398 : Extra slash no longer added to sys.path components in case of
...
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
2016-11-11 12:07:48 +02:00
Serhiy Storchaka
a27c064428
Issue #19398 : Extra slash no longer added to sys.path components in case of
...
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
2016-11-11 12:06:38 +02:00
Serhiy Storchaka
62e32d6352
Issue #19398 : Extra slash no longer added to sys.path components in case of
...
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
2016-11-11 12:05:01 +02:00
Serhiy Storchaka
684cadaef9
Issue #23839 : Various caches now are cleared before running every test file.
2016-11-11 11:48:22 +02:00
Serhiy Storchaka
839102603c
Issue #23839 : Various caches now are cleared before running every test file.
2016-11-11 11:46:44 +02:00
Serhiy Storchaka
daeddc48a4
Issue #23839 : Various caches now are cleared before running every test file.
2016-11-11 11:42:47 +02:00
Guido van Rossum
11ca7b5b8f
Issue #28649 : fix second issue with _ForwardRef ( #328 ) (3.6->3.7)
2016-11-10 08:29:20 -08:00
Guido van Rossum
0d1acfdf18
Issue #28649 : fix second issue with _ForwardRef ( #328 ) (3.5->3.6)
2016-11-10 08:29:19 -08:00
Guido van Rossum
dad179075a
Issue #28649 : fix second issue with _ForwardRef ( #328 )
2016-11-10 08:29:18 -08:00
Guido van Rossum
f3abcf6a31
Issue #28649 : fix first issue with _ForwardRef ( #327 ) (3.6->3.7)
2016-11-10 08:27:50 -08:00
Guido van Rossum
fc293ddf92
Issue #28649 : fix first issue with _ForwardRef ( #327 ) (3.5->3.6)
2016-11-10 08:26:19 -08:00
Guido van Rossum
c7b92950c9
Issue #28649 : fix first issue with _ForwardRef ( #327 )
2016-11-10 08:24:06 -08:00
Yury Selivanov
3e05a9c2b0
Merge 3.6 (issue #28653 )
2016-11-09 18:57:00 -05:00
Yury Selivanov
0a66a1cdd6
Merge 3.6 (issue #28653 )
2016-11-09 18:56:26 -05:00
Yury Selivanov
46a02db90b
Issue #28653 : Fix a refleak in functools.lru_cache.
2016-11-09 18:55:45 -05:00
Serhiy Storchaka
1f9449589e
Issue #28649 : Clear the typing module caches when search for reference leaks.
2016-11-09 23:52:40 +02:00
Serhiy Storchaka
04c954d275
Issue #28649 : Clear the typing module caches when search for reference leaks.
2016-11-09 23:51:54 +02:00
Serhiy Storchaka
28f42fd4f8
Issue #28649 : Clear the typing module caches when search for reference leaks.
2016-11-09 23:49:02 +02:00
Guido van Rossum
ea446e2f2a
Issue #28649 : typing-clear-caches.patch (3.6->3.7)
2016-11-09 13:23:06 -08:00
Guido van Rossum
5486a88427
Issue #28649 : typing-clear-caches.patch (3.5->3.6)
2016-11-09 13:23:05 -08:00
Guido van Rossum
9b10756019
Issue #28649 : typing-clear-caches.patch
2016-11-09 13:23:04 -08:00
Guido van Rossum
45b09cacde
Issue #28649 : fix-typing-test-v2.diff (3.6->3.7)
2016-11-09 13:19:01 -08:00
Guido van Rossum
83be424700
Issue #28649 : fix-typing-test-v2.diff (3.5->3.6)
2016-11-09 13:19:00 -08:00
Guido van Rossum
f9099de894
Issue #28649 : fix-typing-test-v2.diff
2016-11-09 13:18:59 -08:00
Guido van Rossum
a50c79f36f
Issue #28556 : More typing.py updates from upstream. (3.6->3.7)
2016-11-09 13:12:56 -08:00
Guido van Rossum
b75f48580f
Issue #28556 : More typing.py updates from upstream. (3.5->3.6)
2016-11-09 13:12:53 -08:00
Guido van Rossum
991d14fee1
Issue #28556 : More typing.py updates from upstream.
2016-11-09 13:12:51 -08:00
Steve Dower
bb132fc34e
Issue #19717 : Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok)
2016-11-09 12:58:31 -08:00
Steve Dower
98eb360531
Issue #19717 : Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok)
2016-11-09 12:58:17 -08:00
Yury Selivanov
02f252f3af
Merge 3.6 (issue #28652 )
2016-11-09 15:48:22 -05:00
Yury Selivanov
954c7dd0cc
Merge 3.5 (issue #28652 )
2016-11-09 15:47:47 -05:00
Yury Selivanov
a1a8b7d3d7
Issue #28652 : Make loop methods reject socket kinds they do not support.
2016-11-09 15:47:00 -05:00
Yury Selivanov
6cb819c171
Merge 3.6 (issue #28639 )
2016-11-08 19:59:57 -05:00
Yury Selivanov
d8aa0c6eec
Merge 3.5 (issue #28639 )
2016-11-08 19:59:29 -05:00
Yury Selivanov
c0215dfbc1
Issue #28639 : Fix inspect.isawaitable to always return bool
...
Patch by Justin Mayfield.
2016-11-08 19:57:44 -05:00
Yury Selivanov
bb5e522d45
Merge 3.6 (asyncio)
2016-11-08 19:16:37 -05:00
Yury Selivanov
a054f40e84
Merge 3.5 (asyncio)
2016-11-08 19:16:15 -05:00
Yury Selivanov
6cc495e9e2
asyncio: Fix _format_coroutine for coroutine-like objects w/o __name__
...
Some built-in coroutine-like objects might not have __name__ or
__qualname__. A good example of such are 'asend', 'aclose' and
'athrow' coroutine methods of asynchronous generators.
2016-11-08 19:16:01 -05:00
Yury Selivanov
0ee446c894
Merge 3.6 (issue #27243 )
2016-11-08 15:15:42 -05:00
Yury Selivanov
2edd8a1e2c
Issue #27243 : Change PendingDeprecationWarning -> DeprecationWarning.
...
As it was agreed in the issue, __aiter__ returning an awaitable
should result in PendingDeprecationWarning in 3.5 and in
DeprecationWarning in 3.6.
2016-11-08 15:13:07 -05:00
Serhiy Storchaka
64d84c60e2
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:28:30 +02:00
Serhiy Storchaka
1c9bd1d8ec
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:27:17 +02:00
Serhiy Storchaka
eb20fcae14
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:26:14 +02:00
Serhiy Storchaka
1c3fdd900d
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:20:09 +02:00
Serhiy Storchaka
07bcf05fcf
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:17:46 +02:00
Serhiy Storchaka
b5c349d5ae
Issue #28637 : No longer use re in site.py.
...
This makes Python startup from a virtual environment a little faster.
2016-11-08 20:18:20 +02:00
Serhiy Storchaka
727ba7c6f4
Issue #28637 : No longer use re in site.py.
...
This makes Python startup from a virtual environment a little faster.
2016-11-08 20:17:35 +02:00
Yury Selivanov
122b99dad4
Merge 3.6 (docs/inspect)
2016-11-08 12:23:26 -05:00
Yury Selivanov
4778e13148
docs/inspect: clarify iscoroutinefunction; add docs for isasyncgen*
2016-11-08 12:23:09 -05:00
Terry Jan Reedy
e83a64164e
Merge with 3.6
2016-11-07 23:15:10 -05:00
Terry Jan Reedy
0180cf6684
Issue #28572 : Use system-specific values for configdialog font test
2016-11-07 23:14:53 -05:00
Yury Selivanov
cb4f0c53ff
Merge 3.6 (issue #28613 )
2016-11-07 19:01:27 -05:00
Yury Selivanov
1994dd360b
Merge 3.5 (issue #28613 )
2016-11-07 19:01:14 -05:00
Yury Selivanov
6ea2b8fc8b
Issue #28613 : Expose asyncio._get_running_loop() and _set_running_loop()
2016-11-07 19:00:46 -05:00
Victor Stinner
621d4a7c86
Merge 3.6
2016-11-08 00:44:53 +01:00
Victor Stinner
1ec1cd161b
Issue #28637 : Revert issue #28082 , don't import enum in re
...
Importing the enum module in the re module slows down Python startup by 34%
when Python is run from a virtual environment, or more generally when the re
module is imported at startup but not the enum module.
2016-11-08 00:42:46 +01:00
Eric V. Smith
9a8e569865
Merge from 3.6.
2016-11-07 17:57:48 -05:00
Eric V. Smith
9b88fdf4f0
Fixed issue #28633 : segfault when concatenating bytes literal and f-string.
2016-11-07 17:54:01 -05:00
Terry Jan Reedy
25c28c901a
Merge with 3.6
2016-11-07 17:15:16 -05:00
Terry Jan Reedy
f46b7823e6
Issue #28572 : Add 10% to coverage of IDLE's test_configdialog.
...
Update and augment description of the configuration system.
2016-11-07 17:15:01 -05:00
Yury Selivanov
884edfcc83
Merge 3.6 (issue #28634 )
2016-11-07 16:07:58 -05:00
Yury Selivanov
6130c0271f
Merge 3.5 (issue #28634 )
2016-11-07 16:07:30 -05:00
Yury Selivanov
49d6b8c0c3
Issue #28634 : Fix asyncio.isfuture() to support mocks
2016-11-07 16:00:50 -05:00
Steve Dower
257a4c1503
Closes #27781 : Removes special cases for the experimental aspect of PEP 529
2016-11-06 19:35:24 -08:00
Steve Dower
78057b4159
Closes #27781 : Removes special cases for the experimental aspect of PEP 529
2016-11-06 19:35:08 -08:00
Guido van Rossum
a80b9c51e1
issue #28622 : Remove redundant variable annotation test from test_grammar. Ivan L. (3.6->3.7)
2016-11-06 18:26:08 -08:00
Guido van Rossum
f570d0f117
issue #28622 : Remove redundant variable annotation test from test_grammar. Ivan L.
2016-11-06 18:25:39 -08:00
Serhiy Storchaka
85bcf37e15
Issue #23996 : Added _PyGen_SetStopIterationValue for safe raising
...
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
2016-11-06 18:47:35 +02:00
Serhiy Storchaka
60e49aa756
Issue #23996 : Added _PyGen_SetStopIterationValue for safe raising
...
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
2016-11-06 18:47:03 +02:00
Serhiy Storchaka
24411f8a8d
Issue #23996 : Added _PyGen_SetStopIterationValue for safe raising
...
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
2016-11-06 18:44:42 +02:00
Jason R. Coombs
692b97c848
Merge with 3.6
2016-11-06 11:27:50 -05:00
Jason R. Coombs
1c92a76a69
Update test_no_escapes_for_braces to clarify behavior with a docstring and expressions that clearly are not evaluated.
2016-11-06 11:25:54 -05:00
Jason R. Coombs
32d93b2dc8
Merge with 3.6
2016-11-06 11:16:42 -05:00
Jason R. Coombs
da25abf712
Additionally show that a backslash-escaped opening brace is treated as a literal and thus triggers the single closing brace error, clarifying #28590 .
2016-11-06 11:14:48 -05:00
Jason R. Coombs
45cab8ccdd
Add an additional test with a newline, one that's very similar to test_parens_in_expressions, but because the newline is not a literal newline, but a backslash en, this error is triggered.
2016-11-06 11:01:08 -05:00
Serhiy Storchaka
f0b311bd73
Issue #28123 : _PyDict_GetItem_KnownHash() now can raise an exception as
...
PyDict_GetItemWithError(). Patch by Xiang Zhang.
2016-11-06 13:18:24 +02:00
Martin Panter
cee93c3b73
Issue #28485 : Merge single-threading fix from 3.5 into 3.6
2016-11-05 01:35:25 +00:00
Martin Panter
88281ceed0
Issue #28485 : Check for negative workers even without ProcessPoolExecutor
...
This matches the documentation, and passes the test suite when multithreading
is disabled.
2016-11-05 01:11:36 +00:00
Yury Selivanov
69312fa4a2
Merge 3.5 (issue #28613 )
2016-11-04 14:30:11 -04:00
Yury Selivanov
600a349781
Issue #28613 : Fix get_event_loop() to return the current loop
...
when called from coroutines or callbacks.
2016-11-04 14:29:28 -04:00
Yury Selivanov
c5420492cf
asyncio: Sync with upstream
2016-11-03 15:35:23 -07:00
Yury Selivanov
a6fbcd19ac
Merge 3.5 (issue #28600 )
2016-11-03 15:10:11 -07:00
Yury Selivanov
491a912659
Issue #28600 : Optimize loop.call_soon().
...
Run expensive type checks only in debug mode. In addition, stop
supporting passing handles to loop.run_in_executor.
2016-11-03 15:09:24 -07:00
Donald Stufft
c96b8fcf25
Allow ensurepip even when ssl is unavailable
2016-11-02 20:32:37 -04:00
Donald Stufft
f81d60ba68
Merge updated pip/setuptools from 3.5
2016-11-02 15:55:01 -04:00
Donald Stufft
2af4144b7f
Merge new pip/setuptools from 3.4
2016-11-02 15:53:58 -04:00
Donald Stufft
20a587bd67
Upgrade pip to 9.0 and setuptools to 28.7.1
2016-11-02 15:42:49 -04:00