Commit graph

41428 commits

Author SHA1 Message Date
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