]>
granicus.if.org Git - python/log
Benjamin Peterson [Thu, 31 Oct 2013 05:21:06 +0000 (01:21 -0400)]
merge 3.3
Benjamin Peterson [Thu, 31 Oct 2013 05:20:58 +0000 (01:20 -0400)]
make string literal const
Vinay Sajip [Thu, 31 Oct 2013 01:11:17 +0000 (01:11 +0000)]
Merged documentation update from 3.3.
Vinay Sajip [Thu, 31 Oct 2013 01:10:30 +0000 (01:10 +0000)]
Corrected some incorrect cross-references.
Guido van Rossum [Wed, 30 Oct 2013 21:56:49 +0000 (14:56 -0700)]
asyncio: Add new file (forgotten).
Guido van Rossum [Wed, 30 Oct 2013 21:52:03 +0000 (14:52 -0700)]
asyncio: Add support for running subprocesses on Windows with the IOCP event loop (Richard Oudkerk).
Guido van Rossum [Wed, 30 Oct 2013 21:44:05 +0000 (14:44 -0700)]
asyncio: Make the IOCP proactor support "waitable" handles (Richard Oudkerk).
Guido van Rossum [Wed, 30 Oct 2013 21:38:05 +0000 (14:38 -0700)]
asyncio: Update some comments.
Guido van Rossum [Wed, 30 Oct 2013 21:36:58 +0000 (14:36 -0700)]
asyncio: When not closing the connection after receiving EOF, still remove the read handler.
Charles-François Natali [Wed, 30 Oct 2013 19:31:04 +0000 (20:31 +0100)]
Issue #19172: Add a get_map() method to selectors.
Victor Stinner [Wed, 30 Oct 2013 18:57:52 +0000 (19:57 +0100)]
Issue #19437: Fix select.epoll.poll(), fix code handling PyMem_New() error
The bug was introduced with the select.epoll module! So it's 5 years old :-)
Victor Stinner [Wed, 30 Oct 2013 17:55:24 +0000 (18:55 +0100)]
Issue #19437: Fix os.statvfs(), handle errors
Victor Stinner [Wed, 30 Oct 2013 17:27:13 +0000 (18:27 +0100)]
Issue #19424: Fix a compiler warning
memcmp() just takes raw pointers
Benjamin Peterson [Wed, 30 Oct 2013 16:51:16 +0000 (12:51 -0400)]
merge 3.3 (#19435)
Benjamin Peterson [Wed, 30 Oct 2013 16:50:18 +0000 (12:50 -0400)]
merge 3.2 (#19435)
Benjamin Peterson [Wed, 30 Oct 2013 16:48:59 +0000 (12:48 -0400)]
merge 3.1 (#19435)
Benjamin Peterson [Wed, 30 Oct 2013 16:43:09 +0000 (12:43 -0400)]
use the collapsed path in the run_cgi method (closes #19435)
Benjamin Peterson [Wed, 30 Oct 2013 02:25:55 +0000 (22:25 -0400)]
merge 3.3
Benjamin Peterson [Wed, 30 Oct 2013 02:25:06 +0000 (22:25 -0400)]
update comment
Victor Stinner [Tue, 29 Oct 2013 23:04:59 +0000 (00:04 +0100)]
Issue #19442: Fix warnings emitted during Python shutdown
Warnings may be emitted during Python shutdown, like "unclosed file XXX".
During shutdown, globals()['__main__'] may be None.
Victor Stinner [Tue, 29 Oct 2013 22:58:05 +0000 (23:58 +0100)]
Issue #19424: Fix test_warnings for locale encoding unable to encode
"\xe9\u20ac" characters
Victor Stinner [Tue, 29 Oct 2013 22:43:41 +0000 (23:43 +0100)]
Issue #19424: Fix the warnings module to accept filename containing surrogate
characters.
Victor Stinner [Tue, 29 Oct 2013 22:31:50 +0000 (23:31 +0100)]
Issue #19424: Optimize PyUnicode_CompareWithASCIIString()
Use fast memcmp() instead of a loop using the slow PyUnicode_READ() macro.
strlen() is still necessary to check Unicode string containing null bytes.
Ned Deily [Tue, 29 Oct 2013 22:00:48 +0000 (15:00 -0700)]
Issue #19373: Add Misc/NEWS entry.
Christian Heimes [Tue, 29 Oct 2013 21:21:16 +0000 (22:21 +0100)]
merge
Christian Heimes [Tue, 29 Oct 2013 21:20:52 +0000 (22:20 +0100)]
merge
Christian Heimes [Tue, 29 Oct 2013 21:19:39 +0000 (22:19 +0100)]
fix language
Tim Golden [Tue, 29 Oct 2013 21:07:12 +0000 (21:07 +0000)]
Null merge
Tim Golden [Tue, 29 Oct 2013 21:02:25 +0000 (21:02 +0000)]
Issue 15792 Correct build options on Win64. Patch by Jeremy Kloth.
Antoine Pitrou [Tue, 29 Oct 2013 20:31:25 +0000 (21:31 +0100)]
Issue #17936: Fix O(n**2) behaviour when adding or removing many subclasses of a given type.
Christian Heimes [Tue, 29 Oct 2013 20:16:58 +0000 (21:16 +0100)]
merge
Christian Heimes [Tue, 29 Oct 2013 20:11:55 +0000 (21:11 +0100)]
Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove OpenSSL re-seeding
It is causing trouble like e.g. hanging processes.
Christian Heimes [Tue, 29 Oct 2013 20:08:56 +0000 (21:08 +0100)]
Issue #18747: document issue with OpenSSL's CPRNG state and fork
Christian Heimes [Tue, 29 Oct 2013 19:50:01 +0000 (20:50 +0100)]
Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove OpenSSL re-seeding
It is causing trouble like e.g. hanging processes.
Victor Stinner [Tue, 29 Oct 2013 19:33:14 +0000 (20:33 +0100)]
Issue #19437: Fix dec_format() of the _decimal module, handle dec_strdup()
failure (memory allocation failure): raise a MemoryError exception
Victor Stinner [Tue, 29 Oct 2013 18:59:31 +0000 (19:59 +0100)]
Issue #19433: test_capi: check signness of some C types
Victor Stinner [Tue, 29 Oct 2013 18:39:52 +0000 (19:39 +0100)]
Issue #19433: test_capi: add tests on the size of some C types
Victor Stinner [Tue, 29 Oct 2013 18:31:43 +0000 (19:31 +0100)]
Issue #19437: Fix _PyUnicode_New() (constructor of legacy string), set all
attributes before checking for error. The destructor expects all attributes to
be set. It is now safe to call Py_DECREF(unicode) in the constructor.
Victor Stinner [Tue, 29 Oct 2013 18:29:52 +0000 (19:29 +0100)]
Issue #19437: Fix PyObject_CallFunction(), handle Py_VaBuildValue() and
PyTuple_New() failure
Victor Stinner [Tue, 29 Oct 2013 18:28:20 +0000 (19:28 +0100)]
Cleanup locale.localeconv(): move Py_DECREF() closer to the error
Victor Stinner [Tue, 29 Oct 2013 18:26:11 +0000 (19:26 +0100)]
Issue #19437: Fix convert_op_cmp() of decimal.Decimal rich comparator, handle
PyObject_IsInstance() failure
Victor Stinner [Tue, 29 Oct 2013 15:05:14 +0000 (16:05 +0100)]
Issue #19437: Fix Array_subscript() of ctypes, handle Array_item() failure
Christian Heimes [Tue, 29 Oct 2013 11:14:55 +0000 (12:14 +0100)]
Issue #19420: Fix reference leak in module initalization code of _hashopenssl.c
Victor Stinner [Tue, 29 Oct 2013 10:34:05 +0000 (11:34 +0100)]
Issue #18609: Add a fast-path for "iso8859-1" encoding
On AIX, the locale encoding may be "iso8859-1", which was not a known syntax of
the legacy ISO 8859-1 encoding.
Using a C codec instead of a Python codec is faster but also avoids tricky
issues during Python startup or complex code.
Victor Stinner [Tue, 29 Oct 2013 09:56:34 +0000 (10:56 +0100)]
fix indent
Georg Brandl [Tue, 29 Oct 2013 07:17:08 +0000 (08:17 +0100)]
merge with 3.3
Georg Brandl [Tue, 29 Oct 2013 07:16:56 +0000 (08:16 +0100)]
Clarify sentence.
Georg Brandl [Tue, 29 Oct 2013 07:14:51 +0000 (08:14 +0100)]
Closes #19416: fix references in the nntplib docs.
Georg Brandl [Tue, 29 Oct 2013 07:10:36 +0000 (08:10 +0100)]
Fix wrong signature for two-argument newwin(). Found by Jacqueline Leykam on docs@.
Georg Brandl [Tue, 29 Oct 2013 07:05:10 +0000 (08:05 +0100)]
Fix typo: js_JP is not a valid locale.
Victor Stinner [Tue, 29 Oct 2013 02:50:45 +0000 (03:50 +0100)]
Issue #18408: Fix PyCStructUnionType_update_stgdict(), handle
_ctypes_alloc_format_string() failure
Victor Stinner [Tue, 29 Oct 2013 02:50:21 +0000 (03:50 +0100)]
Issue #18408: Fix _ctypes_alloc_format_string(), raise MemoryError on memory
allocation failure
Victor Stinner [Tue, 29 Oct 2013 02:15:37 +0000 (03:15 +0100)]
Issue #18408: Fix bytearrayiter.partition()/rpartition(), handle
PyByteArray_FromStringAndSize() failure (ex: on memory allocation failure)
Victor Stinner [Tue, 29 Oct 2013 02:14:22 +0000 (03:14 +0100)]
Issue #18408: Fix error handling in PyBytes_FromObject()
_PyBytes_Resize(&new) sets new to NULL on error, don't call Py_DECREF() with NULL.
Victor Stinner [Tue, 29 Oct 2013 01:23:46 +0000 (02:23 +0100)]
Issue #18408: Fix iobase_readline(), handle PyByteArray_Resize() failure
Victor Stinner [Tue, 29 Oct 2013 00:46:24 +0000 (01:46 +0100)]
Issue #18408: Fix zipimport, handle PyUnicode_Substring() and get_subname() failures
Victor Stinner [Tue, 29 Oct 2013 00:43:44 +0000 (01:43 +0100)]
Issue #19428: zipimport now handles errors when reading truncated or invalid
ZIP archive.
Victor Stinner [Tue, 29 Oct 2013 00:28:23 +0000 (01:28 +0100)]
Issue #18408: Fix PyUnicode_AsUTF8AndSize(), raise MemoryError exception on
memory allocation failure
Victor Stinner [Tue, 29 Oct 2013 00:19:37 +0000 (01:19 +0100)]
Issue #18408: Add a new PyFrame_FastToLocalsWithError() function to handle
exceptions when merging fast locals into f_locals of a frame.
PyEval_GetLocals() now raises an exception and return NULL on failure.
Victor Stinner [Mon, 28 Oct 2013 23:59:44 +0000 (00:59 +0100)]
CJK codecs: less magical macros, semicolon is now explicit
Victor Stinner [Mon, 28 Oct 2013 23:19:27 +0000 (00:19 +0100)]
CJK codecs: less magic macros, require explicit semicolon
Richard Oudkerk [Mon, 28 Oct 2013 23:11:58 +0000 (23:11 +0000)]
Issue #19425 -- a pickling error should not cause pool to hang.
Victor Stinner [Mon, 28 Oct 2013 23:09:41 +0000 (00:09 +0100)]
CJK codecs: add newlines for readability
Victor Stinner [Mon, 28 Oct 2013 22:54:13 +0000 (23:54 +0100)]
CJK codecs: use less magic and more readable macros, write explicit if
Victor Stinner [Mon, 28 Oct 2013 22:47:26 +0000 (23:47 +0100)]
CJK codecs: remove unused TRYMAP_ENC_MPLANE macro
Victor Stinner [Mon, 28 Oct 2013 22:18:39 +0000 (23:18 +0100)]
Issue #18509: handle PyUnicode_Writer() error
Richard Oudkerk [Mon, 28 Oct 2013 23:23:04 +0000 (23:23 +0000)]
Merge.
Nadeem Vawda [Mon, 28 Oct 2013 20:41:24 +0000 (21:41 +0100)]
#19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).
The underlying C libraries provide no mechanism for serializing compressor and
decompressor objects, so actually pickling these classes is impractical.
Previously, these objects would be pickled without error, but attempting to use
a deserialized instance would segfault the interpreter.
Nadeem Vawda [Mon, 28 Oct 2013 20:35:23 +0000 (21:35 +0100)]
#19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).
The underlying C libraries provide no mechanism for serializing compressor and
decompressor objects, so actually pickling these classes is impractical.
Previously, these objects would be pickled without error, but attempting to use
a deserialized instance would segfault the interpreter.
Victor Stinner [Mon, 28 Oct 2013 18:16:21 +0000 (19:16 +0100)]
Issue #19421: add an unit test for warnings.warn() during finalization
Victor Stinner [Mon, 28 Oct 2013 17:47:22 +0000 (18:47 +0100)]
Issue #19421: fix a check in warnings.warn() to be able to use it during Python
finalization.
sys.argv is set to None during Python finalization: add PyList_Check() to avoid
a crash in PyList_Size().
Georg Brandl [Mon, 28 Oct 2013 07:08:09 +0000 (08:08 +0100)]
null merge with 3.3
Georg Brandl [Mon, 28 Oct 2013 07:05:26 +0000 (08:05 +0100)]
Add NEWS header for 3.3.4.
Ned Deily [Mon, 28 Oct 2013 02:50:34 +0000 (19:50 -0700)]
Issue #19373: merge from 3.3
Ned Deily [Mon, 28 Oct 2013 02:49:29 +0000 (19:49 -0700)]
Issue #19373: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
screen refresh problem.
Tim Golden [Sun, 27 Oct 2013 20:04:12 +0000 (20:04 +0000)]
Issue 15792 Correct build options on Win64. Patch by Jeremy Kloth.
Serhiy Storchaka [Sun, 27 Oct 2013 10:38:01 +0000 (12:38 +0200)]
Fixed merge test for Tcl/Tk <8.5 (issue #18964).
Georg Brandl [Sun, 27 Oct 2013 08:49:33 +0000 (09:49 +0100)]
Added tag v3.3.3rc1 for changeset
fd53c500f8b8
Georg Brandl [Sun, 27 Oct 2013 08:41:57 +0000 (09:41 +0100)]
Skip overzealous test for existence of the online license.html for pre-release versions.
Georg Brandl [Sun, 27 Oct 2013 08:22:59 +0000 (09:22 +0100)]
Bump to 3.3.3rc1.
Georg Brandl [Sun, 27 Oct 2013 08:16:01 +0000 (09:16 +0100)]
Fix markup errors in the docs and amend suspicious ignores.
Georg Brandl [Sun, 27 Oct 2013 08:08:16 +0000 (09:08 +0100)]
Update pydoc topics.
Georg Brandl [Sun, 27 Oct 2013 06:56:11 +0000 (07:56 +0100)]
Issue #19227: Try to fix deadlocks caused by re-seeding then OpenSSL
pseudo-random number generator on fork().
Georg Brandl [Sun, 27 Oct 2013 06:39:36 +0000 (07:39 +0100)]
merge
Georg Brandl [Sun, 27 Oct 2013 06:34:48 +0000 (07:34 +0100)]
Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more than
100 headers are read. Adapted from patch by Jyrki Pulliainen.
Georg Brandl [Sun, 27 Oct 2013 06:29:47 +0000 (07:29 +0100)]
Issue #16040: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
Georg Brandl [Sun, 27 Oct 2013 06:23:53 +0000 (07:23 +0100)]
Issue #16041: CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
Georg Brandl [Sun, 27 Oct 2013 06:16:53 +0000 (07:16 +0100)]
Issue #17997: Change behavior of ``ssl.match_hostname()`` to follow RFC 6125,
for security reasons. It now doesn't match multiple wildcards nor wildcards
inside IDN fragments.
Serhiy Storchaka [Sun, 27 Oct 2013 06:04:58 +0000 (08:04 +0200)]
Issue #19405: Fixed outdated comments in the _sre module.
Georg Brandl [Sun, 27 Oct 2013 05:52:14 +0000 (06:52 +0100)]
Issue #16039: CVE-2013-1752: Change use of readline in imaplib module to limit
line length. Patch by Emil Lind.
Ned Deily [Sun, 27 Oct 2013 05:22:07 +0000 (22:22 -0700)]
Issue #15663: Force IDLE.app to run the GUI process in 32-bit mode.
This mitigates the current Aqua Tk refresh problem on OS X 10.9
by backporting 2.7.x behavior and is transparent to the user.
Benjamin Peterson [Sat, 26 Oct 2013 17:13:51 +0000 (13:13 -0400)]
just return toplevel symbol table rather than all blocks (closes #19393)
Ned Deily [Sat, 26 Oct 2013 10:16:44 +0000 (03:16 -0700)]
Issue #15663: OS X installer builtin Tcl/Tk support
Make it easier for users to make use of the backup _tkinter linked
with the third-party Tcl and Tk frameworks in /Library/Frameworks.
The two tkinter variants are now installed in separate directories
under a new lib-tkinter. This allows per-user selection by
manipulating sys.path, directly or with PYTHONPATH. If this
proves useful, we can supply a more convenient user interface
to supply the paths. For now, this remains somewhat experimental.
Victor Stinner [Sat, 26 Oct 2013 07:16:29 +0000 (09:16 +0200)]
Close #19339: telnetlib module is now using time.monotonic() when available to
compute timeout.
Ned Deily [Fri, 25 Oct 2013 23:03:35 +0000 (16:03 -0700)]
Issue #19400: Prevent extension module build failures with Xcode 5 on OS X
10.8+ when using a universal Python that included a PPC architecture,
such as with a python.org 32-bit-only binary installer.
Brett Cannon [Fri, 25 Oct 2013 17:46:15 +0000 (13:46 -0400)]
Issue #19392: Document that imp.reload() now relies on __loader__
being defined on top of __name__.
Tim Golden [Fri, 25 Oct 2013 17:38:16 +0000 (18:38 +0100)]
Issue14255 Don't flatten case of tempdir
Victor Stinner [Sun, 27 Oct 2013 16:15:42 +0000 (17:15 +0100)]
Issue #18520: fix reference leak in _PySys_Init()
Serhiy Storchaka [Sun, 27 Oct 2013 10:38:59 +0000 (12:38 +0200)]
Null merge
Larry Hastings [Sun, 27 Oct 2013 09:49:39 +0000 (02:49 -0700)]
Issue #19390: Argument Clinic no longer accepts malformed Python and C ids.