Commit graph

18081 commits

Author SHA1 Message Date
Eric Snow
0dddf4258a Issue 20123: try using a different builtin module in a pydoc test.
The test is failing on one of the stable FreeBSD buildbots.  It seems
unlikely that the gc module would not be available, so switching to
_imp may not fix the problem.
2014-01-04 21:56:07 -07:00
Eric Snow
aed5b22ead Issue 20123: Fix pydoc.synopsis() for "binary" modules.
Also add missing tests to test_pydoc.
2014-01-04 20:38:11 -07:00
Eric Snow
37148b27ac Issue #19708: Update pkgutil to use the new importer APIs. 2014-01-04 15:09:53 -07:00
Eric Snow
335e14dd1a Issue #19713: Move away from using find_module/load_module. 2014-01-04 15:09:28 -07:00
Eric Snow
d749c7ae68 Issue #19927: Add __eq__ to path-based loaders in importlib. 2014-01-04 15:06:49 -07:00
Martin v. Löwis
24e43308b7 * Issue #16113: Remove sha3 module again.
Patch by Christian Heimes, with modifications.
2014-01-03 14:05:06 +01:00
Eric Snow
fbc785188d Issue #20097: Fix bad use of "self" in importlib's WindowsRegistryFinder. 2014-01-02 22:25:00 -07:00
Victor Stinner
daeffd2c08 audioop: adpcm2lin() and lin2adpcm() now raises a TypeError instead of a
SystemError if the state type is invalid.
2014-01-03 03:26:47 +01:00
Antoine Pitrou
1b02da95d2 Issue #20111: pathlib.Path.with_suffix() now sanity checks the given suffix. 2014-01-03 00:07:17 +01:00
Zachary Ware
393a94243f Issue #20101: Merge with 3.3 2014-01-02 09:43:09 -06:00
Zachary Ware
487aedb77c Issue #20101: Allow test_monotonic to pass on Windows machines on which
time.get_clock_info('monotonic').resolution == 0.015600099999999999

This is just a workaround pending a real resolution to #20101.
2014-01-02 09:41:10 -06:00
Donald Stufft
f7f58f8db5 Update pip to the released 1.5 2014-01-02 09:33:35 -05:00
Victor Stinner
009771ee6b (Merge 3.3) Issue #18829: Add tests for the csv module for invalid characters
(delimiter, escapechar, quotechar)
2014-01-02 12:53:50 +01:00
Victor Stinner
6a31b0fa19 Issue #18829: Add tests for the csv module for invalid characters (delimiter,
escapechar, quotechar)
2014-01-02 12:53:13 +01:00
Antoine Pitrou
b672888092 Issue #20055: Fix test_shutil under Windows with symlink privileges held.
Patch by Vajrasky Kok.
2014-01-01 02:51:58 +01:00
Antoine Pitrou
3f48ac98c0 Issue #20055: Fix test_shutil under Windows with symlink privileges held.
Patch by Vajrasky Kok.
2014-01-01 02:50:45 +01:00
Zachary Ware
efa2e04033 Issue19619: skip zlib error test when zlib not available 2013-12-30 14:54:11 -06:00
Senthil Kumaran
b6fac245b5 Backporing the fix from Issue #12692 2013-12-28 17:36:18 -08:00
Antoine Pitrou
3e86ba4e32 Issue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data. 2013-12-28 17:26:33 +01:00
Antoine Pitrou
156b3610b8 Issue #19918: Fix PurePath.relative_to() under Windows. 2013-12-28 19:49:04 +01:00
Antoine Pitrou
e6d2f159fc Issue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data. 2013-12-28 17:30:51 +01:00
Antoine Pitrou
c1764dd350 Issue #19648: implement empty tests in pickletester. Patch by Gennadiy Zlobin. 2013-12-28 16:57:37 +01:00
R David Murray
ecff5e51a5 #18116: backport fix to 3.3 since real-world failure mode demonstrated.
In issue 20074 it was pointed out that getpass would fail with a traceback if
stdin was, for example /dev/null, which is a non-unlikely scenario.

Also backported the tests from issue 17484 as modified by issue 18116.

(What I really did was copy getpass.py and test_getpass.py from their
state on tip as of 17bd04fbf3d3).
2013-12-27 11:24:32 -05:00
Serhiy Storchaka
8c4f57d1d5 Issue #20046: Locale alias table no longer contains entities which can be
calculated.  Generalized support of the euro modifier.
2013-12-27 00:56:53 +02:00
Serhiy Storchaka
e190fac5f9 Issue #20027: Fixed locale aliases for devanagari locales. 2013-12-26 21:21:52 +02:00
Serhiy Storchaka
5eb01530b2 Issue #20027: Fixed locale aliases for devanagari locales. 2013-12-26 21:20:59 +02:00
doko@ubuntu.com
e575148cc2 - Issue #20070: Don't run test_urllib2net when network resources are not
enabled.
2013-12-26 17:37:11 +01:00
Zachary Ware
bb4b7c12fa Issue #19938: Re-enabled test_bug_1333982 in test_dis, which had been
disabled since 3.0 due to the changes in listcomp handling.
2013-12-26 09:55:24 -06:00
Zachary Ware
e80e806b3a Issue #19938: Re-enabled test_bug_1333982 in test_dis, which had been
disabled since 3.0 due to the changes in listcomp handling.
2013-12-26 09:53:49 -06:00
Serhiy Storchaka
cb131948fe Issue #19320: test_tcl no longer fails when wantobjects is false. 2013-12-25 17:29:41 +02:00
Serhiy Storchaka
cc4290bf91 Issue #19320: test_tcl no longer fails when wantobjects is false. 2013-12-25 17:29:01 +02:00
Nick Coghlan
ae2ee96ad7 Issue #19744: improve ensurepip error when ssl is missing 2013-12-23 23:07:07 +10:00
Nick Coghlan
f71cae0a93 Issue #19728: fix ensurepip name clash with submodule
Also added refactoring and added basic tests for the argument
parsing in both ensurepip._main and ensurepip._uninstall._main.
2013-12-23 18:20:34 +10:00
Nick Coghlan
23f597e462 Further increase tolerance for slow buildbots 2013-12-23 18:17:20 +10:00
Nick Coghlan
ed9af52ff0 Issue #19734: ignore pip env vars in ensurepip._uninstall 2013-12-23 17:39:12 +10:00
Nick Coghlan
6256fcbc97 Close #19734: ignore pip env vars in ensurepip 2013-12-23 16:16:07 +10:00
Benjamin Peterson
eaedaeccf2 update Barry's email (#19563) 2013-12-22 19:45:38 -06:00
Benjamin Peterson
8fb007f329 merge 3.3 (#19563) 2013-12-22 19:45:53 -06:00
Antoine Pitrou
492b9893e1 Fix DeprecationWarnings in test suite 2013-12-21 22:19:46 +01:00
Antoine Pitrou
2b7f69851d Issue #18879: When a method is looked up on a temporary file, avoid closing the file before the method is possibly called. 2013-12-21 22:16:19 +01:00
Antoine Pitrou
17c93260a6 Issue #18879: When a method is looked up on a temporary file, avoid closing the file before the method is possibly called. 2013-12-21 22:14:56 +01:00
Christian Heimes
266772abe9 merge 2013-12-21 16:19:57 +01:00
Christian Heimes
af01f66817 Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
Antoine Pitrou
712cb734bd Issue #20037: Avoid crashes when doing text I/O late at interpreter shutdown. 2013-12-21 15:51:54 +01:00
Christian Heimes
5255b86fba skip multiprocessing main handling test when Python is built without threads 2013-12-21 15:47:24 +01:00
Zachary Ware
bdce938af2 Update test.outstanding_bugs.py 2013-12-20 13:25:07 -06:00
Zachary Ware
32e57ef023 Update test.outstanding_bugs.py 2013-12-20 13:25:53 -06:00
Nick Coghlan
05385292e9 Issue #19946: use public API for multiprocessing start methods
This should appease the OpenIndiana buildbot.

Also lengthened the worst case timeout to try to eliminate
the inconsistent failure on one of the Windows 7 buildbots.
2013-12-20 22:14:03 +10:00
Guido van Rossum
9ba75db3c5 asyncio: Clean up formatting. 2013-12-19 13:49:32 -08:00
Victor Stinner
4c3c699e62 Close #19967: Thanks to the PEP 442, asyncio.Future can use a destructor in
Python 3.4 to log "uncatched" exceptions, instead of the dedicated
_TracebackLogger class.
2013-12-19 22:42:40 +01:00