]> granicus.if.org Git - python/log
python
11 years agoIssue #19437: Fix r_PyLong() of marshal module, stop immediatly at first
Victor Stinner [Thu, 31 Oct 2013 15:56:38 +0000 (16:56 +0100)]
Issue #19437: Fix r_PyLong() of marshal module, stop immediatly at first
failure, don't read any more data

11 years agoIssue #19437: Fix newPySSLSocket(), handle PyWeakref_NewRef() failure
Victor Stinner [Thu, 31 Oct 2013 15:35:38 +0000 (16:35 +0100)]
Issue #19437: Fix newPySSLSocket(), handle PyWeakref_NewRef() failure

11 years agoIssue #19437: Fix PyCFuncPtrType constructor, handle
Victor Stinner [Thu, 31 Oct 2013 15:34:08 +0000 (16:34 +0100)]
Issue #19437: Fix PyCFuncPtrType constructor, handle
_ctypes_alloc_format_string() failure

11 years agoIssue #19437: Fix PyCArrayType constructor, raise MemoryError on PyMem_Malloc()
Victor Stinner [Thu, 31 Oct 2013 15:33:05 +0000 (16:33 +0100)]
Issue #19437: Fix PyCArrayType constructor, raise MemoryError on PyMem_Malloc()
failure

11 years agoIssue #19437: Fix fill_and_set_sslerror() of _ssl, handle Py_BuildValue()
Victor Stinner [Thu, 31 Oct 2013 14:00:24 +0000 (15:00 +0100)]
Issue #19437: Fix fill_and_set_sslerror() of _ssl, handle Py_BuildValue()
failure

Don't call PyObject_CallObject() with NULL parameters and an exception set.

11 years agoIssue #19437: Fix show_warning() of _warnings, stop at the first error to not
Victor Stinner [Thu, 31 Oct 2013 13:51:38 +0000 (14:51 +0100)]
Issue #19437: Fix show_warning() of _warnings, stop at the first error to not
call a Python function with an exception set

11 years agoIssue #19437: Fix get_filter() from _warnings, don't call PyObject_IsSubclass()
Victor Stinner [Thu, 31 Oct 2013 13:46:00 +0000 (14:46 +0100)]
Issue #19437: Fix get_filter() from _warnings, don't call PyObject_IsSubclass()
with an exception set

11 years agoNull merge for issue #19452
Eli Bendersky [Thu, 31 Oct 2013 12:55:31 +0000 (05:55 -0700)]
Null merge for issue #19452

It affects docs of 3.3 in a way that was fixed differently in 3.4

11 years agoIssue #19452: Clarify the documentation of iterparse w.r.t. events argument.
Eli Bendersky [Thu, 31 Oct 2013 12:53:39 +0000 (05:53 -0700)]
Issue #19452: Clarify the documentation of iterparse w.r.t. events argument.

In 3.3 iterparse accepts a tuple in events (the C accelerator enforces this).
This limitation was lifted in Python 3.4

11 years agoIssue #19437: Fix _pickle, don't call _Unpickler_SkipConsumed() with an
Victor Stinner [Thu, 31 Oct 2013 12:39:23 +0000 (13:39 +0100)]
Issue #19437: Fix _pickle, don't call _Unpickler_SkipConsumed() with an
exception set

11 years agocleanup _Unpickler_SkipConsumed(): remove 1 level of indentation
Victor Stinner [Thu, 31 Oct 2013 12:38:42 +0000 (13:38 +0100)]
cleanup _Unpickler_SkipConsumed(): remove 1 level of indentation

11 years agoIssue #19418 Fix some warnings on Win64
Tim Golden [Thu, 31 Oct 2013 10:25:47 +0000 (10:25 +0000)]
Issue #19418 Fix some warnings on Win64

11 years agomerge 3.3
Benjamin Peterson [Thu, 31 Oct 2013 05:21:06 +0000 (01:21 -0400)]
merge 3.3

11 years agomake string literal const
Benjamin Peterson [Thu, 31 Oct 2013 05:20:58 +0000 (01:20 -0400)]
make string literal const

11 years agoMerged documentation update from 3.3.
Vinay Sajip [Thu, 31 Oct 2013 01:11:17 +0000 (01:11 +0000)]
Merged documentation update from 3.3.

11 years agoCorrected some incorrect cross-references.
Vinay Sajip [Thu, 31 Oct 2013 01:10:30 +0000 (01:10 +0000)]
Corrected some incorrect cross-references.

11 years agoasyncio: Add new file (forgotten).
Guido van Rossum [Wed, 30 Oct 2013 21:56:49 +0000 (14:56 -0700)]
asyncio: Add new file (forgotten).

11 years agoasyncio: Add support for running subprocesses on Windows with the IOCP event loop...
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).

11 years agoasyncio: Make the IOCP proactor support "waitable" handles (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).

11 years agoasyncio: Update some comments.
Guido van Rossum [Wed, 30 Oct 2013 21:38:05 +0000 (14:38 -0700)]
asyncio: Update some comments.

11 years agoasyncio: When not closing the connection after receiving EOF, still remove the read...
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.

11 years agoIssue #19172: Add a get_map() method to selectors.
Charles-François Natali [Wed, 30 Oct 2013 19:31:04 +0000 (20:31 +0100)]
Issue #19172: Add a get_map() method to selectors.

11 years agoIssue #19437: Fix select.epoll.poll(), fix code handling PyMem_New() error
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 :-)

11 years agoIssue #19437: Fix os.statvfs(), handle errors
Victor Stinner [Wed, 30 Oct 2013 17:55:24 +0000 (18:55 +0100)]
Issue #19437: Fix os.statvfs(), handle errors

11 years agoIssue #19424: Fix a compiler warning
Victor Stinner [Wed, 30 Oct 2013 17:27:13 +0000 (18:27 +0100)]
Issue #19424: Fix a compiler warning

memcmp() just takes raw pointers

11 years agomerge 3.3 (#19435)
Benjamin Peterson [Wed, 30 Oct 2013 16:51:16 +0000 (12:51 -0400)]
merge 3.3 (#19435)

11 years agomerge 3.2 (#19435)
Benjamin Peterson [Wed, 30 Oct 2013 16:50:18 +0000 (12:50 -0400)]
merge 3.2 (#19435)

11 years agomerge 3.1 (#19435)
Benjamin Peterson [Wed, 30 Oct 2013 16:48:59 +0000 (12:48 -0400)]
merge 3.1 (#19435)

11 years agouse the collapsed path in the run_cgi method (closes #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)

11 years agomerge 3.3
Benjamin Peterson [Wed, 30 Oct 2013 02:25:55 +0000 (22:25 -0400)]
merge 3.3

11 years agoupdate comment
Benjamin Peterson [Wed, 30 Oct 2013 02:25:06 +0000 (22:25 -0400)]
update comment

11 years agoIssue #19442: Fix warnings emitted during Python shutdown
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.

11 years agoIssue #19424: Fix test_warnings for locale encoding unable to encode
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

11 years agoIssue #19424: Fix the warnings module to accept filename containing surrogate
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.

11 years agoIssue #19424: Optimize PyUnicode_CompareWithASCIIString()
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.

11 years agoIssue #19373: Add Misc/NEWS entry.
Ned Deily [Tue, 29 Oct 2013 22:00:48 +0000 (15:00 -0700)]
Issue #19373: Add Misc/NEWS entry.

11 years agomerge
Christian Heimes [Tue, 29 Oct 2013 21:21:16 +0000 (22:21 +0100)]
merge

11 years agomerge
Christian Heimes [Tue, 29 Oct 2013 21:20:52 +0000 (22:20 +0100)]
merge

11 years agofix language
Christian Heimes [Tue, 29 Oct 2013 21:19:39 +0000 (22:19 +0100)]
fix language

11 years agoNull merge
Tim Golden [Tue, 29 Oct 2013 21:07:12 +0000 (21:07 +0000)]
Null merge

11 years agoIssue 15792 Correct build options on Win64. Patch by Jeremy Kloth.
Tim Golden [Tue, 29 Oct 2013 21:02:25 +0000 (21:02 +0000)]
Issue 15792 Correct build options on Win64. Patch by Jeremy Kloth.

11 years agoIssue #17936: Fix O(n**2) behaviour when adding or removing many subclasses of a...
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.

11 years agomerge
Christian Heimes [Tue, 29 Oct 2013 20:16:58 +0000 (21:16 +0100)]
merge

11 years agoIssue #19227 / Issue #18747: Remove pthread_atfork() handler to remove OpenSSL re...
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.

11 years agoIssue #18747: document issue with OpenSSL's CPRNG state and fork
Christian Heimes [Tue, 29 Oct 2013 20:08:56 +0000 (21:08 +0100)]
Issue #18747: document issue with OpenSSL's CPRNG state and fork

11 years agoIssue #19227 / Issue #18747: Remove pthread_atfork() handler to remove OpenSSL re...
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.

11 years agoIssue #19437: Fix dec_format() of the _decimal module, handle dec_strdup()
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

11 years agoIssue #19433: test_capi: check signness of some C types
Victor Stinner [Tue, 29 Oct 2013 18:59:31 +0000 (19:59 +0100)]
Issue #19433: test_capi: check signness of some C types

11 years agoIssue #19433: test_capi: add tests on the size 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

11 years agoIssue #19437: Fix _PyUnicode_New() (constructor of legacy string), set all
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.

11 years agoIssue #19437: Fix PyObject_CallFunction(), handle Py_VaBuildValue() and
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

11 years agoCleanup locale.localeconv(): move Py_DECREF() closer to the error
Victor Stinner [Tue, 29 Oct 2013 18:28:20 +0000 (19:28 +0100)]
Cleanup locale.localeconv(): move Py_DECREF() closer to the error

11 years agoIssue #19437: Fix convert_op_cmp() of decimal.Decimal rich comparator, handle
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

11 years agoIssue #19437: Fix Array_subscript() of ctypes, handle Array_item() 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

11 years agoIssue #19420: Fix reference leak in module initalization code of _hashopenssl.c
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

11 years agoIssue #18609: Add a fast-path for "iso8859-1" encoding
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.

11 years agofix indent
Victor Stinner [Tue, 29 Oct 2013 09:56:34 +0000 (10:56 +0100)]
fix indent

11 years agomerge with 3.3
Georg Brandl [Tue, 29 Oct 2013 07:17:08 +0000 (08:17 +0100)]
merge with 3.3

11 years agoClarify sentence.
Georg Brandl [Tue, 29 Oct 2013 07:16:56 +0000 (08:16 +0100)]
Clarify sentence.

11 years agoCloses #19416: fix references in the nntplib docs.
Georg Brandl [Tue, 29 Oct 2013 07:14:51 +0000 (08:14 +0100)]
Closes #19416: fix references in the nntplib docs.

11 years agoFix wrong signature for two-argument newwin(). Found by Jacqueline Leykam on 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@.

11 years agoFix typo: js_JP is not a valid locale.
Georg Brandl [Tue, 29 Oct 2013 07:05:10 +0000 (08:05 +0100)]
Fix typo: js_JP is not a valid locale.

11 years agoIssue #18408: Fix PyCStructUnionType_update_stgdict(), handle
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

11 years agoIssue #18408: Fix _ctypes_alloc_format_string(), raise MemoryError on memory
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

11 years agoIssue #18408: Fix bytearrayiter.partition()/rpartition(), handle
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)

11 years agoIssue #18408: Fix error handling in PyBytes_FromObject()
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.

11 years agoIssue #18408: Fix iobase_readline(), handle PyByteArray_Resize() failure
Victor Stinner [Tue, 29 Oct 2013 01:23:46 +0000 (02:23 +0100)]
Issue #18408: Fix iobase_readline(), handle PyByteArray_Resize() failure

11 years agoIssue #18408: Fix zipimport, handle PyUnicode_Substring() and get_subname() failures
Victor Stinner [Tue, 29 Oct 2013 00:46:24 +0000 (01:46 +0100)]
Issue #18408: Fix zipimport, handle PyUnicode_Substring() and get_subname() failures

11 years agoIssue #19428: zipimport now handles errors when reading truncated or invalid
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.

11 years agoIssue #18408: Fix PyUnicode_AsUTF8AndSize(), raise MemoryError exception on
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

11 years agoIssue #18408: Add a new PyFrame_FastToLocalsWithError() function to handle
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.

11 years agoCJK codecs: less magical macros, semicolon is now explicit
Victor Stinner [Mon, 28 Oct 2013 23:59:44 +0000 (00:59 +0100)]
CJK codecs: less magical macros, semicolon is now explicit

11 years agoCJK codecs: less magic macros, require explicit semicolon
Victor Stinner [Mon, 28 Oct 2013 23:19:27 +0000 (00:19 +0100)]
CJK codecs: less magic macros, require explicit semicolon

11 years agoIssue #19425 -- a pickling error should not cause pool to hang.
Richard Oudkerk [Mon, 28 Oct 2013 23:11:58 +0000 (23:11 +0000)]
Issue #19425 -- a pickling error should not cause pool to hang.

11 years agoCJK codecs: add newlines for readability
Victor Stinner [Mon, 28 Oct 2013 23:09:41 +0000 (00:09 +0100)]
CJK codecs: add newlines for readability

11 years agoCJK codecs: use less magic and more readable macros, write explicit if
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

11 years agoCJK codecs: remove unused TRYMAP_ENC_MPLANE macro
Victor Stinner [Mon, 28 Oct 2013 22:47:26 +0000 (23:47 +0100)]
CJK codecs: remove unused TRYMAP_ENC_MPLANE macro

11 years agoIssue #18509: handle PyUnicode_Writer() error
Victor Stinner [Mon, 28 Oct 2013 22:18:39 +0000 (23:18 +0100)]
Issue #18509: handle PyUnicode_Writer() error

11 years agoMerge.
Richard Oudkerk [Mon, 28 Oct 2013 23:23:04 +0000 (23:23 +0000)]
Merge.

11 years ago#19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).
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.

11 years ago#19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).
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.

11 years agoIssue #19421: add an unit test for warnings.warn() during finalization
Victor Stinner [Mon, 28 Oct 2013 18:16:21 +0000 (19:16 +0100)]
Issue #19421: add an unit test for warnings.warn() during finalization

11 years agoIssue #19421: fix a check in warnings.warn() to be able to use it during Python
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().

11 years agonull merge with 3.3
Georg Brandl [Mon, 28 Oct 2013 07:08:09 +0000 (08:08 +0100)]
null merge with 3.3

11 years agoAdd NEWS header for 3.3.4.
Georg Brandl [Mon, 28 Oct 2013 07:05:26 +0000 (08:05 +0100)]
Add NEWS header for 3.3.4.

11 years agoIssue #19373: merge from 3.3
Ned Deily [Mon, 28 Oct 2013 02:50:34 +0000 (19:50 -0700)]
Issue #19373: merge from 3.3

11 years agoIssue #19373: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
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.

11 years agoIssue 15792 Correct build options on Win64. Patch by Jeremy Kloth.
Tim Golden [Sun, 27 Oct 2013 20:04:12 +0000 (20:04 +0000)]
Issue 15792 Correct build options on Win64. Patch by Jeremy Kloth.

11 years agoFixed merge test for Tcl/Tk <8.5 (issue #18964).
Serhiy Storchaka [Sun, 27 Oct 2013 10:38:01 +0000 (12:38 +0200)]
Fixed merge test for Tcl/Tk <8.5 (issue #18964).

11 years agoAdded tag v3.3.3rc1 for changeset fd53c500f8b8
Georg Brandl [Sun, 27 Oct 2013 08:49:33 +0000 (09:49 +0100)]
Added tag v3.3.3rc1 for changeset fd53c500f8b8

11 years agoSkip overzealous test for existence of the online license.html for pre-release versions. v3.3.3rc1
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.

11 years agoBump to 3.3.3rc1.
Georg Brandl [Sun, 27 Oct 2013 08:22:59 +0000 (09:22 +0100)]
Bump to 3.3.3rc1.

11 years agoFix markup errors in the docs and amend suspicious ignores.
Georg Brandl [Sun, 27 Oct 2013 08:16:01 +0000 (09:16 +0100)]
Fix markup errors in the docs and amend suspicious ignores.

11 years agoUpdate pydoc topics.
Georg Brandl [Sun, 27 Oct 2013 08:08:16 +0000 (09:08 +0100)]
Update pydoc topics.

11 years agoIssue #19227: Try to fix deadlocks caused by re-seeding then OpenSSL
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().

11 years agomerge
Georg Brandl [Sun, 27 Oct 2013 06:39:36 +0000 (07:39 +0100)]
merge

11 years agoIssue #16037: HTTPMessage.readheaders() raises an HTTPException when more than
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.

11 years agoIssue #16040: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
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.

11 years agoIssue #16041: CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
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.

11 years agoIssue #17997: Change behavior of ``ssl.match_hostname()`` to follow RFC 6125,
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.