]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Benjamin Peterson [Fri, 13 Mar 2015 19:32:31 +0000 (14:32 -0500)]
the default is sys.maxsize not sys.maxint (closes #23645)
Serhiy Storchaka [Fri, 13 Mar 2015 07:04:34 +0000 (09:04 +0200)]
Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar.
Patch by Demian Brecht.
Serhiy Storchaka [Fri, 13 Mar 2015 06:31:34 +0000 (08:31 +0200)]
Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() now
handle exceptions raised by an iterator. Patch by Alon Diamant and Davin
Potts.
Serhiy Storchaka [Thu, 12 Mar 2015 09:12:51 +0000 (11:12 +0200)]
Issue #22928: Disabled HTTP header injections in httplib.
Original patch by Demian Brecht.
Serhiy Storchaka [Wed, 11 Mar 2015 15:31:59 +0000 (17:31 +0200)]
Issue #23615: Module tarfile is now can be reloaded with imp.reload().
Benjamin Peterson [Wed, 11 Mar 2015 00:06:18 +0000 (19:06 -0500)]
close files explicit (closes #21610)
Patch by mattip.
Antoine Pitrou [Tue, 10 Mar 2015 21:32:00 +0000 (22:32 +0100)]
Issue #23629: Fix the default __sizeof__ implementation for variable-sized objects.
Steve Dower [Tue, 10 Mar 2015 20:19:17 +0000 (13:19 -0700)]
Issue #22028: Ensure mimetypes will not open registry keys with embedded nulls
Ned Deily [Mon, 9 Mar 2015 08:54:25 +0000 (01:54 -0700)]
Issue #23617: Correct plurals typo noted by Kentrell Johnson.
Benjamin Peterson [Sat, 7 Mar 2015 14:34:16 +0000 (09:34 -0500)]
replace Amazon links in the documentation (closes #23579)
Patch by Sayan Chowdhury.
Serhiy Storchaka [Fri, 6 Mar 2015 20:17:25 +0000 (22:17 +0200)]
Issue #22853: Fixed a deadlock when use multiprocessing.Queue at import time.
Patch by Florian Finkernagel and Davin Potts.
Benjamin Peterson [Fri, 6 Mar 2015 14:08:44 +0000 (09:08 -0500)]
fix potential refleak in PyFloat_AsDouble (closes #23590)
Ned Deily [Fri, 6 Mar 2015 01:43:26 +0000 (17:43 -0800)]
Issue #23593: fix Misc/NEWS entries
Ned Deily [Fri, 6 Mar 2015 01:32:28 +0000 (17:32 -0800)]
Issue #23594: Update OS X 10.5 installer build to use OpenSSL 1.0.2.
Benjamin Peterson [Thu, 5 Mar 2015 04:18:57 +0000 (23:18 -0500)]
use _import_symbols to import VERIFY_* constants
Benjamin Peterson [Thu, 5 Mar 2015 04:18:48 +0000 (23:18 -0500)]
adjust test_crl_check for trusted first being default
Benjamin Peterson [Thu, 5 Mar 2015 03:49:41 +0000 (22:49 -0500)]
expose X509_V_FLAG_TRUSTED_FIRST
Benjamin Peterson [Thu, 5 Mar 2015 03:11:12 +0000 (22:11 -0500)]
enable X509_V_FLAG_TRUSTED_FIRST when possible (closes #23476)
Antoine Pitrou [Wed, 4 Mar 2015 19:51:55 +0000 (20:51 +0100)]
Issue #23576: Avoid stalling in SSL reads when EOF has been reached in the SSL layer but the underlying connection hasn't been closed.
Serhiy Storchaka [Wed, 4 Mar 2015 07:42:59 +0000 (09:42 +0200)]
Issue #23504: Added an __all__ to the types module.
Benjamin Peterson [Mon, 2 Mar 2015 16:17:05 +0000 (11:17 -0500)]
fix possible overflow bugs in unicodedata (closes #23367)
Benjamin Peterson [Mon, 2 Mar 2015 14:34:31 +0000 (09:34 -0500)]
wrap everything at 80 chars
Serhiy Storchaka [Mon, 2 Mar 2015 14:31:57 +0000 (16:31 +0200)]
Added more tests for urllib utility functions.
These functions are not documented but used in third-party code.
Benjamin Peterson [Mon, 2 Mar 2015 01:59:22 +0000 (20:59 -0500)]
remove mention of Python 2.2 and 2.3
Serhiy Storchaka [Sun, 1 Mar 2015 13:31:21 +0000 (15:31 +0200)]
Fixed pydoc tests when run with -OO.
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 [Tue, 24 Feb 2015 14:12:57 +0000 (15:12 +0100)]
Issue #23458: skip test_os.test_urandom_fd_non_inheritable() on Windows
Victor Stinner [Tue, 24 Feb 2015 13:30:43 +0000 (14:30 +0100)]
Issue #23458: On POSIX, the file descriptor kept open by os.urandom() is now
set to non inheritable
Ned Deily [Mon, 23 Feb 2015 00:08:23 +0000 (16:08 -0800)]
Issue #23499: Fix grammar error noticed by SilentGhost
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 15:22:53 +0000 (17:22 +0200)]
Issue #6639: Module-level turtle functions no longer raise TclError after
closing the window.
Serhiy Storchaka [Sat, 21 Feb 2015 17:51:17 +0000 (19:51 +0200)]
Issue #22113: struct.pack_into() now supports new buffer protocol (in
particular accepts writable memoryview).
Serhiy Storchaka [Sat, 21 Feb 2015 10:08:36 +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 [Fri, 20 Feb 2015 23:19:17 +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:34:20 +0000 (00:34 +0200)]
Issue #5700: io.FileIO() called flush() after closing the file.
flush() was not called in close() if closefd=False.
Berker Peksag [Fri, 20 Feb 2015 10:10:33 +0000 (12:10 +0200)]
Issue #21548: Fix pydoc.synopsis() and pydoc.apropos() on modules with empty
docstrings.
Initial patch by Yuyang Guo.
Zachary Ware [Fri, 20 Feb 2015 04:28:36 +0000 (22:28 -0600)]
Fix typo pointed out on docs@ by Yaniv Sayeh
Benjamin Peterson [Thu, 19 Feb 2015 22:57:08 +0000 (17:57 -0500)]
remove rc4 from the default client ciphers (closes #23481)
Benjamin Peterson [Wed, 18 Feb 2015 13:57:27 +0000 (08:57 -0500)]
remove RPM file, which is unused and unmaintained
Serhiy Storchaka [Wed, 18 Feb 2015 06:04:26 +0000 (08:04 +0200)]
Issue #23474: Enhanced locale testing.
Serhiy Storchaka [Mon, 16 Feb 2015 11:16:07 +0000 (13:16 +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 06:05:10 +0000 (08:05 +0200)]
Issue #23115: Fixed compilation on OpenBSD (Py_MIN is not defined in 2.7).
Serhiy Storchaka [Sun, 15 Feb 2015 23:50:04 +0000 (01:50 +0200)]
Merge heads
Serhiy Storchaka [Sun, 15 Feb 2015 23:49:22 +0000 (01:49 +0200)]
Backed out changeset
7d2018774925
Serhiy Storchaka [Sun, 15 Feb 2015 22:29:52 +0000 (00:29 +0200)]
Issue #22885: Fixed arbitrary code execution vulnerability in the dumbdbm
module. Original patch by Claudiu Popa.
Serhiy Storchaka [Sun, 15 Feb 2015 11:57:49 +0000 (13:57 +0200)]
Use os.devnull instead of hardcoded '/dev/null'.
Serhiy Storchaka [Sun, 15 Feb 2015 11:05:10 +0000 (13:05 +0200)]
Issue #21934: test_file2k no longer create regular file /dev/full on OpenBSD
when run as root. Extended testing with /dev/full.
Based on patch by Daniel Dickman.
Serhiy Storchaka [Sat, 14 Feb 2015 21:17:13 +0000 (23:17 +0200)]
Issue #17753: Skip test_zipfile tests which require write access to test
and email.test.
Serhiy Storchaka [Sat, 14 Feb 2015 20:44:35 +0000 (22:44 +0200)]
Issue #22844: Fized test_gdb failure on Debian Wheezy for Z.
Patch by David Edelsohn.
Benjamin Peterson [Sat, 14 Feb 2015 20:17:25 +0000 (15:17 -0500)]
avoid reading unallocated memory when argc == 0 (closes #22633)
Serhiy Storchaka [Fri, 13 Feb 2015 13:08:36 +0000 (15:08 +0200)]
Issue #21849: Fixed xmlrpclib serialization of non-ASCII unicode strings in
the multiprocessing module.
Serhiy Storchaka [Fri, 13 Feb 2015 10:47:08 +0000 (12:47 +0200)]
Issue #21840: Fixed a typo.
Serhiy Storchaka [Fri, 13 Feb 2015 10:02:05 +0000 (12:02 +0200)]
Issue #21840: Fixed expanding unicode variables of form $var in
posixpath.expandvars(). Fixed all os.path implementations on
unicode-disabled builds.
Serhiy Storchaka [Fri, 6 Feb 2015 06:56:33 +0000 (08:56 +0200)]
Issue #23392: Added tests for marshal C API that works with FILE*.
Serhiy Storchaka [Fri, 6 Feb 2015 06:36:14 +0000 (08:36 +0200)]
Issue #23881: Only use entry-values with gdb 7.4 in tests.
Fixes a regression in issue #22765. Patch by Vinson Lee.
Ned Deily [Fri, 6 Feb 2015 04:41:27 +0000 (15:41 +1100)]
Fix missing :ref: for idle in doc build.
Ned Deily [Fri, 6 Feb 2015 03:11:36 +0000 (14:11 +1100)]
Issue #23212: Update OS X installer build OpenSSL to 1.0.1l.
(currently only used for builds with <= 10.5 deployment targets)
Serhiy Storchaka [Thu, 5 Feb 2015 16:03:27 +0000 (18:03 +0200)]
Issue #18982: Fixed newlines in calendar CLI tests on Windows.
Serhiy Storchaka [Thu, 5 Feb 2015 13:18:26 +0000 (15:18 +0200)]
Issue #18982: Add tests for CLI of the calendar module.
Ned Deily [Thu, 5 Feb 2015 06:19:11 +0000 (17:19 +1100)]
Issue #23345: Prevent test_ssl failures with large OpenSSL patch level
values (like 0.9.8zc).
Benjamin Peterson [Thu, 5 Feb 2015 03:06:55 +0000 (22:06 -0500)]
remove parenthesis from print statement (closes #23396)
Donald Stufft [Thu, 5 Feb 2015 03:02:09 +0000 (22:02 -0500)]
Update pip to 6.0.8
Serhiy Storchaka [Mon, 2 Feb 2015 23:34:09 +0000 (01:34 +0200)]
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Used PyMem_New to check overflow.
Benjamin Peterson [Mon, 2 Feb 2015 19:06:11 +0000 (14:06 -0500)]
_clear_type_cache is cpython-only
Benjamin Peterson [Mon, 2 Feb 2015 02:34:07 +0000 (21:34 -0500)]
check for overflows in permutations() and product() (closes #23363, closes #23364)
Benjamin Peterson [Mon, 2 Feb 2015 02:10:47 +0000 (21:10 -0500)]
check for overflow in combinations_with_replacement (closes #23365)
Benjamin Peterson [Mon, 2 Feb 2015 01:59:00 +0000 (20:59 -0500)]
detect overflow in combinations (closes #23366)
Benjamin Peterson [Mon, 2 Feb 2015 01:17:22 +0000 (20:17 -0500)]
https goodness
Stefan Krah [Sun, 1 Feb 2015 18:49:38 +0000 (19:49 +0100)]
Preserve critical whitespace in Doc/*.
Stefan Krah [Sun, 1 Feb 2015 18:40:50 +0000 (19:40 +0100)]
Issue #23352: Document that Py_buffer.suboffsets must be NULL if no suboffsets
are required.
Stefan Krah [Sun, 1 Feb 2015 15:10:35 +0000 (16:10 +0100)]
Issue #23370: Fix off-by-one error for non-contiguous buffers.
Vinay Sajip [Sun, 1 Feb 2015 15:14:03 +0000 (15:14 +0000)]
Added a cookbook entry on logging audible messages.
Steve Dower [Sat, 31 Jan 2015 20:18:33 +0000 (12:18 -0800)]
Issue #23212: Update Windows copy of OpenSSL to 1.0.1l
Steve Dower [Sat, 31 Jan 2015 20:15:13 +0000 (12:15 -0800)]
Issue #23199: libpython27.a in amd64 release is 32-bit
Serhiy Storchaka [Sat, 31 Jan 2015 09:48:36 +0000 (11:48 +0200)]
Issue #22765: Fixed test_gdb failures. Supressed unexpected gdb output.
Patch by Bohuslav Kabrda.
Serhiy Storchaka [Sat, 31 Jan 2015 09:42:04 +0000 (11:42 +0200)]
Completed Misc/NEWS entry.
Serhiy Storchaka [Sat, 31 Jan 2015 09:27:06 +0000 (11:27 +0200)]
Avoid deprecation warnings.
Serhiy Storchaka [Sat, 31 Jan 2015 08:20:31 +0000 (10:20 +0200)]
test_spwd skipping is expected on win32.
Serhiy Storchaka [Sat, 31 Jan 2015 07:25:16 +0000 (09:25 +0200)]
Restored test_xpickle compatibility with Python 2.5.
Python 2.5 has no unittest.skipUnless.
Serhiy Storchaka [Sat, 31 Jan 2015 00:12:17 +0000 (02:12 +0200)]
Use float division to avoid deprecation warning in test_timeit (issue #11578).
Serhiy Storchaka [Fri, 30 Jan 2015 23:15:29 +0000 (01:15 +0200)]
Issue #23055: Fixed read-past-the-end error in PyUnicode_FromFormatV.
Serhiy Storchaka [Fri, 30 Jan 2015 21:35:03 +0000 (23:35 +0200)]
Issue #23055: Fixed off-by-one error in PyUnicode_FromFormatV.
Stefan Krah [Fri, 30 Jan 2015 19:11:10 +0000 (20:11 +0100)]
Issue #23349: Fix off-by-one error in PyBuffer_ToContiguous(). Initial patch
by Richard Hansen.
Donald Stufft [Wed, 28 Jan 2015 22:58:53 +0000 (17:58 -0500)]
Upgrade setuptools to 12.0.5 and pip to 6.0.7
Benjamin Peterson [Wed, 28 Jan 2015 17:06:39 +0000 (12:06 -0500)]
ifdef our way to compatibility with old openssl (closes #23335)
Serhiy Storchaka [Wed, 28 Jan 2015 08:52:49 +0000 (10:52 +0200)]
Issue #22079: PyType_Ready() now checks that statically allocated type has
no dynamically allocated bases.
Vinay Sajip [Wed, 28 Jan 2015 07:29:13 +0000 (07:29 +0000)]
Added a logging cookbook entry on customized exception formatting.
Serhiy Storchaka [Tue, 27 Jan 2015 20:44:45 +0000 (22:44 +0200)]
Issue #19949: The test_xpickle test now tests compatibility with installed
Python 2.7 and reports skipped tests. Based on patch by Zachary Ware.
Serhiy Storchaka [Tue, 27 Jan 2015 20:32:34 +0000 (22:32 +0200)]
Merge heads
Serhiy Storchaka [Tue, 27 Jan 2015 20:17:56 +0000 (22:17 +0200)]
Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis
and fix by Guido Vranken.
Benjamin Peterson [Tue, 27 Jan 2015 16:10:18 +0000 (11:10 -0500)]
disable ALPN on LibreSSL, which has a large version number, but not ALPN support (closes #23329)
Serhiy Storchaka [Tue, 27 Jan 2015 09:40:51 +0000 (11:40 +0200)]
Issue #23191: fnmatch functions that use caching are now threadsafe.
Serhiy Storchaka [Mon, 26 Jan 2015 11:45:04 +0000 (13:45 +0200)]
Issue #14099: Backout changeset
c2c4cde55f6f (except adapted tests).
Serhiy Storchaka [Mon, 26 Jan 2015 10:30:56 +0000 (12:30 +0200)]
Use test.test_support instead of test.support.
Serhiy Storchaka [Mon, 26 Jan 2015 10:08:37 +0000 (12:08 +0200)]
Issue #18518: timeit now rejects statements which can't be compiled outside
a function or a loop (e.g. "return" or "break").
Serhiy Storchaka [Mon, 26 Jan 2015 09:54:32 +0000 (11:54 +0200)]
Issue #11578: Backported test for the timeit module.
Serhiy Storchaka [Mon, 26 Jan 2015 08:27:31 +0000 (10:27 +0200)]
Merge heads
Serhiy Storchaka [Mon, 26 Jan 2015 08:26:00 +0000 (10:26 +0200)]
Issue #7665: Fixed tests test_ntpath and test_urllib2 when ran in the
directory containing a backslash.
Benjamin Peterson [Mon, 26 Jan 2015 04:34:42 +0000 (23:34 -0500)]
simply ignore headers with no name (#19996)
Patch by Cory Benfield.
R David Murray [Sun, 25 Jan 2015 20:48:47 +0000 (15:48 -0500)]
#23251: Reflow paragraph.