Commit Graph

82925 Commits

Author SHA1 Message Date
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
Charles-François Natali e68a3ce01c Merge. 2013-12-16 12:02:42 +01:00
R David Murray 755d5ea12a Merge: #19532: make compileall with no file/dir args respect -f and -q. 2013-12-15 20:56:00 -05:00
R David Murray 8a1d1e647e #19532: make compileall with no file/dir args respect -f and -q.
Patch by Vajrasky Kok.
2013-12-15 20:49:38 -05:00
Christian Heimes 575596e19a test_ssl: skip tests when SNI is not available 2013-12-15 21:49:17 +01:00
Christian Heimes e8a257cdb1 test_poplib: skip stls_context test when SNI is not available 2013-12-15 21:44:43 +01:00
Stefan Krah cd81520e44 Merge. 2013-12-15 21:02:28 +01:00
Raymond Hettinger e259f13874 Minor code clean-up. Keep the C-API all in one section. 2013-12-15 11:56:14 -08:00
Stefan Krah ae01a8bcdf Merge from 3.3. 2013-12-15 20:52:08 +01:00
Stefan Krah 1f1ec12db9 Issue #19986: Avoid an incorrect warning of older gcc versions. 2013-12-15 20:45:08 +01:00
Christian Heimes b2a794d235 fixed test_ftplib 2013-12-15 19:50:13 +01:00
Christian Heimes aab99fdd65 test_imaplib: skip check_hostname test when SNI is not available 2013-12-15 19:39:32 +01:00
Christian Heimes e7945d76ff test_ftplib: skip check_hostname test when SNI is not available 2013-12-15 19:38:22 +01:00
Charles-François Natali 250a452fcf Issue #19965: Make sure that Python-ast.h is properly taken into account in the
makefile.
2013-12-15 19:12:52 +01:00
Charles-François Natali 325a10277f Merge. 2013-12-15 19:12:07 +01:00
Charles-François Natali 46c686fc40 Issue #19965: Make sure that Python-ast.h is properly taken into account in the
makefile.
2013-12-15 19:09:00 +01:00
Christian Heimes a5f0eda91a Skip some tests that require server name indication (SNI) 2013-12-15 17:02:36 +01:00
Christian Heimes 21ebbb2777 Import USHRT_MAX to fix failing test_devpool test 2013-12-15 15:36:20 +01:00
Nick Coghlan 720c7e28cb Issue #19700: set __spec__ appropriately in runpy
Note that __spec__.name is not currently guaranteed to be in
sys.modules when the code is running, only __name__ is.

The "running module is in sys.modules" invariant will be
expanded to also cover __spec__.name in a subsequent patch.
2013-12-15 20:33:02 +10:00
Serhiy Storchaka 8aa36a3db9 Null merge 2013-12-14 21:07:51 +02:00
Serhiy Storchaka c836a28cc1 Issue #17576: Removed deprecation warnings added in changeset 618cca51a27e. 2013-12-14 21:07:09 +02:00
Serhiy Storchaka 79f19f9e7c Issue #19623: Fixed writing to unseekable files in the aifc module. 2013-12-14 20:42:22 +02:00
Serhiy Storchaka 84d28b4ee5 Issue #19623: Fixed writing to unseekable files in the aifc module. 2013-12-14 20:35:04 +02:00
Serhiy Storchaka 03241e8017 Issue #17919: Fixed integer overflow in the eventmask parameter. 2013-12-14 19:18:39 +02:00
Serhiy Storchaka 5da107ac72 Issue #17919: Fixed integer overflow in the eventmask parameter. 2013-12-14 19:12:02 +02:00
R David Murray 530a69fafc #19970: fix additional typo in 3.4 asyncio docs. 2013-12-14 11:26:06 -05:00
Stefan Krah f483b0f3a9 Issue #19972: Add rarely used freefunc. This fixes a leak if sys.exit()
is used in a program.
2013-12-14 13:43:10 +01:00