]>
granicus.if.org Git - python/log
Antoine Pitrou [Wed, 4 Mar 2015 19:54:57 +0000 (20:54 +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.
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.
Victor Stinner [Wed, 4 Mar 2015 17:40:10 +0000 (18:40 +0100)]
Issue #23285: Fix handling of EINTR in fileio.c
Fix handling of EINTR: don't return None if PyErr_CheckSignals() raised an
exception.
Initialize also the length outside the loop to only initialize it once.
Serhiy Storchaka [Wed, 4 Mar 2015 07:44:24 +0000 (09:44 +0200)]
Issue #23504: Added an __all__ to the types module.
Serhiy Storchaka [Wed, 4 Mar 2015 07:43:27 +0000 (09:43 +0200)]
Issue #23504: Added an __all__ to the types module.
Serhiy Storchaka [Tue, 3 Mar 2015 18:21:35 +0000 (20:21 +0200)]
Issue #23563: Optimized utility functions in urllib.parse.
Raymond Hettinger [Tue, 3 Mar 2015 07:32:02 +0000 (23:32 -0800)]
Minor neatening-up. Make assignments in same order a struct fields. Line-up comments.
Raymond Hettinger [Tue, 3 Mar 2015 06:47:46 +0000 (22:47 -0800)]
Switch the state variable to unsigned for defined wrap-around behavior.
Raymond Hettinger [Tue, 3 Mar 2015 06:31:35 +0000 (22:31 -0800)]
Minor beautification. Move struct definitions to the top. Fix-up a comment.
Raymond Hettinger [Tue, 3 Mar 2015 06:23:37 +0000 (22:23 -0800)]
Minor code beautification. Replace macro with in-lineable functions.
Raymond Hettinger [Tue, 3 Mar 2015 05:45:02 +0000 (21:45 -0800)]
Beautify and better document the use of the size_t cast for bounds checking.
Ethan Furman [Mon, 2 Mar 2015 20:29:58 +0000 (12:29 -0800)]
issue19075: add visual sorting algorithms to turtledemo; original code from Jason Yeo
Benjamin Peterson [Mon, 2 Mar 2015 18:24:21 +0000 (13:24 -0500)]
merge heads
Benjamin Peterson [Mon, 2 Mar 2015 18:24:12 +0000 (13:24 -0500)]
merge 3.4 (null)
Benjamin Peterson [Mon, 2 Mar 2015 18:23:41 +0000 (13:23 -0500)]
merge 3.3 (#23362)
Benjamin Peterson [Mon, 2 Mar 2015 18:23:25 +0000 (13:23 -0500)]
use PyMem_NEW to detect overflow (closes #23362)
Larry Hastings [Mon, 2 Mar 2015 16:44:51 +0000 (08:44 -0800)]
Issue #21293: Remove unnecessary "capsule hack".
Benjamin Peterson [Mon, 2 Mar 2015 16:18:56 +0000 (11:18 -0500)]
merge 3.4 (#23367)
Benjamin Peterson [Mon, 2 Mar 2015 16:18:40 +0000 (11:18 -0500)]
merge 3.3 (#23367)
Benjamin Peterson [Mon, 2 Mar 2015 16:17:05 +0000 (11:17 -0500)]
fix possible overflow bugs in unicodedata (closes #23367)
Steve Dower [Mon, 2 Mar 2015 16:06:30 +0000 (08:06 -0800)]
Issue #18382: Zero-length messages are consumed by ReadFile on Windows 8 and later
Steve Dower [Mon, 2 Mar 2015 16:05:27 +0000 (08:05 -0800)]
Issue #18382: Zero-length messages are consumed by ReadFile on Windows 8 and later
Steve Dower [Mon, 2 Mar 2015 16:01:10 +0000 (08:01 -0800)]
Issue #23451: Update pyconfig.h for Windows to require Vista headers and remove unnecessary version checks.
Benjamin Peterson [Mon, 2 Mar 2015 14:36:48 +0000 (09:36 -0500)]
merge 3.4 (#23561)
Serhiy Storchaka [Mon, 2 Mar 2015 14:33:08 +0000 (16:33 +0200)]
Added more tests for urllib.parse utility functions.
These functions are not documented but used in third-party code.
Serhiy Storchaka [Mon, 2 Mar 2015 14:32:29 +0000 (16:32 +0200)]
Added more tests for urllib.parse utility functions.
These functions are not documented but used in third-party code.
Benjamin Peterson [Mon, 2 Mar 2015 14:31:40 +0000 (09:31 -0500)]
wrap everything at 80 chars
Benjamin Peterson [Mon, 2 Mar 2015 14:27:43 +0000 (09:27 -0500)]
link to the correct dis method or function (closes #23561)
Berker Peksag [Mon, 2 Mar 2015 05:41:00 +0000 (07:41 +0200)]
Issue #23527: Update Gmail port number for STARTTLS to 587.
Patch by Alex Shkop.
Berker Peksag [Mon, 2 Mar 2015 05:40:36 +0000 (07:40 +0200)]
Issue #23527: Update Gmail port number for STARTTLS to 587.
Patch by Alex Shkop.
Berker Peksag [Mon, 2 Mar 2015 04:54:27 +0000 (06:54 +0200)]
Issue #23477: Improve test coverage of wsgiref.simple_server.
The test checks that the environ argument contains correct headers,
querystring and path information.
Patch by Alex Shkop.
Berker Peksag [Mon, 2 Mar 2015 04:53:33 +0000 (06:53 +0200)]
Issue #23477: Improve test coverage of wsgiref.simple_server.
The test checks that the environ argument contains correct headers,
querystring and path information.
Patch by Alex Shkop.
Berker Peksag [Mon, 2 Mar 2015 04:34:00 +0000 (06:34 +0200)]
Issue #20521: Change ``TOS`` to TOS in dis documentation.
TOS is an abbreviation of top-of-stack.
Patch by Sven Berkvens-Matthijsse.
Berker Peksag [Mon, 2 Mar 2015 04:33:30 +0000 (06:33 +0200)]
Issue #20521: Change ``TOS`` to TOS in dis documentation.
TOS is an abbreviation of top-of-stack.
Patch by Sven Berkvens-Matthijsse.
Berker Peksag [Mon, 2 Mar 2015 04:01:37 +0000 (06:01 +0200)]
Issue #23387: Skip test_issue16464 if it raises an 5xx error.
Also, remove support.run_doctest() since there is no doctests in
test_urllib2 and urllib.request.
Berker Peksag [Mon, 2 Mar 2015 04:01:01 +0000 (06:01 +0200)]
Issue #23387: Skip test_issue16464 if it raises an 5xx error.
Also, remove support.run_doctest() since there is no doctests in
test_urllib2 and urllib.request.
Berker Peksag [Mon, 2 Mar 2015 03:36:19 +0000 (05:36 +0200)]
Add a versionadded directive for PEP 486.
Benjamin Peterson [Mon, 2 Mar 2015 01:59:41 +0000 (20:59 -0500)]
merge 3.4
Benjamin Peterson [Mon, 2 Mar 2015 01:59:22 +0000 (20:59 -0500)]
remove mention of Python 2.2 and 2.3
Alexander Belopolsky [Sun, 1 Mar 2015 20:08:17 +0000 (15:08 -0500)]
Issue #7830: Flatten nested functools.partial.
Alexander Belopolsky [Sun, 1 Mar 2015 19:52:07 +0000 (14:52 -0500)]
Closes issue #22791: Improved datetime from timestamp methods documentation.
Original patch by Akira Li.
Serhiy Storchaka [Sun, 1 Mar 2015 13:32:17 +0000 (15:32 +0200)]
Fixed pydoc tests when run with -OO.
Serhiy Storchaka [Sun, 1 Mar 2015 13:31:36 +0000 (15:31 +0200)]
Fixed pydoc tests when run with -OO.
Serhiy Storchaka [Sun, 1 Mar 2015 12:39:20 +0000 (14:39 +0200)]
Fixed a typo.
Raymond Hettinger [Sun, 1 Mar 2015 08:38:00 +0000 (00:38 -0800)]
Issue #23553: Use an unsigned cast to tighten-up the bounds checking logic.
Serhiy Storchaka [Sun, 1 Mar 2015 08:03:46 +0000 (10:03 +0200)]
Merge heads
Serhiy Storchaka [Sun, 1 Mar 2015 08:03:02 +0000 (10:03 +0200)]
Issue #20204: Deprecation warning is now raised for builtin type without the
__module__ attribute.
Raymond Hettinger [Sun, 1 Mar 2015 07:29:16 +0000 (23:29 -0800)]
Need a (size_t) cast instead of (unsigned) to be big enough for a Py_ssize_t.
Serhiy Storchaka [Sun, 1 Mar 2015 07:07:10 +0000 (09:07 +0200)]
Issue #20204: Added the __module__ attribute to _tkinter classes.
Serhiy Storchaka [Sun, 1 Mar 2015 07:06:29 +0000 (09:06 +0200)]
Issue #20204: Added the __module__ attribute to _tkinter classes.
Steve Dower [Sun, 1 Mar 2015 03:53:50 +0000 (19:53 -0800)]
Updates CRT installation for Windows installer.
Bundling versions of the CRT prior to 14.0 is no longer supported.
Raymond Hettinger [Sun, 1 Mar 2015 01:49:47 +0000 (17:49 -0800)]
Use unsigned division and modulo for item assignment as well.
Serhiy Storchaka [Sat, 28 Feb 2015 22:42:54 +0000 (00:42 +0200)]
Issue #19980: Improved help() for non-recognized strings. help('') now
shows the help on str. help('help') now shows the help on help().
Original patch by Mark Lawrence.
Alexander Belopolsky [Sat, 28 Feb 2015 15:46:00 +0000 (10:46 -0500)]
merge
Alexander Belopolsky [Sat, 28 Feb 2015 15:44:47 +0000 (10:44 -0500)]
Fixes #23521: Corrected pure python implementation of timedelta division.
* Eliminated OverflowError from timedelta * float for some floats;
* Corrected rounding in timedlta true division.
Alexander Belopolsky [Sat, 28 Feb 2015 15:41:57 +0000 (10:41 -0500)]
Fixes #23521: Corrected pure python implementation of timedelta division.
* Eliminated OverflowError from timedelta * float for some floats;
* Corrected rounding in timedlta true division.
Raymond Hettinger [Sat, 28 Feb 2015 15:41:30 +0000 (07:41 -0800)]
Convert one more division to unsigned arithmetic to speed-up deque_item().
Serhiy Storchaka [Sat, 28 Feb 2015 11:28:19 +0000 (13:28 +0200)]
Fixed a test for issue #21619 on Windows.
On Windows an OSError with errno=EINVAL is raised.
Serhiy Storchaka [Sat, 28 Feb 2015 11:27:54 +0000 (13:27 +0200)]
Fixed a test for issue #21619 on Windows.
On Windows an OSError with errno=EINVAL is raised.
Serhiy Storchaka [Sat, 28 Feb 2015 10:45:00 +0000 (12:45 +0200)]
Issue #21619: Popen objects no longer leave a zombie after exit in the with
statement if the pipe was broken. Patch by Martin Panter.
Serhiy Storchaka [Sat, 28 Feb 2015 10:43:08 +0000 (12:43 +0200)]
Issue #21619: Popen objects no longer leave a zombie after exit in the with
statement if the pipe was broken. Patch by Martin Panter.
Raymond Hettinger [Sat, 28 Feb 2015 00:59:29 +0000 (16:59 -0800)]
Line missed in last checkin
Raymond Hettinger [Fri, 27 Feb 2015 20:42:54 +0000 (12:42 -0800)]
Since the index is always non-negative, use faster unsigned division and modulo.
Brett Cannon [Fri, 27 Feb 2015 20:10:38 +0000 (15:10 -0500)]
Merge with 3.4 for porting HOWTO tweaks
Brett Cannon [Fri, 27 Feb 2015 20:10:03 +0000 (15:10 -0500)]
Fix the clarification as to why division cannot be ported automatically
Larry Hastings [Fri, 27 Feb 2015 17:21:06 +0000 (09:21 -0800)]
Merge from 3.4.
Larry Hastings [Fri, 27 Feb 2015 17:14:32 +0000 (09:14 -0800)]
Fix minor errors in Misc/NEWS. (Thanks for the report, Florian Bruhin!)
Brett Cannon [Fri, 27 Feb 2015 17:13:35 +0000 (12:13 -0500)]
Issue #22834: Drop a redundant comment and use errno instead of an
integer.
Thanks to Serhiy Storchaka and Martin Panter for the suggestions.
Victor Stinner [Fri, 27 Feb 2015 16:49:19 +0000 (17:49 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Fri, 27 Feb 2015 16:49:09 +0000 (17:49 +0100)]
Issue #23537: Remove 2 unused private methods of asyncio.BaseSubprocessTransport
Methods only raise NotImplementedError and are never used.
Victor Stinner [Fri, 27 Feb 2015 16:47:40 +0000 (17:47 +0100)]
Merge 3.4 (httplib)
Victor Stinner [Fri, 27 Feb 2015 16:47:23 +0000 (17:47 +0100)]
Issue #23526: Fix ResourceWarning in test_httplib. Patch written by Alex Shkop.
Zachary Ware [Fri, 27 Feb 2015 07:40:41 +0000 (01:40 -0600)]
Merge with 3.4
Zachary Ware [Fri, 27 Feb 2015 07:40:22 +0000 (01:40 -0600)]
Fix copy/paste error in bytes.isupper() doc.
Reported by Jon Colburn on docs@.
Raymond Hettinger [Fri, 27 Feb 2015 07:21:29 +0000 (23:21 -0800)]
Bump the blocksize up from 62 to 64 to speed up the modulo calculation.
Remove the old comment suggesting that it was desireable to have
blocksize+2 as a multiple of the cache line length. That would
have made sense only if the block structure start point was always
aligned to a cache line boundary. However, the memory allocations
are 16 byte aligned, so we don't really have control over whether
the struct spills across cache line boundaries.
Benjamin Peterson [Fri, 27 Feb 2015 03:50:43 +0000 (22:50 -0500)]
unix newlines
Benjamin Peterson [Fri, 27 Feb 2015 03:50:12 +0000 (22:50 -0500)]
merge 3.4
Benjamin Peterson [Fri, 27 Feb 2015 03:49:21 +0000 (22:49 -0500)]
remove duplicate 3.4.3 tags
Steve Dower [Thu, 26 Feb 2015 22:25:33 +0000 (14:25 -0800)]
Issue #23465: Implement PEP 486 - Make the Python Launcher aware of virtual environments (patch by Paul Moore)
Larry Hastings [Thu, 26 Feb 2015 13:58:48 +0000 (05:58 -0800)]
Merge 3.4.3 release engineering changes back into 3.4.
Larry Hastings [Thu, 26 Feb 2015 13:56:32 +0000 (05:56 -0800)]
Post-release changes for 3.4.3.
Serhiy Storchaka [Thu, 26 Feb 2015 13:27:57 +0000 (15:27 +0200)]
Silenced minor GCC warnings.
Antoine Pitrou [Thu, 26 Feb 2015 12:08:07 +0000 (13:08 +0100)]
Issue #15955: Add an option to limit the output size in bz2.decompress().
Patch by Nikolaus Rath.
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
Larry Hastings [Wed, 25 Feb 2015 12:17:04 +0000 (04:17 -0800)]
Added tag v3.4.3 for changeset
b4cbecbc0781
Larry Hastings [Wed, 25 Feb 2015 12:15:33 +0000 (04:15 -0800)]
Checking in this change LOCAL ONLY NO UPLOAD ANYWHERE
Georg Brandl [Wed, 25 Feb 2015 12:07:03 +0000 (13:07 +0100)]
Merge with 3.4