Commit Graph

82651 Commits

Author SHA1 Message Date
Zachary Ware e61f4df275 Closes #20005: Fix typo in operator docs. Patch by Claudiu Popa. 2013-12-18 12:22:35 -06:00
Zachary Ware 0bffca006a Issue #20005: Fix typo in operator docs. Patch by Claudiu Popa. 2013-12-18 12:21:49 -06:00
Serhiy Storchaka 3f5f436680 Issue #19492: Silently skipped distutils tests now reported as skipped. 2013-12-18 16:45:24 +02:00
Serhiy Storchaka 3c02ecefba Issue #19492: Silently skipped distutils tests now reported as skipped. 2013-12-18 16:41:01 +02:00
R David Murray 0ce3e9d82b Merge: #19855: uuid.get_node now looks on the PATH for executables on unix. 2013-12-17 21:14:41 -05:00
R David Murray 4be1e24933 #19855: uuid.get_node now looks on the PATH for executables on unix.
Patch by Serhiy Storchaka.
2013-12-17 21:13:16 -05:00
Antoine Pitrou 74940dc928 Issue #20006: Fix sporadic failures in test_weakset. 2013-12-18 00:32:02 +01:00
Antoine Pitrou 320b39158e Issue #20006: Fix sporadic failures in test_weakset. 2013-12-18 00:28:36 +01:00
Antoine Pitrou 0c73fc04e6 Revert misled test change in f189da5bda26. 2013-12-18 00:29:30 +01:00
Serhiy Storchaka cac05e2e90 Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.
Original patch by Simon Sapin.
2013-12-17 21:51:40 +02:00
Serhiy Storchaka 1c84ac1f55 Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.
Original patch by Simon Sapin.
2013-12-17 21:50:02 +02:00
Serhiy Storchaka 85c2497950 Issue #16404: Add checks for return value of PyLong_FromLong() in
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
2013-12-17 15:12:46 +02:00
Serhiy Storchaka 48d761e2b4 Issue #16404: Add checks for return value of PyLong_FromLong() in
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
2013-12-17 15:11:24 +02:00
Serhiy Storchaka 11ee080ea7 Fixed leak in sys.flags initialization. 2013-12-17 15:00:53 +02:00
Serhiy Storchaka 87a854dc73 Fixed leak in sys.flags initialization. 2013-12-17 14:59:42 +02:00
Nick Coghlan 9a76735b1d Close #19946: use runpy as needed in multiprocessing
- handles main files without a suffix
- handles main submodules properly
- adds test cases for the various kinds of __main__
2013-12-17 22:17:26 +10:00
Eric Snow 7cff4cd7e9 Issue #19713: Fix mistakes in the import page of language reference.
These mistakes were introduced by the initial PEP 451 merge.
2013-12-16 23:10:50 -07:00
Eric Snow ca2d854df8 Issue #19713: Update importlib docs for module spec changes, including deprecations. 2013-12-16 23:06:52 -07:00
Eli Bendersky 5100311bd8 Issue #20001: Add the SVG source of the pathlib-inheritance diagram to Hg 2013-12-16 21:13:40 -08:00
Victor Stinner 1d006a2c0e Backout a1a05e2724dd: shutil.which(bytes) is a new feature and my patch does not work on Windows 2013-12-16 23:39:40 +01:00
Victor Stinner 711e27cd50 tracemalloc: fix usage of strtol(), value can be LONG_MIN or LONG_MAX on ERANGE 2013-12-16 23:06:19 +01:00
Victor Stinner 4d8c29cd57 tracemalloc: only use unsigned types to compute hash
Commit to simplify the backport to python 2.7 and to make the code more
consistent.
2013-12-16 23:05:13 +01:00
Victor Stinner fffb96ba66 Issue #18283: shutil.which() now supports bytes argument, not only text argument. 2013-12-16 22:48:48 +01:00
Victor Stinner a4275b276c (Merge 3.3) Close #19999: tolerate coarse time when testing time.monotonic() on
very busy/slow buildbot
2013-12-16 22:38:46 +01:00
Victor Stinner 170078804c Close #19999: tolerate coarse time when testing time.monotonic() on very
busy/slow buildbot
2013-12-16 22:36:50 +01:00
Christian Heimes 77f06111a0 merge 2013-12-16 21:17:02 +01:00
Christian Heimes bd9cbb0691 Issue #19919: Fix flacky SSL test. connect_ex() sometimes returns
EWOULDBLOCK on Windows or VMs hosted on Windows.
2013-12-16 21:16:45 +01:00
Christian Heimes de57074874 Issue #19919: Fix flacky SSL test. connect_ex() sometimes returns
EWOULDBLOCK on Windows or VMs hosted on Windows.
2013-12-16 21:15:44 +01:00
Antoine Pitrou f6abb70b48 Mention specific exceptions instead of OSError where appropriate. 2013-12-16 21:00:53 +01:00
Antoine Pitrou 0048c98fef Issue #19921: When Path.mkdir() is called with parents=True, any missing parent is created with the default permissions, ignoring the mode argument (mimicking the POSIX "mkdir -p" command).
Patch by Serhiy.
2013-12-16 20:22:37 +01:00
Antoine Pitrou c274fd22ed Issue #19887: Improve the Path.resolve() algorithm to support certain symlink chains.
Original patch by Serhiy.
2013-12-16 19:57:41 +01:00
Zachary Ware d2e48ca813 Issue #19987: Merge with 3.3 2013-12-16 09:05:44 -06:00
Zachary Ware 1007432c95 Issue #19987: Re-write test_alias_fallback in test_winsound to have two
acceptable outcomes: success or RuntimeError. Without being able to
actually hear whether a sound was played, either one could be right, but
any other error would be a failure.
2013-12-16 09:02:41 -06:00
Christian Heimes e9dacaa93f Issue #19987: disable test_winsound's test_alias_fallback test when no sound card
is available. The test fails on Windows Server 2008.
2013-12-16 14:54:24 +01:00
Christian Heimes d9fbb446a2 merge 2013-12-16 14:35:58 +01:00
Christian Heimes cb3558dcc1 Issue #18215: Add script Tools/ssl/test_multiple_versions.py to compile and
run Python's unit tests with multiple versions of OpenSSL.
2013-12-16 14:35:39 +01:00
Serhiy Storchaka 8817d83050 Null merge 2013-12-16 15:17:33 +02:00
Serhiy Storchaka b77817b288 Merge heads 2013-12-16 15:17:13 +02:00
Serhiy Storchaka 928b9e272d Merge heads 2013-12-16 15:16:35 +02:00
Serhiy Storchaka cc83b0c8f6 Issue #19912: Fixed numerous bugs in ntpath.splitunc().
* splitunc() no more return illegal result for paths with redundant slashes.
* splitunc() now correctly processes the 'İ' character
  (U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Deprecation warnings now emitted for every use of splitunc().
* Added tests for splitunc().
2013-12-16 15:14:19 +02:00
Serhiy Storchaka 593568bf47 Issue #19912: Fixed numerous bugs in ntpath.splitunc().
* splitunc() no more return illegal result for paths with redundant slashes.
* splitunc() now correctly processes the 'İ' character
  (U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Deprecation warnings now emitted for every use of splitunc().
* Added tests for splitunc().
2013-12-16 15:13:28 +02:00
Charles-François Natali 17c2843033 Mere. 2013-12-16 13:49:56 +01:00
Charles-François Natali ef3e4c19d7 Merge. 2013-12-16 13:49:38 +01:00
Charles-François Natali 461836a5dd Merge. 2013-12-16 13:49:30 +01:00
Charles-François Natali 808d83d8fd Merge. 2013-12-16 13:49:19 +01:00
Serhiy Storchaka f5ad91c392 Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
2013-12-16 14:36:10 +02:00
Serhiy Storchaka 3d7e11520e Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
2013-12-16 14:34:55 +02:00
Christian Heimes 7a2157fca7 Issue #17919: add missing import of USHRT_MAX 2013-12-16 13:28:20 +01:00
Christian Heimes e9b034b72d Issue #17919: add missing import of USHRT_MAX 2013-12-16 13:27:16 +01:00
Charles-François Natali a3499c49cf Merge. 2013-12-16 12:03:05 +01:00