]>
granicus.if.org Git - python/log
Christian Heimes [Mon, 2 Dec 2013 19:20:11 +0000 (20:20 +0100)]
Issue #19783: nntplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
Christian Heimes [Mon, 2 Dec 2013 19:10:50 +0000 (20:10 +0100)]
Issue #19784: poplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
Christian Heimes [Mon, 2 Dec 2013 19:02:04 +0000 (20:02 +0100)]
merge
Christian Heimes [Mon, 2 Dec 2013 19:01:29 +0000 (20:01 +0100)]
Issue #19782: imaplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
Serhiy Storchaka [Mon, 2 Dec 2013 18:31:00 +0000 (20:31 +0200)]
Fixed formatting (was parsed as description list).
Serhiy Storchaka [Mon, 2 Dec 2013 18:23:19 +0000 (20:23 +0200)]
Fixed regex match representation in an example.
Victor Stinner [Mon, 2 Dec 2013 16:52:31 +0000 (17:52 +0100)]
asyncio: sort some methods
Victor Stinner [Mon, 2 Dec 2013 16:46:04 +0000 (17:46 +0100)]
asyncio doc: group transport method by classes
Declare classes because they are mentionned in documentation of other functions
Victor Stinner [Mon, 2 Dec 2013 16:40:48 +0000 (17:40 +0100)]
asyncio: more documentation
Victor Stinner [Mon, 2 Dec 2013 16:28:32 +0000 (17:28 +0100)]
asyncio: document network functions, and stream reader/writer
Walter Doerwald [Mon, 2 Dec 2013 16:20:50 +0000 (17:20 +0100)]
Add NEWS entry for issue #19834: merge with 3.3.
Walter Doerwald [Mon, 2 Dec 2013 16:19:00 +0000 (17:19 +0100)]
Add NEWS entry for issue #19834.
Eli Bendersky [Mon, 2 Dec 2013 13:50:48 +0000 (05:50 -0800)]
Issue #19814: Clarify argparse's docs w.r.t prefix matching
Eli Bendersky [Mon, 2 Dec 2013 13:49:54 +0000 (05:49 -0800)]
Issue #19814: Clarify argparse's docs w.r.t prefix matching
Victor Stinner [Mon, 2 Dec 2013 13:31:43 +0000 (14:31 +0100)]
asyncio: replace our with asynchronous in docstring
Victor Stinner [Mon, 2 Dec 2013 13:31:16 +0000 (14:31 +0100)]
asyncio: document locks
Victor Stinner [Mon, 2 Dec 2013 13:06:03 +0000 (14:06 +0100)]
asyncio: document Queue classes
Victor Stinner [Mon, 2 Dec 2013 12:47:23 +0000 (13:47 +0100)]
Document Task class and task functions
Victor Stinner [Mon, 2 Dec 2013 12:04:25 +0000 (13:04 +0100)]
asyncio: cleanup doc
Victor Stinner [Mon, 2 Dec 2013 11:41:54 +0000 (12:41 +0100)]
Issue #19833: Document more asyncio.BaseEventLoop methods
Victor Stinner [Mon, 2 Dec 2013 11:21:30 +0000 (12:21 +0100)]
Issue #19833: add 2 examples to asyncio doc (hello world)
Victor Stinner [Mon, 2 Dec 2013 11:20:57 +0000 (12:20 +0100)]
Issue #19833: asyncio doc: add class name to methods
Victor Stinner [Mon, 2 Dec 2013 11:17:29 +0000 (12:17 +0100)]
(Merge 3.3) Issue #19728: Fix sys.getfilesystemencoding() documentation
Victor Stinner [Mon, 2 Dec 2013 11:16:46 +0000 (12:16 +0100)]
Issue #19728: Fix sys.getfilesystemencoding() documentation
Walter Doerwald [Mon, 2 Dec 2013 10:43:20 +0000 (11:43 +0100)]
Fix #19834: merge with 3.3.
Walter Doerwald [Mon, 2 Dec 2013 10:41:01 +0000 (11:41 +0100)]
Fix issue #19834: Support unpickling of exceptions pickled by Python 2.
Christian Heimes [Mon, 2 Dec 2013 01:56:02 +0000 (02:56 +0100)]
Issue #19781: ftplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
Christian Heimes [Mon, 2 Dec 2013 01:41:19 +0000 (02:41 +0100)]
Issue #19509: Add SSLContext.check_hostname to match the peer's certificate
with server_hostname on handshake.
Gregory P. Smith [Mon, 2 Dec 2013 01:28:24 +0000 (17:28 -0800)]
null merge (3.4 already has its own fix for this).
Gregory P. Smith [Mon, 2 Dec 2013 01:27:40 +0000 (17:27 -0800)]
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.
Alexandre Vassalotti [Mon, 2 Dec 2013 00:31:49 +0000 (16:31 -0800)]
Issue #19754: Fix typo.
Alexandre Vassalotti [Mon, 2 Dec 2013 00:27:46 +0000 (16:27 -0800)]
Issue #19754: Make pickletools.optimize respect the frame size target.
Gregory P. Smith [Mon, 2 Dec 2013 00:03:24 +0000 (16:03 -0800)]
Fixes issue #15798: subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed. (correct fix for 3.4 this time)
Alexandre Vassalotti [Sun, 1 Dec 2013 21:26:32 +0000 (13:26 -0800)]
Issue #11480: Merge with 3.3.
Alexandre Vassalotti [Sun, 1 Dec 2013 21:25:26 +0000 (13:25 -0800)]
Issue #11480: Fixed copy.copy to work with classes with custom metaclasses.
Patch by Daniel Urban.
Charles-François Natali [Sun, 1 Dec 2013 13:30:47 +0000 (14:30 +0100)]
Issue #18994: Add a missing check for a return value in fcntmodule. Patch by
Vajrasky Kok.
Charles-François Natali [Sun, 1 Dec 2013 12:23:48 +0000 (13:23 +0100)]
Issue #19849: selectors: Document the possibility of early select() wakeup upon
EINTR.
Charles-François Natali [Sun, 1 Dec 2013 10:04:17 +0000 (11:04 +0100)]
Issue #19842: Refactor BaseSelector to make it an actual usable ABC.
Victor Stinner [Sun, 1 Dec 2013 09:03:26 +0000 (10:03 +0100)]
Closes #19831: Stop tracemalloc later at Python shutdown to be able to use
tracemalloc in objects destructor
Replace atexit handler with an harcoded C function _PyTraceMalloc_Fini().
Gregory P. Smith [Sun, 1 Dec 2013 08:13:35 +0000 (00:13 -0800)]
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).
Gregory P. Smith [Sun, 1 Dec 2013 08:12:24 +0000 (00:12 -0800)]
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).
Gregory P. Smith [Sun, 1 Dec 2013 03:04:00 +0000 (19:04 -0800)]
Fixes Issue #15798 - subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.
Gregory P. Smith [Sun, 1 Dec 2013 03:02:57 +0000 (19:02 -0800)]
Fixes Issue #15798 - subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.
Alexandre Vassalotti [Sun, 1 Dec 2013 01:58:53 +0000 (17:58 -0800)]
Issue #6477: Merge with 3.3.
Alexandre Vassalotti [Sun, 1 Dec 2013 01:55:48 +0000 (17:55 -0800)]
Issue #6477: Keep PyNotImplemented_Type and PyNone_Type private.
Alexandre Vassalotti [Sun, 1 Dec 2013 00:21:20 +0000 (16:21 -0800)]
Issue #6477: Merge with 3.3.
Alexandre Vassalotti [Sun, 1 Dec 2013 00:06:39 +0000 (16:06 -0800)]
Issue #6477: Added support for pickling the types of built-in singletons.
Guido van Rossum [Sat, 30 Nov 2013 23:35:42 +0000 (15:35 -0800)]
asyncio: Use Interface instead of ABC. Fixes issue 19726.
Zachary Ware [Sat, 30 Nov 2013 23:03:03 +0000 (17:03 -0600)]
Issue #19845: Updated the Compiling Python on Windows docs.
Zachary Ware [Sat, 30 Nov 2013 22:59:33 +0000 (16:59 -0600)]
Issue #19845: Updated the Compiling Python on Windows docs.
Vinay Sajip [Sat, 30 Nov 2013 22:46:29 +0000 (22:46 +0000)]
Closes #19789: Merged update from 3.3.
Vinay Sajip [Sat, 30 Nov 2013 22:45:29 +0000 (22:45 +0000)]
Issue #19789: Clarified documentation for logging.disable.
Alexandre Vassalotti [Sat, 30 Nov 2013 21:55:39 +0000 (13:55 -0800)]
Merge with 3.3.
Alexandre Vassalotti [Sat, 30 Nov 2013 21:52:35 +0000 (13:52 -0800)]
Fixed _pickle.Unpickler to handle empty persistent IDs correctly.
Serhiy Storchaka [Sat, 30 Nov 2013 21:15:38 +0000 (23:15 +0200)]
Issue #17897: Optimized unpickle prefetching.
Alexandre Vassalotti [Sat, 30 Nov 2013 09:05:51 +0000 (01:05 -0800)]
Issue #19088: Merge with 3.3.
Alexandre Vassalotti [Sat, 30 Nov 2013 08:53:09 +0000 (00:53 -0800)]
Issue #19088: Fix incorrect caching of the copyreg module.
This fix does not cause any degradation in performance.
Nick Coghlan [Sat, 30 Nov 2013 08:35:32 +0000 (18:35 +1000)]
Issue #19728: don't be sensitive to line endings
Nick Coghlan [Sat, 30 Nov 2013 07:45:09 +0000 (17:45 +1000)]
Issue #19726: actually running 'hg add' helps...
Nick Coghlan [Sat, 30 Nov 2013 07:15:09 +0000 (17:15 +1000)]
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)
Nick Coghlan [Sat, 30 Nov 2013 05:56:58 +0000 (15:56 +1000)]
Fix and test pip version consistency
Alexandre Vassalotti [Sat, 30 Nov 2013 04:47:15 +0000 (20:47 -0800)]
Issue #3693: Fix array obscure error message when given a str.
Zachary Ware [Sat, 30 Nov 2013 03:14:22 +0000 (21:14 -0600)]
Null merge
Guido van Rossum [Fri, 29 Nov 2013 22:51:18 +0000 (14:51 -0800)]
More realistic example for selectors.py.
Serhiy Storchaka [Fri, 29 Nov 2013 21:42:55 +0000 (23:42 +0200)]
Null merge
Serhiy Storchaka [Fri, 29 Nov 2013 21:40:35 +0000 (23:40 +0200)]
Revert unrelated changes introduced by changeset
b2066bc8cab9 (issue #19795).
Brett Cannon [Fri, 29 Nov 2013 21:17:05 +0000 (16:17 -0500)]
Issue #19712: Port test.test_importlib.import_ tests to use PEP 451
that don't require changing test.test_importlib.util.mock_modules().
Charles-François Natali [Fri, 29 Nov 2013 17:57:47 +0000 (18:57 +0100)]
Remove trailing blanks.
Charles-François Natali [Fri, 29 Nov 2013 17:52:51 +0000 (18:52 +0100)]
Set the FDs non-blocking in the selectors example.
Guido van Rossum [Fri, 29 Nov 2013 17:29:00 +0000 (09:29 -0800)]
asyncio: Add 'shield' to __all__.
Brett Cannon [Fri, 29 Nov 2013 16:00:11 +0000 (11:00 -0500)]
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.
Serhiy Storchaka [Fri, 29 Nov 2013 10:19:53 +0000 (12:19 +0200)]
Issue #19795: Improved markup of True/False constants.
Serhiy Storchaka [Fri, 29 Nov 2013 10:17:13 +0000 (12:17 +0200)]
Issue #19795: Improved markup of True/False constants.
Alexandre Vassalotti [Fri, 29 Nov 2013 01:09:16 +0000 (17:09 -0800)]
Use PyDict_GetItemWithError instead of PyDict_GetItem in cpickle.
Alexandre Vassalotti [Thu, 28 Nov 2013 23:17:29 +0000 (15:17 -0800)]
Remove explicit empty tuple reuse in cpickle.
PyTuple_New(0) always returns the same empty tuple from its free list anyway,
so we are not saving much here. Plus, the code where this was used is on
uncommon run paths.
Alexandre Vassalotti [Thu, 28 Nov 2013 22:56:09 +0000 (14:56 -0800)]
Remove the tuple reuse optimization in _Pickle_FastCall.
I have noticed a race-condition occurring on one of the buildbots because of
this optimization. The function called may release the GIL which means
multiple threads may end up accessing the shared tuple. I could fix it up by
storing the tuple to the Pickler and Unipickler object again, but honestly it
really not worth the trouble.
I ran many benchmarks and the only time the optimization helps is when using a
fin-memory file, like io.BytesIO on which reads are super cheap, combined with
pickle protocol less than 4. Even in this contrived case, the speedup is a
about 5%. For everything else, this optimization does not provide any
noticable improvements.
Eli Bendersky [Thu, 28 Nov 2013 14:53:05 +0000 (06:53 -0800)]
Some minor clarifications in the documentation of pathlib + inheritance diagram
Eli Bendersky [Thu, 28 Nov 2013 14:35:40 +0000 (06:35 -0800)]
Issue #19815: Fix segfault when parsing empty namespace declaration.
Based on patches by Christian Heimes and Vajrasky Kok
Eli Bendersky [Thu, 28 Nov 2013 14:33:21 +0000 (06:33 -0800)]
Fix indentation from previous commit
Eli Bendersky [Thu, 28 Nov 2013 14:31:58 +0000 (06:31 -0800)]
Issue #19815: Fix segfault when parsing empty namespace declaration.
Based on patches by Christian Heimes and Vajrasky Kok
Christian Heimes [Thu, 28 Nov 2013 14:12:15 +0000 (15:12 +0100)]
SNI was added in OpenSSL 0.9.8f [11 Oct 2007], too
Christian Heimes [Thu, 28 Nov 2013 07:06:54 +0000 (08:06 +0100)]
ssl.create_default_context() sets OP_NO_COMPRESSION to prevent CRIME
Zachary Ware [Thu, 28 Nov 2013 05:56:04 +0000 (23:56 -0600)]
Issue #19595: Re-enable a long-disabled test in test_winsound
Zachary Ware [Thu, 28 Nov 2013 05:56:04 +0000 (23:56 -0600)]
Issue #19595: Re-enable a long-disabled test in test_winsound
Alexandre Vassalotti [Thu, 28 Nov 2013 03:36:52 +0000 (19:36 -0800)]
Encapsulate cpickle global state in a dedicated object.
This implements PEP 3121 module finalization as well. This change does not
cause any significant impact on performance.
Ned Deily [Wed, 27 Nov 2013 22:42:55 +0000 (14:42 -0800)]
Change pathlib documentation to use "raise" instead of "throw".
Victor Stinner [Wed, 27 Nov 2013 22:39:55 +0000 (23:39 +0100)]
Issue #19818: tracemalloc, the number of frame limit cannot be zero anymore
Guido van Rossum [Wed, 27 Nov 2013 22:12:48 +0000 (14:12 -0800)]
asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() accept bytearray/memoryview too. Change some asserts with proper exceptions.
Victor Stinner [Wed, 27 Nov 2013 21:27:13 +0000 (22:27 +0100)]
Closes #19786: tracemalloc, remove the arbitrary limit of 100 frames
The limit is now 178,956,969 on 64 bit (it is greater on 32 bit because
structures are smaller).
Use int instead of Py_ssize_t to store the number of frames to have smaller
traceback_t objects.
Victor Stinner [Wed, 27 Nov 2013 20:39:49 +0000 (21:39 +0100)]
Close #19798: replace "maximum" term with "peak" in get_traced_memory()
documentation. Use also the term "current" for the current size.
Guido van Rossum [Wed, 27 Nov 2013 18:37:13 +0000 (10:37 -0800)]
asyncio: Fix get_event_loop() to call set_event_loop() when setting the loop. By Anthony Baire.
Benjamin Peterson [Wed, 27 Nov 2013 15:18:54 +0000 (09:18 -0600)]
add SO_PRIORITY (closes #19802)
Patch by Claudiu Popa.
Alexandre Vassalotti [Wed, 27 Nov 2013 10:26:54 +0000 (02:26 -0800)]
Combine the FastCall functions in cpickle.
I fixed the bug that was in my previous attempt of this cleanup. I ran
the full test suite to verify I didn't introduce any obvious bugs.
Serhiy Storchaka [Wed, 27 Nov 2013 06:58:13 +0000 (08:58 +0200)]
Skip test_find_mac on Windows (issue #19804).
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
Serhiy Storchaka [Wed, 27 Nov 2013 06:57:51 +0000 (08:57 +0200)]
Skip test_find_mac on Windows (issue #19804).
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
Benjamin Peterson [Wed, 27 Nov 2013 05:05:37 +0000 (23:05 -0600)]
merge 3.3 (#19805)
Benjamin Peterson [Wed, 27 Nov 2013 05:05:25 +0000 (23:05 -0600)]
recommend OrderedDict for this FAQ (closes #19805)
Benjamin Peterson [Wed, 27 Nov 2013 01:24:01 +0000 (19:24 -0600)]
merge 3.3 (#19729)
Benjamin Peterson [Wed, 27 Nov 2013 01:22:36 +0000 (19:22 -0600)]
fix format spec recursive expansion (closes #19729)
Zachary Ware [Tue, 26 Nov 2013 22:34:45 +0000 (16:34 -0600)]
Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project. This should prevent build errors due a previous
build's python(_d).exe still running.