]>
granicus.if.org Git - python/log
Christian Heimes [Wed, 4 Dec 2013 08:27:47 +0000 (09:27 +0100)]
Silence expression result unused warnings with clang.
The PyObject_INIT() macros returns obj:
../cpython/Objects/methodobject.c:32:23: warning: expression result unused [-Wunused-value]
PyObject_INIT(op, &PyCFunction_Type);
^~
../cpython/Include/objimpl.h:139:69: note: expanded from macro 'PyObject_INIT'
( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
^
1 warning generated.
Christian Heimes [Wed, 4 Dec 2013 07:50:32 +0000 (08:50 +0100)]
ncurses' winch and mvwinch return an unsigned long
Christian Heimes [Wed, 4 Dec 2013 07:50:22 +0000 (08:50 +0100)]
ncurses' winch and mvwinch return an unsigned long
Christian Heimes [Wed, 4 Dec 2013 07:42:46 +0000 (08:42 +0100)]
upcast int to size_t to silence two autological-constant-out-of-range-compare warnings with clang.
Tim Peters [Wed, 4 Dec 2013 03:33:31 +0000 (21:33 -0600)]
Null merge from 3.3 branch.
Tim Peters [Wed, 4 Dec 2013 03:02:05 +0000 (21:02 -0600)]
Issue #19138: doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.
(grafted from
c80083ad142db2939507800c755082293a87f2de )
Tim Peters [Wed, 4 Dec 2013 03:02:05 +0000 (21:02 -0600)]
Issue #19138: doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.
Victor Stinner [Wed, 4 Dec 2013 00:47:46 +0000 (01:47 +0100)]
Close #19741: tracemalloc_realloc() does not release the table lock anymore
between tracemalloc_remove_trace() and tracemalloc_add_trace() to reduce the
risk of race condition.
tracemalloc_add_trace() cannot fail anymore in tracemalloc_realloc() when
tracemalloc_realloc() resizes a memory block.
Victor Stinner [Wed, 4 Dec 2013 00:29:35 +0000 (01:29 +0100)]
Close #19757: Cleanup tracemalloc, move
PyGILState_Ensure()/PyGILState_Release() calls to the raw wrappers to simplify
the code.
Rename also tracemalloc_log_alloc/log_free() to
tracemalloc_add_trace/remove_trace().
Victor Stinner [Tue, 3 Dec 2013 23:41:24 +0000 (00:41 +0100)]
Close #19827: On UNIX, setblocking() and settimeout() methods of socket.socket
can now avoid a second syscall if the ioctl() function can be used, or if the
non-blocking flag of the socket is unchanged.
Victor Stinner [Tue, 3 Dec 2013 18:17:25 +0000 (19:17 +0100)]
asyncio doc: oh, asyncio module has its own Future class
Improve also wait() documentation: mention that the first parameter is a
sequence
Victor Stinner [Tue, 3 Dec 2013 17:23:52 +0000 (18:23 +0100)]
Fix typo in asyncio.AbstractServer documentation
Victor Stinner [Tue, 3 Dec 2013 16:37:31 +0000 (17:37 +0100)]
asyncio doc: add one more example of coroutines
Antoine Pitrou [Tue, 3 Dec 2013 16:13:13 +0000 (17:13 +0100)]
Issue #19877: fix regression in test_pathlib when Windows has symlink support available (i.e. in administrator mode).
Patch by Vajrasky Kok.
Victor Stinner [Tue, 3 Dec 2013 14:04:36 +0000 (15:04 +0100)]
ayncio: replace the disclamer with a seealso section
Victor Stinner [Tue, 3 Dec 2013 14:04:18 +0000 (15:04 +0100)]
asyncio doc: simplify ping example, remove the useless timeout
Stefan Krah [Tue, 3 Dec 2013 13:38:56 +0000 (14:38 +0100)]
Null merge.
Stefan Krah [Tue, 3 Dec 2013 13:33:46 +0000 (14:33 +0100)]
Make a couple of parameters constant.
Stefan Krah [Tue, 3 Dec 2013 13:33:46 +0000 (14:33 +0100)]
Make a couple of parameters constant.
Stefan Krah [Tue, 3 Dec 2013 12:55:20 +0000 (13:55 +0100)]
Issue #9709: Stop adding PyInit_" + module_name' to export_symbols. This is
already done by PyMODINIT_FUNC.
Vinay Sajip [Tue, 3 Dec 2013 12:31:23 +0000 (12:31 +0000)]
Added some diagnostics to help with #19690.
Vinay Sajip [Tue, 3 Dec 2013 11:29:45 +0000 (11:29 +0000)]
Closes #19665: Merged fi from 3.3.
Vinay Sajip [Tue, 3 Dec 2013 11:28:55 +0000 (11:28 +0000)]
Issue #19665: Increased timeout for SMTPHandler test.
Antoine Pitrou [Tue, 3 Dec 2013 10:01:08 +0000 (11:01 +0100)]
Add a test for complex symlinks.
Antoine Pitrou [Tue, 3 Dec 2013 08:51:40 +0000 (09:51 +0100)]
Issue #19800: make the pickle framing tests more precise.
Antoine Pitrou [Tue, 3 Dec 2013 08:41:35 +0000 (09:41 +0100)]
Issue #19872: remove unused imports in pathlib. Patch by Vajrasky Kok.
Guido van Rossum [Tue, 3 Dec 2013 02:36:30 +0000 (18:36 -0800)]
asyncio: Improve default writelines().
Victor Stinner [Tue, 3 Dec 2013 01:05:42 +0000 (02:05 +0100)]
asyncio doc: fix definition of stop() method
Victor Stinner [Tue, 3 Dec 2013 00:59:38 +0000 (01:59 +0100)]
asyncio doc: reorder methods; typo
Victor Stinner [Tue, 3 Dec 2013 00:49:43 +0000 (01:49 +0100)]
asyncio io: group transports and protocols in a new title
Victor Stinner [Tue, 3 Dec 2013 00:46:39 +0000 (01:46 +0100)]
asyncio doc: write a complete TCP echo example, client and server
Example based on tcp_echo.py example from Tulip source code.
Victor Stinner [Tue, 3 Dec 2013 00:22:06 +0000 (01:22 +0100)]
asyncio doc: move coroutine example to the Task page
Victor Stinner [Tue, 3 Dec 2013 00:08:00 +0000 (01:08 +0100)]
Split asyncio documentation into subfiles
Victor Stinner [Mon, 2 Dec 2013 23:56:27 +0000 (00:56 +0100)]
asyncio doc: change level of titles
Remove also a duplicated Protocols section!
Victor Stinner [Mon, 2 Dec 2013 23:49:26 +0000 (00:49 +0100)]
asyncio doc: reorder sections
Victor Stinner [Mon, 2 Dec 2013 23:42:59 +0000 (00:42 +0100)]
asyncio: document wait() function
Victor Stinner [Mon, 2 Dec 2013 23:32:48 +0000 (00:32 +0100)]
asyncio doc
* complete create_connection() prototype
* link to Server
* document get_extra_info() keys
Antoine Pitrou [Mon, 2 Dec 2013 20:25:18 +0000 (21:25 +0100)]
Issue #19852: move Path._raw_open() around, as it is now a private method.
Patch by Vajrasky Kok.
Christian Heimes [Mon, 2 Dec 2013 19:59:28 +0000 (20:59 +0100)]
add check_hostname arg to ssl._create_stdlib_context()
Christian Heimes [Mon, 2 Dec 2013 19:44:17 +0000 (20:44 +0100)]
Issue #19785: smtplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
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)