]>
granicus.if.org Git - python/log
Steve Dower [Fri, 6 Feb 2015 06:08:48 +0000 (22:08 -0800)]
Issue #23260: Update Windows installer
Ned Deily [Fri, 6 Feb 2015 04:43:01 +0000 (15:43 +1100)]
Fix missing :ref: for idle in doc build.
Ned Deily [Fri, 6 Feb 2015 04:42:06 +0000 (15:42 +1100)]
Fix missing :ref: for idle in doc build.
Benjamin Peterson [Fri, 6 Feb 2015 03:29:46 +0000 (22:29 -0500)]
merge 3.4 (#22735)
Benjamin Peterson [Fri, 6 Feb 2015 03:29:14 +0000 (22:29 -0500)]
fix many custom mro() edge cases and improve code quality (#22735)
Patch by Eldar Abusalimov.
Ned Deily [Fri, 6 Feb 2015 03:16:29 +0000 (14:16 +1100)]
Issue #23212: merge from 3.4
Ned Deily [Fri, 6 Feb 2015 03:13:30 +0000 (14:13 +1100)]
Issue #23212: Update OS X installer build OpenSSL to 1.0.1l.
(currently only used for builds with <= 10.5 deployment targets)
Victor Stinner [Thu, 5 Feb 2015 13:25:53 +0000 (14:25 +0100)]
(Merge 3.4) test_multiprocessing: tolerate a delta of 30 ms because of bad
clock resolution on Windows
Victor Stinner [Thu, 5 Feb 2015 13:25:05 +0000 (14:25 +0100)]
test_multiprocessing: tolerate a delta of 30 ms because of bad clock resolution
on Windows
Serhiy Storchaka [Thu, 5 Feb 2015 13:17:49 +0000 (15:17 +0200)]
Issue #18982: Add tests for CLI of the calendar module.
Serhiy Storchaka [Thu, 5 Feb 2015 13:14:35 +0000 (15:14 +0200)]
Issue #18982: Add tests for CLI of the calendar module.
Victor Stinner [Thu, 5 Feb 2015 10:46:45 +0000 (11:46 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Thu, 5 Feb 2015 10:45:33 +0000 (11:45 +0100)]
asyncio: BaseEventLoop: rename _owner to _thread_id
Ned Deily [Thu, 5 Feb 2015 06:24:00 +0000 (17:24 +1100)]
Issue #23345: merge from 3.4
Ned Deily [Thu, 5 Feb 2015 06:20:13 +0000 (17:20 +1100)]
Issue #23345: Prevent test_ssl failures with large OpenSSL patch level
values (like 0.9.8zc).
Donald Stufft [Thu, 5 Feb 2015 03:00:56 +0000 (22:00 -0500)]
Merge: Update pip to 6.0.8
Donald Stufft [Thu, 5 Feb 2015 03:00:17 +0000 (22:00 -0500)]
Update pip to 6.0.8
Gregory P. Smith [Thu, 5 Feb 2015 01:16:30 +0000 (17:16 -0800)]
Make the stdlib test suite helper test.script_helper._assert_python no longer
pass -I or -E to the child process by default when the environment is required
for the child process interpreter to function properly.
Gregory P. Smith [Thu, 5 Feb 2015 01:10:19 +0000 (17:10 -0800)]
Make the stdlib test suite helper test.script_helper._assert_python no longer
pass -I or -E to the child process by default when the environment is required
for the child process interpreter to function properly.
Raymond Hettinger [Wed, 4 Feb 2015 16:37:02 +0000 (08:37 -0800)]
Minor code clean up.
Victor Stinner [Wed, 4 Feb 2015 15:14:58 +0000 (16:14 +0100)]
Merge 3.4 (asyncio doc)
Victor Stinner [Wed, 4 Feb 2015 15:14:33 +0000 (16:14 +0100)]
asyncio doc: explain how to display ResourceWarning in the debug mode section
Victor Stinner [Wed, 4 Feb 2015 13:51:50 +0000 (14:51 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Wed, 4 Feb 2015 13:51:23 +0000 (14:51 +0100)]
asyncio: Only call _check_resolved_address() in debug mode
* _check_resolved_address() is implemented with getaddrinfo() which is slow
* If available, use socket.inet_pton() instead of socket.getaddrinfo(), because
it is much faster
Microbenchmark (timeit) on Fedora 21 (Python 3.4, Linux 3.17, glibc 2.20) to
validate the IPV4 address "127.0.0.1" or the IPv6 address "::1":
* getaddrinfo() 10.4 usec per loop
* inet_pton(): 0.285 usec per loop
On glibc older than 2.14, getaddrinfo() always requests the list of all local
IP addresses to the kernel (using a NETLINK socket). getaddrinfo() has other
known issues, it's better to avoid it when it is possible.
Victor Stinner [Wed, 4 Feb 2015 13:50:59 +0000 (14:50 +0100)]
asyncio: BaseSelectorEventLoop uses directly the private _debug attribute
Just try to be consistent: _debug was already used in some places, and always
used in BaseProactorEventLoop.
Gregory P. Smith [Wed, 4 Feb 2015 10:16:13 +0000 (02:16 -0800)]
Fixes issue23390: make profile-opt causes -fprofile-generate and related flags
to end up in distutils CFLAGS.
Gregory P. Smith [Wed, 4 Feb 2015 10:11:56 +0000 (02:11 -0800)]
Fixes issue23390: make profile-opt causes -fprofile-generate and related flags
to end up in distutils CFLAGS.
Gregory P. Smith [Wed, 4 Feb 2015 09:04:31 +0000 (01:04 -0800)]
Skip some tests that require a subinterpreter launched with -E or -I when the
interpreter under test is being run in an environment that requires the use of
environment variables such as PYTHONHOME in order to function at all.
Adds a test.script_helper.interpreter_requires_environment() function
to be used with @unittest.skipIf on stdlib test methods requiring this.
Gregory P. Smith [Wed, 4 Feb 2015 08:59:40 +0000 (00:59 -0800)]
Skip some tests that require a subinterpreter launched with -E or -I when the
interpreter under test is being run in an environment that requires the use of
environment variables such as PYTHONHOME in order to function at all.
Adds a private test.script_helper._interpreter_requires_environment() function
to be used with @unittest.skipIf on stdlib test methods requiring this.
Stefan Krah [Tue, 3 Feb 2015 21:27:21 +0000 (22:27 +0100)]
Issue #14203: Temporary fix for the compile failure on Windows.
Stefan Krah [Tue, 3 Feb 2015 20:43:23 +0000 (21:43 +0100)]
Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer()
and array_buffer_getbuf().
Serhiy Storchaka [Tue, 3 Feb 2015 16:51:58 +0000 (18:51 +0200)]
Issue #15381: Fixed a bug in BytesIO.write().
It was expected that string_size == PyBytes_GET_SIZE(buf) if the buffer is
shared, but truncate() and __setstate__() can set string_size without
unsharing the buffer.
Raymond Hettinger [Tue, 3 Feb 2015 16:15:30 +0000 (08:15 -0800)]
Issue 23359: Reduce size of code in set_lookkey. Only do linear probes when there is no wrap-around.
Nice simplification contributed by Serhiy Storchaka :-)
Stefan Krah [Tue, 3 Feb 2015 15:57:21 +0000 (16:57 +0100)]
Issue #14203: Remove obsolete support for view==NULL in PyBuffer_FillInfo()
and bytearray_getbuffer(). Both functions now raise BufferError in that
case.
Victor Stinner [Tue, 3 Feb 2015 14:12:13 +0000 (15:12 +0100)]
Merge 3.4 (asyncio doc)
Victor Stinner [Tue, 3 Feb 2015 14:09:24 +0000 (15:09 +0100)]
asyncio, Tulip issue 221: Fix doc of QueueEmpty and QueueFull
Serhiy Storchaka [Tue, 3 Feb 2015 12:57:49 +0000 (14:57 +0200)]
Issue #15381: Try to fix refcount bug. Empty and 1-byte buffers are always shared.
Berker Peksag [Tue, 3 Feb 2015 10:22:11 +0000 (12:22 +0200)]
Issue #13128: Print response headers for CONNECT requests when debuglevel > 0.
Patch by Demian Brecht.
Berker Peksag [Tue, 3 Feb 2015 09:55:32 +0000 (11:55 +0200)]
Issue #23358: Add missing BaseServer entry to socketserver.__all__.
Patch by Martin Panter.
Berker Peksag [Tue, 3 Feb 2015 09:55:09 +0000 (11:55 +0200)]
Issue #23358: Add missing BaseServer entry to socketserver.__all__.
Patch by Martin Panter.
Serhiy Storchaka [Tue, 3 Feb 2015 09:30:10 +0000 (11:30 +0200)]
Issue #15381: Optimized io.BytesIO to make less allocations and copyings.
Serhiy Storchaka [Tue, 3 Feb 2015 09:04:19 +0000 (11:04 +0200)]
Issue #22818: Splitting on a pattern that could match an empty string now
raises a warning. Patterns that can only match empty strings are now
rejected.
Serhiy Storchaka [Tue, 3 Feb 2015 07:30:51 +0000 (09:30 +0200)]
Issue #23099: Closing io.BytesIO with exported buffer is rejected now to
prevent corrupting exported buffer.
Serhiy Storchaka [Tue, 3 Feb 2015 00:00:18 +0000 (02:00 +0200)]
Issue #23099: Closing io.BytesIO with exported buffer is rejected now to
prevent corrupting exported buffer.
Serhiy Storchaka [Mon, 2 Feb 2015 23:50:31 +0000 (01:50 +0200)]
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Used PyMem_New to check overflow.
Serhiy Storchaka [Mon, 2 Feb 2015 23:49:18 +0000 (01:49 +0200)]
Issue #22896: Fixed using _getbuffer() in recently added _PyBytes_Format().
Serhiy Storchaka [Mon, 2 Feb 2015 23:35:10 +0000 (01:35 +0200)]
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Used PyMem_New to check overflow.
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.
Serhiy Storchaka [Mon, 2 Feb 2015 23:25:42 +0000 (01:25 +0200)]
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
and PyObject_AsWriteBuffer().
Serhiy Storchaka [Mon, 2 Feb 2015 23:21:08 +0000 (01:21 +0200)]
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
and PyObject_AsWriteBuffer().
Benjamin Peterson [Mon, 2 Feb 2015 22:47:31 +0000 (17:47 -0500)]
merge 3.4
Benjamin Peterson [Mon, 2 Feb 2015 22:47:26 +0000 (17:47 -0500)]
merge 3.3
Benjamin Peterson [Mon, 2 Feb 2015 22:47:07 +0000 (17:47 -0500)]
reduce memory usage of test (closes #23369)
Benjamin Peterson [Mon, 2 Feb 2015 19:22:19 +0000 (14:22 -0500)]
merge 3.4
Benjamin Peterson [Mon, 2 Feb 2015 19:22:13 +0000 (14:22 -0500)]
adjust for py3k module renaming
Benjamin Peterson [Mon, 2 Feb 2015 19:06:29 +0000 (14:06 -0500)]
merge 3.4
Benjamin Peterson [Mon, 2 Feb 2015 19:06:11 +0000 (14:06 -0500)]
_clear_type_cache is cpython-only
Victor Stinner [Mon, 2 Feb 2015 17:36:59 +0000 (18:36 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Mon, 2 Feb 2015 17:36:31 +0000 (18:36 +0100)]
Issue #23353, asyncio: Workaround CPython bug #23353
Don't use yield/yield-from in an except block of a generator. Store the
exception and handle it outside the except block.
Raymond Hettinger [Mon, 2 Feb 2015 16:35:00 +0000 (08:35 -0800)]
Issue 23359: Tighten inner search loop for sets (don't and-mask every entry lookup).
Benjamin Peterson [Mon, 2 Feb 2015 15:52:56 +0000 (10:52 -0500)]
merge 3.4 (#21295)
Benjamin Peterson [Mon, 2 Feb 2015 15:51:20 +0000 (10:51 -0500)]
revert lineno and col_offset changes from #16795 (closes #21295)
Raymond Hettinger [Mon, 2 Feb 2015 06:53:41 +0000 (22:53 -0800)]
Optimization guides suggest copying memory in an ascending direction when possible.
Benjamin Peterson [Mon, 2 Feb 2015 02:36:01 +0000 (21:36 -0500)]
merge 3.4 (#23364, #23363)
Benjamin Peterson [Mon, 2 Feb 2015 02:35:34 +0000 (21:35 -0500)]
merge 3.3 (#23364, #23363)
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:11:54 +0000 (21:11 -0500)]
merge 3.4 (#23365)
Benjamin Peterson [Mon, 2 Feb 2015 02:11:39 +0000 (21:11 -0500)]
merge 3.3 (#23365)
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 02:01:43 +0000 (21:01 -0500)]
merge 3.4 (#23366)
Benjamin Peterson [Mon, 2 Feb 2015 02:00:15 +0000 (21:00 -0500)]
merge 3.3 (#23366)
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:18:29 +0000 (20:18 -0500)]
merge 3.4
Benjamin Peterson [Mon, 2 Feb 2015 01:17:22 +0000 (20:17 -0500)]
https goodness
Benjamin Peterson [Mon, 2 Feb 2015 01:16:59 +0000 (20:16 -0500)]
fix tests on systems that can't validate python.org
Benjamin Peterson [Sun, 1 Feb 2015 23:02:21 +0000 (18:02 -0500)]
merge 3.4
Benjamin Peterson [Sun, 1 Feb 2015 23:02:15 +0000 (18:02 -0500)]
merge 3.3
Benjamin Peterson [Sun, 1 Feb 2015 23:02:09 +0000 (18:02 -0500)]
remove extra ws
Benjamin Peterson [Sun, 1 Feb 2015 23:00:19 +0000 (18:00 -0500)]
merge 3.4 (#23369)
Benjamin Peterson [Sun, 1 Feb 2015 22:59:49 +0000 (17:59 -0500)]
merge 3.3 (#23369)
Benjamin Peterson [Sun, 1 Feb 2015 22:53:53 +0000 (17:53 -0500)]
fix possible overflow in encode_basestring_ascii (closes #23369)
Stefan Krah [Sun, 1 Feb 2015 18:47:25 +0000 (19:47 +0100)]
Merge cosmetic change.
Stefan Krah [Sun, 1 Feb 2015 18:46:31 +0000 (19:46 +0100)]
Whitespace.
Stefan Krah [Sun, 1 Feb 2015 18:45:14 +0000 (19:45 +0100)]
Whitespace.
Stefan Krah [Sun, 1 Feb 2015 18:42:45 +0000 (19:42 +0100)]
Issue #23352: Merge from 3.4.
Stefan Krah [Sun, 1 Feb 2015 18:42:12 +0000 (19:42 +0100)]
Issue #23352: Document that Py_buffer.suboffsets must be NULL if no suboffsets
are required.
Stefan Krah [Sun, 1 Feb 2015 18:19:49 +0000 (19:19 +0100)]
Merge from 3.4.
Serhiy Storchaka [Sun, 1 Feb 2015 17:01:10 +0000 (19:01 +0200)]
Don't seek to the start of the file when open ZipFile with the 'w' mode
(regression introduced in issue #14099).
Stefan Krah [Sun, 1 Feb 2015 15:19:23 +0000 (16:19 +0100)]
Issue #23370: Fix off-by-one error for non-contiguous buffers.
Vinay Sajip [Sun, 1 Feb 2015 15:18:14 +0000 (15:18 +0000)]
Merged documentation update from 3.4.
Vinay Sajip [Sun, 1 Feb 2015 15:17:34 +0000 (15:17 +0000)]
Added a cookbook entry on logging audible messages.
Stefan Krah [Sun, 1 Feb 2015 13:53:54 +0000 (14:53 +0100)]
Issue #22445: PyBuffer_IsContiguous() now implements precise contiguity
tests, compatible with NumPy's NPY_RELAXED_STRIDES_CHECKING compilation
flag. Previously the function reported false negatives for corner cases.
Steve Dower [Sat, 31 Jan 2015 20:20:40 +0000 (12:20 -0800)]
Issue #23212: Update Windows copy of OpenSSL to 1.0.1l
Steve Dower [Sat, 31 Jan 2015 20:30:22 +0000 (12:30 -0800)]
Null merge with 3.4
Steve Dower [Sat, 31 Jan 2015 20:19:10 +0000 (12:19 -0800)]
Issue #23212: Update Windows copy of OpenSSL to 1.0.1l
Steve Dower [Sat, 31 Jan 2015 19:17:07 +0000 (11:17 -0800)]
Fixes python3_d.dll build so that functions are forwarded to python35_d.dll
Raymond Hettinger [Sat, 31 Jan 2015 10:45:12 +0000 (02:45 -0800)]
Keep the definition of i consistent between set_lookkey() and set_insert_clean().
Serhiy Storchaka [Sat, 31 Jan 2015 10:23:01 +0000 (12:23 +0200)]
Merge heads
Victor Stinner [Sat, 31 Jan 2015 10:08:40 +0000 (11:08 +0100)]
Merge 3.4 (generator)
Serhiy Storchaka [Sat, 31 Jan 2015 10:05:05 +0000 (12:05 +0200)]
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
implementation in issue #21408 they are redundant.