]>
granicus.if.org Git - python/log
Victor Stinner [Thu, 26 Feb 2015 09:39:31 +0000 (10:39 +0100)]
Merge 3.4 (asyncio doc)
Victor Stinner [Thu, 26 Feb 2015 09:39:16 +0000 (10:39 +0100)]
asyncio doc: lock classes are not thread safe
Steve Dower [Thu, 26 Feb 2015 04:48:01 +0000 (20:48 -0800)]
Back-out wcstok deprecation suppression and updates calls to use wcstok_s.
Steve Dower [Thu, 26 Feb 2015 04:38:31 +0000 (20:38 -0800)]
Adds _CRT_NON_CONFORMING_WCSTOK to retain two-parameter wcstok.
Benjamin Peterson [Wed, 25 Feb 2015 21:47:20 +0000 (16:47 -0500)]
merge 3.4
Benjamin Peterson [Wed, 25 Feb 2015 21:47:14 +0000 (16:47 -0500)]
remove unused import
Berker Peksag [Wed, 25 Feb 2015 16:14:47 +0000 (18:14 +0200)]
Issue #23511: Port email-simple.py to Python 3.
Also, update email examples to use the context manager version of open().
Patch by Baptiste Mispelon.
Berker Peksag [Wed, 25 Feb 2015 16:14:09 +0000 (18:14 +0200)]
Issue #23511: Port email-simple.py to Python 3.
Also, update email examples to use the context manager version of open().
Patch by Baptiste Mispelon.
Benjamin Peterson [Wed, 25 Feb 2015 15:16:56 +0000 (10:16 -0500)]
merge 3.4 (#23515)
Benjamin Peterson [Wed, 25 Feb 2015 15:12:26 +0000 (10:12 -0500)]
fix merge_collapse to actually maintain the invariant it purports to (closes #23515)
See
de Gouw, Stijn and Rot, Jurriaan and de Boer, Frank S and Bubel, Richard and Hähnle, Reiner
"OpenJDK’s java.utils.Collection.sort() is broken: The good, the bad and the worst case"
Victor Stinner [Wed, 25 Feb 2015 13:24:47 +0000 (14:24 +0100)]
Merge 3.4 (asyncio doc)
Victor Stinner [Wed, 25 Feb 2015 13:24:15 +0000 (14:24 +0100)]
asyncio: add a note about (non) thread safety in each class
Victor Stinner [Wed, 25 Feb 2015 13:23:51 +0000 (14:23 +0100)]
asyncio doc: begin with warnings on asyncio traps
Victor Stinner [Wed, 25 Feb 2015 12:55:43 +0000 (13:55 +0100)]
asyncio doc: move queues to a new page
Georg Brandl [Wed, 25 Feb 2015 12:07:03 +0000 (13:07 +0100)]
Merge with 3.4
Georg Brandl [Wed, 25 Feb 2015 12:05:53 +0000 (13:05 +0100)]
Remove unsupported (in latex) character from the source.
Steve Dower [Mon, 23 Feb 2015 15:56:13 +0000 (07:56 -0800)]
Issue 23314: SuppressCrashReports now disables CRT assertions
SuppressCrashReports should be used in test subprocesses that test invalid conditions.
Victor Stinner [Mon, 23 Feb 2015 10:42:22 +0000 (11:42 +0100)]
Merge 3.4 (asyncio doc)
Victor Stinner [Mon, 23 Feb 2015 10:41:56 +0000 (11:41 +0100)]
asyncio doc: close explicitly event loops
Ned Deily [Mon, 23 Feb 2015 00:15:14 +0000 (16:15 -0800)]
Issue #23499: Fix grammar error noticed by SilentGhost
Ned Deily [Mon, 23 Feb 2015 00:14:32 +0000 (16:14 -0800)]
Issue #23499: Fix grammar error noticed by SilentGhost
Serhiy Storchaka [Sun, 22 Feb 2015 22:31:33 +0000 (00:31 +0200)]
Broke reference loops in tests added in issue #5700.
Serhiy Storchaka [Sun, 22 Feb 2015 22:28:38 +0000 (00:28 +0200)]
Broke reference loops in tests added in issue #5700.
Serhiy Storchaka [Sun, 22 Feb 2015 19:34:54 +0000 (21:34 +0200)]
Issue #23152: Move declarations back to posixmodule.c.
Declarations of Windows-specific auxilary functions need Windows types
from windows.h. Instead of including windows.h in Python.h and making
it available to all Windows users, it is simpler and safer just move
declarations to the single file that needs them.
Serhiy Storchaka [Sun, 22 Feb 2015 17:39:36 +0000 (19:39 +0200)]
Issue #23152: Move declaration into a header and exclude from stable API.
Serhiy Storchaka [Sun, 22 Feb 2015 15:26:35 +0000 (17:26 +0200)]
Issue #6639: Module-level turtle functions no longer raise TclError after
closing the window.
Serhiy Storchaka [Sun, 22 Feb 2015 15:25:33 +0000 (17:25 +0200)]
Issue #6639: Module-level turtle functions no longer raise TclError after
closing the window.
Steve Dower [Sat, 21 Feb 2015 23:26:02 +0000 (15:26 -0800)]
Issue #23152: Renames time_t_to_FILE_TIME to _Py_time_t_to_FILE_TIME, removes unused struct win32_stat and return value
Steve Dower [Sat, 21 Feb 2015 18:04:10 +0000 (10:04 -0800)]
Issue #23152: Renames attribute_data_to_stat to _Py_attribute_data_to_stat
Steve Dower [Sat, 21 Feb 2015 16:44:05 +0000 (08:44 -0800)]
Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on Windows.
fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer.
Serhiy Storchaka [Sat, 21 Feb 2015 10:10:59 +0000 (12:10 +0200)]
Null merge
Serhiy Storchaka [Sat, 21 Feb 2015 10:08:52 +0000 (12:08 +0200)]
Issues #814253, #9179: Warnings now are raised when group references and
conditional group references are used in lookbehind assertions in regular
expressions.
Serhiy Storchaka [Sat, 21 Feb 2015 08:07:35 +0000 (10:07 +0200)]
Issues #814253, #9179: Group references and conditional group references now
work in lookbehind assertions in regular expressions.
Serhiy Storchaka [Fri, 20 Feb 2015 23:21:08 +0000 (01:21 +0200)]
Issue #23215: Multibyte codecs with custom error handlers that ignores errors
consumed too much memory and raised SystemError or MemoryError.
Original patch by Aleksi Torhamo.
Serhiy Storchaka [Fri, 20 Feb 2015 23:19:58 +0000 (01:19 +0200)]
Issue #23215: Multibyte codecs with custom error handlers that ignores errors
consumed too much memory and raised SystemError or MemoryError.
Original patch by Aleksi Torhamo.
Serhiy Storchaka [Fri, 20 Feb 2015 22:35:53 +0000 (00:35 +0200)]
Issue #5700: io.FileIO() called flush() after closing the file.
flush() was not called in close() if closefd=False.
Serhiy Storchaka [Fri, 20 Feb 2015 22:35:09 +0000 (00:35 +0200)]
Issue #5700: io.FileIO() called flush() after closing the file.
flush() was not called in close() if closefd=False.
Serhiy Storchaka [Fri, 20 Feb 2015 21:47:09 +0000 (23:47 +0200)]
Issue #23374: Fixed pydoc failure with non-ASCII files when stdout encoding
differs from file system encoding (e.g. on Mac OS).
Serhiy Storchaka [Fri, 20 Feb 2015 21:46:06 +0000 (23:46 +0200)]
Issue #23374: Fixed pydoc failure with non-ASCII files when stdout encoding
differs from file system encoding (e.g. on Mac OS).
Serhiy Storchaka [Fri, 20 Feb 2015 19:34:39 +0000 (21:34 +0200)]
Issue #23490: Fixed possible crashes related to interoperability between
old-style and new API for string with 2**30-1 characters.
Serhiy Storchaka [Fri, 20 Feb 2015 19:34:06 +0000 (21:34 +0200)]
Issue #23490: Fixed possible crashes related to interoperability between
old-style and new API for string with 2**30-1 characters.
Steve Dower [Fri, 20 Feb 2015 17:08:48 +0000 (09:08 -0800)]
Closes #23018: Replace copyright symbol with escape.
Steve Dower [Fri, 20 Feb 2015 16:23:23 +0000 (08:23 -0800)]
Removes unused string resources from Windows installer.
Brett Cannon [Fri, 20 Feb 2015 15:34:20 +0000 (10:34 -0500)]
Issue #23422: Clarify some things around importlib.import_module()
Brett Cannon [Fri, 20 Feb 2015 14:48:18 +0000 (09:48 -0500)]
Issue #22834: Fix a failing test under Solaris due to the platform not
allowing the deletion of the cwd.
Thanks to Martin Panter for the initial fix.
Berker Peksag [Fri, 20 Feb 2015 12:57:31 +0000 (14:57 +0200)]
Issue #23442: Rename two member names to stay backward compatible
with the constants in http.client.
Initial patch by Demian Brecht.
Serhiy Storchaka [Fri, 20 Feb 2015 10:46:11 +0000 (12:46 +0200)]
Regenerated Argument Clinic checksums.
Raymond Hettinger [Fri, 20 Feb 2015 08:50:04 +0000 (00:50 -0800)]
Improve struct cache locality by bring commonly accessed fields close together.
Berker Peksag [Fri, 20 Feb 2015 07:45:05 +0000 (09:45 +0200)]
Issue #23439: Add missing entries to http.client.__all__.
Also, document the LineTooLong exception since it can be raised by
the members of public API (e.g. http.client.HTTPResponse).
Patch by Martin Panter.
Berker Peksag [Fri, 20 Feb 2015 07:39:38 +0000 (09:39 +0200)]
Issue #23439: Add missing entries to http.client.__all__.
Also, document the LineTooLong exception since it can be raised by
the members of public API (e.g. http.client.HTTPResponse).
Patch by Martin Panter.
Zachary Ware [Fri, 20 Feb 2015 04:31:29 +0000 (22:31 -0600)]
Null merge with 3.4
(Typo was already fixed on this branch.)
Zachary Ware [Fri, 20 Feb 2015 04:30:15 +0000 (22:30 -0600)]
Fix typo pointed out on docs@ by Yaniv Sayeh
Zachary Ware [Fri, 20 Feb 2015 04:15:54 +0000 (22:15 -0600)]
Merge with 3.4
Zachary Ware [Fri, 20 Feb 2015 04:15:36 +0000 (22:15 -0600)]
Fix a typo pointed out on docs@
Benjamin Peterson [Thu, 19 Feb 2015 22:58:19 +0000 (17:58 -0500)]
merge 3.4 (#23481)
Benjamin Peterson [Thu, 19 Feb 2015 22:57:08 +0000 (17:57 -0500)]
remove rc4 from the default client ciphers (closes #23481)
Steve Dower [Thu, 19 Feb 2015 02:02:22 +0000 (18:02 -0800)]
Closes #23482: sqlite3_d.dll is not included in installer
Benjamin Peterson [Wed, 18 Feb 2015 13:56:47 +0000 (08:56 -0500)]
merge 3.4
Benjamin Peterson [Wed, 18 Feb 2015 13:56:43 +0000 (08:56 -0500)]
merge heads
Benjamin Peterson [Wed, 18 Feb 2015 13:56:33 +0000 (08:56 -0500)]
merge heads
Benjamin Peterson [Wed, 18 Feb 2015 13:55:59 +0000 (08:55 -0500)]
merge 3.4
Benjamin Peterson [Wed, 18 Feb 2015 13:55:38 +0000 (08:55 -0500)]
merge 3.3
Benjamin Peterson [Wed, 18 Feb 2015 13:54:22 +0000 (08:54 -0500)]
merge 3.2
Benjamin Peterson [Wed, 18 Feb 2015 13:52:46 +0000 (08:52 -0500)]
remove RPM, since it's unused and unmaintained
Serhiy Storchaka [Wed, 18 Feb 2015 06:05:05 +0000 (08:05 +0200)]
Issue #23474: Enhanced locale testing.
Serhiy Storchaka [Wed, 18 Feb 2015 06:04:37 +0000 (08:04 +0200)]
Issue #23474: Enhanced locale testing.
Benjamin Peterson [Wed, 18 Feb 2015 02:13:30 +0000 (21:13 -0500)]
merge 3.4 (#23410)
Benjamin Peterson [Wed, 18 Feb 2015 02:11:10 +0000 (21:11 -0500)]
document the requestline and close_connection attributes, use real booleans, and add tests (closes #23410)
Patch by Martin Panter.
Victor Stinner [Tue, 17 Feb 2015 22:36:19 +0000 (23:36 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Tue, 17 Feb 2015 22:36:02 +0000 (23:36 +0100)]
asyncio: Fix warning in test_close_kill_running()
Read process exit status to avoid the "Caught subprocess termination from
unknown pid" message.
Victor Stinner [Tue, 17 Feb 2015 22:11:56 +0000 (23:11 +0100)]
Merge 3.4 (asyncio doc)
Victor Stinner [Tue, 17 Feb 2015 22:09:52 +0000 (23:09 +0100)]
asyncio, Tulip issue 220: Update doc of asyncio.Queue, add join and task_done
methods
Victor Stinner [Tue, 17 Feb 2015 22:08:35 +0000 (23:08 +0100)]
asyncio doc: fix the sphinx extension for coroutine commands
Victor Stinner [Tue, 17 Feb 2015 21:55:36 +0000 (22:55 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Tue, 17 Feb 2015 21:54:11 +0000 (22:54 +0100)]
Issue #23475, asyncio: Fix test_close_kill_running()
Really kill the child process, don't mock completly the Popen.kill() method.
This change fix memory leaks and reference leaks.
Victor Stinner [Tue, 17 Feb 2015 21:53:28 +0000 (22:53 +0100)]
asyncio, Tulip issue 220: Merge JoinableQueue with Queue.
Merge JoinableQueue with Queue. To more closely match the standard Queue,
asyncio.Queue has "join" and "task_done". JoinableQueue is deleted.
Docstring for Queue.join shouldn't mention threads.
Restore JoinableQueue as a deprecated alias for Queue. To more closely match
the standard Queue, asyncio.Queue has "join" and "task_done". JoinableQueue
remains as a deprecated alias for Queue to avoid needlessly breaking too much
code that depended on it.
Patch written by A. Jesse Jiryu Davis <jesse@mongodb.com>.
Victor Stinner [Tue, 17 Feb 2015 21:50:33 +0000 (22:50 +0100)]
asyncio: BaseSubprocessTransport: repr() mentions when the child process is
running
Serhiy Storchaka [Tue, 17 Feb 2015 08:19:07 +0000 (10:19 +0200)]
Issue #22883: Update PyInt to PyLong in C API example.
Serhiy Storchaka [Tue, 17 Feb 2015 08:18:44 +0000 (10:18 +0200)]
Issue #22883: Update PyInt to PyLong in C API example.
Serhiy Storchaka [Tue, 17 Feb 2015 08:14:30 +0000 (10:14 +0200)]
Issue #22883: Got rid of outdated references to PyInt and PyString in comments.
Benjamin Peterson [Tue, 17 Feb 2015 00:45:42 +0000 (19:45 -0500)]
merge 3.4 (#21548)
Benjamin Peterson [Tue, 17 Feb 2015 00:45:01 +0000 (19:45 -0500)]
fix pydoc.apropos and pydoc.synopsis on modules with empty docstrings (#21548)
Patch by Yuyang Guo and Berker Peksag.
Serhiy Storchaka [Mon, 16 Feb 2015 21:58:46 +0000 (23:58 +0200)]
Fixed sizeof tests for ElementTree (issue #23450).
Serhiy Storchaka [Mon, 16 Feb 2015 19:13:24 +0000 (21:13 +0200)]
Issue #23450: Silenced compiler warnings and added asserts in peephole optimizer.
Serhiy Storchaka [Mon, 16 Feb 2015 18:54:23 +0000 (20:54 +0200)]
Null merge
Serhiy Storchaka [Mon, 16 Feb 2015 18:54:03 +0000 (20:54 +0200)]
Shoould be Py_MIN, not Py_MAX.
Serhiy Storchaka [Mon, 16 Feb 2015 18:52:17 +0000 (20:52 +0200)]
Issue #23450: Fixed possible integer overflows.
Serhiy Storchaka [Mon, 16 Feb 2015 11:33:32 +0000 (13:33 +0200)]
Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer
overflows. Added few missed PyErr_NoMemory().
Serhiy Storchaka [Mon, 16 Feb 2015 11:28:22 +0000 (13:28 +0200)]
Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer
overflows. Added few missed PyErr_NoMemory().
Serhiy Storchaka [Mon, 16 Feb 2015 07:40:12 +0000 (09:40 +0200)]
Fixed few compiler warnings.
Serhiy Storchaka [Mon, 16 Feb 2015 06:35:18 +0000 (08:35 +0200)]
Issue #20069: Fixed test_os on Solaris: error message is platform depended.
Berker Peksag [Mon, 16 Feb 2015 02:36:43 +0000 (04:36 +0200)]
Issue #17753: effective_ids unavailable on Windows.
Berker Peksag [Mon, 16 Feb 2015 02:36:18 +0000 (04:36 +0200)]
Issue #17753: effective_ids unavailable on Windows.
Berker Peksag [Mon, 16 Feb 2015 01:36:45 +0000 (03:36 +0200)]
Fix typo in os.supports_effective_ids documentation.
Berker Peksag [Mon, 16 Feb 2015 01:36:10 +0000 (03:36 +0200)]
Fix typo in os.supports_effective_ids documentation.
Serhiy Storchaka [Sun, 15 Feb 2015 22:32:41 +0000 (00:32 +0200)]
Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumb
module. Original patch by Claudiu Popa.
Serhiy Storchaka [Sun, 15 Feb 2015 22:30:43 +0000 (00:30 +0200)]
Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumb
module. Original patch by Claudiu Popa.
Antoine Pitrou [Sun, 15 Feb 2015 17:12:20 +0000 (18:12 +0100)]
Issue #23239: ssl.match_hostname() now supports matching of IP addresses.
Antoine Pitrou [Sun, 15 Feb 2015 17:06:54 +0000 (18:06 +0100)]
Issue #23146: Fix mishandling of absolute Windows paths with forward slashes in pathlib.
Detected and fixed by Serhiy.
Antoine Pitrou [Sun, 15 Feb 2015 17:03:59 +0000 (18:03 +0100)]
Issue #23146: Fix mishandling of absolute Windows paths with forward slashes in pathlib.
Detected and fixed by Serhiy.