Commit graph

33472 commits

Author SHA1 Message Date
Antoine Pitrou
cc157516a9 Issue #19877: fix regression in test_pathlib when Windows has symlink support available (i.e. in administrator mode).
Patch by Vajrasky Kok.
2013-12-03 17:13:13 +01:00
Stefan Krah
5aa08ca375 Issue #9709: Stop adding PyInit_" + module_name' to export_symbols. This is
already done by PyMODINIT_FUNC.
2013-12-03 13:55:20 +01:00
Vinay Sajip
dc96ca25df Added some diagnostics to help with #19690. 2013-12-03 12:31:23 +00:00
Vinay Sajip
ef2d8a597c Closes #19665: Merged fi from 3.3. 2013-12-03 11:29:45 +00:00
Vinay Sajip
827f5d35e5 Issue #19665: Increased timeout for SMTPHandler test. 2013-12-03 11:28:55 +00:00
Antoine Pitrou
51af82cc39 Add a test for complex symlinks. 2013-12-03 11:01:08 +01:00
Antoine Pitrou
6e8bc50317 Issue #19800: make the pickle framing tests more precise. 2013-12-03 09:51:40 +01:00
Antoine Pitrou
069a5e1057 Issue #19872: remove unused imports in pathlib. Patch by Vajrasky Kok. 2013-12-03 09:41:35 +01:00
Guido van Rossum
f10345e102 asyncio: Improve default writelines(). 2013-12-02 18:36:30 -08:00
Antoine Pitrou
4a60d42aad Issue #19852: move Path._raw_open() around, as it is now a private method.
Patch by Vajrasky Kok.
2013-12-02 21:25:18 +01:00
Christian Heimes
a02c69a73b add check_hostname arg to ssl._create_stdlib_context() 2013-12-02 20:59:28 +01:00
Christian Heimes
a5768f7292 Issue #19785: smtplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
2013-12-02 20:44:17 +01:00
Christian Heimes
216d463b1f Issue #19783: nntplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
2013-12-02 20:20:11 +01:00
Christian Heimes
1bc7068d7f Issue #19784: poplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
2013-12-02 20:10:50 +01:00
Christian Heimes
48aae57996 Issue #19782: imaplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
2013-12-02 20:01:29 +01:00
Victor Stinner
10a8e6ab7b asyncio: replace our with asynchronous in docstring 2013-12-02 14:31:43 +01:00
Victor Stinner
c37dd614b6 asyncio: document locks 2013-12-02 14:31:16 +01:00
Walter Doerwald
69359f6207 Fix #19834: merge with 3.3. 2013-12-02 11:43:20 +01:00
Walter Doerwald
9d1dbca5e2 Fix issue #19834: Support unpickling of exceptions pickled by Python 2. 2013-12-02 11:41:01 +01:00
Christian Heimes
e5b5edfa2c Issue #19781: ftplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
2013-12-02 02:56:02 +01:00
Christian Heimes
1aa9a75fbf Issue #19509: Add SSLContext.check_hostname to match the peer's certificate
with server_hostname on handshake.
2013-12-02 02:41:19 +01:00
Gregory P. Smith
708a3182c9 Fixes issue #15798: subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.
The errpipe_write fd will always be >= 3.
2013-12-01 17:27:40 -08:00
Alexandre Vassalotti
02066d3fbd Issue #19754: Fix typo. 2013-12-01 16:31:49 -08:00
Alexandre Vassalotti
28d271ef6b Issue #19754: Make pickletools.optimize respect the frame size target. 2013-12-01 16:27:46 -08:00
Gregory P. Smith
53dd8167ff Fixes issue #15798: subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed. (correct fix for 3.4 this time)
2013-12-01 16:03:24 -08:00
Alexandre Vassalotti
5a63aa62ca Issue #11480: Merge with 3.3. 2013-12-01 13:26:32 -08:00
Alexandre Vassalotti
5c1c3b4f19 Issue #11480: Fixed copy.copy to work with classes with custom metaclasses.
Patch by Daniel Urban.
2013-12-01 13:25:26 -08:00
Charles-François Natali
b3330a0abf Issue #19842: Refactor BaseSelector to make it an actual usable ABC. 2013-12-01 11:04:17 +01:00
Gregory P. Smith
54532c9742 Undo supposed fix for Issue #15798 until I understand why this is
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).
2013-12-01 00:13:35 -08:00
Gregory P. Smith
361e30c17a Undo supposed fix for Issue #15798 until I understand why this is
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).
2013-12-01 00:12:24 -08:00
Gregory P. Smith
1c27e3c7fb Fixes Issue #15798 - subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.
2013-11-30 19:04:00 -08:00
Gregory P. Smith
1eda9e7c30 Fixes Issue #15798 - subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.
2013-11-30 19:02:57 -08:00
Alexandre Vassalotti
3c23e7a5dc Issue #6477: Merge with 3.3. 2013-11-30 16:21:20 -08:00
Alexandre Vassalotti
19b6fa6ebb Issue #6477: Added support for pickling the types of built-in singletons. 2013-11-30 16:06:39 -08:00
Guido van Rossum
9204af42cc asyncio: Use Interface instead of ABC. Fixes issue 19726. 2013-11-30 15:35:42 -08:00
Alexandre Vassalotti
a1eedf9ff0 Merge with 3.3. 2013-11-30 13:55:39 -08:00
Alexandre Vassalotti
896414fedf Fixed _pickle.Unpickler to handle empty persistent IDs correctly. 2013-11-30 13:52:35 -08:00
Nick Coghlan
8ddd59e870 Issue #19728: don't be sensitive to line endings 2013-11-30 18:35:32 +10:00
Nick Coghlan
60f08c83f9 Issue #19726: actually running 'hg add' helps... 2013-11-30 17:45:09 +10:00
Nick Coghlan
fdf3a620a2 Issue #19728: add private ensurepip._uninstall CLI
MvL would like to be able to preserve CPython's existing clean
uninstall behaviour on Windows before enabling the pip
installation option by default.

This private CLI means running "python -m ensurepip._uninstall"
will remove pip and setuptools before proceeding with the rest
of the uninstallation process.

If the version of pip differs from the one bootstrapped by
CPython, then the uninstallation helper will leave it alone
(just like any other pip installed packages)
2013-11-30 17:15:09 +10:00
Nick Coghlan
1b1b1789d0 Fix and test pip version consistency 2013-11-30 15:56:58 +10:00
Alexandre Vassalotti
9730e33535 Issue #3693: Fix array obscure error message when given a str. 2013-11-29 20:47:15 -08:00
Brett Cannon
ed05b8a1a1 Issue #19712: Port test.test_importlib.import_ tests to use PEP 451
that don't require changing test.test_importlib.util.mock_modules().
2013-11-29 16:17:05 -05:00
Guido van Rossum
de3a1363a9 asyncio: Add 'shield' to __all__. 2013-11-29 09:29:00 -08:00
Brett Cannon
d2476c6e4b Issue #19698: Remove exec_module() from the built-in and extension
module loaders.

Due to the fact that the call signatures for extension modules and
built-in modules does not allow for the specifying of what module to
initialize and that on Windows all extension modules are built-in
modules, work to clean up built-in and extension module initialization
will have to wait until Python 3.5. Because of this the semantics of
exec_module() would be incorrect, so removing the methods for now is
the best option; load_module() is still used as a fallback by
importlib and so this won't affect semantics.
2013-11-29 11:00:11 -05:00
Eli Bendersky
8148164353 Issue #19815: Fix segfault when parsing empty namespace declaration.
Based on patches by Christian Heimes and Vajrasky Kok
2013-11-28 06:35:40 -08:00
Eli Bendersky
5dd40e555b Issue #19815: Fix segfault when parsing empty namespace declaration.
Based on patches by Christian Heimes and Vajrasky Kok
2013-11-28 06:31:58 -08:00
Christian Heimes
dec813f118 ssl.create_default_context() sets OP_NO_COMPRESSION to prevent CRIME 2013-11-28 08:06:54 +01:00
Zachary Ware
04a684b2f2 Issue #19595: Re-enable a long-disabled test in test_winsound 2013-11-27 23:56:04 -06:00
Zachary Ware
50a5dad608 Issue #19595: Re-enable a long-disabled test in test_winsound 2013-11-27 23:56:04 -06:00