]>
granicus.if.org Git - python/log
Benjamin Peterson [Fri, 6 Mar 2015 14:09:46 +0000 (09:09 -0500)]
merge 3.4 (#23590)
Benjamin Peterson [Fri, 6 Mar 2015 14:08:44 +0000 (09:08 -0500)]
fix potential refleak in PyFloat_AsDouble (closes #23590)
Berker Peksag [Fri, 6 Mar 2015 10:18:06 +0000 (12:18 +0200)]
Issue #17911: Tweak traceback documentation.
Changes:
* Fixed reSt markup
* Fixed cross references
* Fixed a couple of typos
Ned Deily [Fri, 6 Mar 2015 01:45:03 +0000 (17:45 -0800)]
Issue #23593: fix Misc/NEWS entries
Ned Deily [Fri, 6 Mar 2015 01:44:10 +0000 (17:44 -0800)]
Issue #23593: fix Misc/NEWS entries
Ned Deily [Fri, 6 Mar 2015 01:37:11 +0000 (17:37 -0800)]
Issue #23594: merge 3.4
Ned Deily [Fri, 6 Mar 2015 01:34:24 +0000 (17:34 -0800)]
Issue #23594: Update OS X 10.5 installer build to use OpenSSL 1.0.2.
Robert Collins [Fri, 6 Mar 2015 00:46:35 +0000 (13:46 +1300)]
Issue #22936: Allow showing local variables in unittest errors.
Ned Deily [Thu, 5 Mar 2015 23:47:10 +0000 (15:47 -0800)]
Fix regression introduced by changeset
7c6e3358221a that caused compile
errors of _testcapimodule.c with older versions of gcc.
Robert Collins [Thu, 5 Mar 2015 22:35:29 +0000 (11:35 +1300)]
unittest: Trivial typo fix.
Serhiy Storchaka [Thu, 5 Mar 2015 21:42:24 +0000 (23:42 +0200)]
Fixed GCC version testing.
Victor Stinner [Thu, 5 Mar 2015 13:04:03 +0000 (14:04 +0100)]
Fix "GCC diagnostic" in socketmodule.c
Fix regression of changeset
7c6e3358221a on GCC < 4.4. The _socket module
cannot be compiled on "x86 FreeBSD 7.2 3.x" buildbot anymore.
Robert Collins [Thu, 5 Mar 2015 07:28:52 +0000 (20:28 +1300)]
Issue #22936: Make it possible to show local variables in tracebacks.
Steve Dower [Thu, 5 Mar 2015 04:27:03 +0000 (20:27 -0800)]
Add scripts for uploading Windows builds to a Linux server using pscp
Benjamin Peterson [Thu, 5 Mar 2015 04:20:23 +0000 (23:20 -0500)]
merge 3.4
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:50:25 +0000 (22:50 -0500)]
merge 3.4
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:48 +0000 (22:11 -0500)]
merge 3.4 (#23476)
Benjamin Peterson [Thu, 5 Mar 2015 03:11:12 +0000 (22:11 -0500)]
enable X509_V_FLAG_TRUSTED_FIRST when possible (closes #23476)
Robert Collins [Thu, 5 Mar 2015 02:45:01 +0000 (15:45 +1300)]
Remaining fallout from 17911
The code module was using a private function from traceback in order to skip a
frame - used the direct interface to do that instead,
The decimal module suffered minor fallout from formatting changes ('None' as a
value is now not printed by traceback, the same as None was not before).
The cgitb module was passing a bogus exception type (type.__name__) into
format_exception, which uncovered that format_exception and print_exception had
been ignoring the etype for some time, so the compatibility thunk to the new
code now does the same thing.
Victor Stinner [Thu, 5 Mar 2015 01:40:17 +0000 (02:40 +0100)]
Merge 3.4 (test_subprocess)
Victor Stinner [Thu, 5 Mar 2015 01:38:41 +0000 (02:38 +0100)]
Issue #21619: Try to fix test_broken_pipe_cleanup()
Robert Collins [Wed, 4 Mar 2015 23:26:00 +0000 (12:26 +1300)]
Fix brownbag in issue 17911 commit
Robert Collins [Wed, 4 Mar 2015 23:07:57 +0000 (12:07 +1300)]
Issue #17911: traceback module overhaul
Provide a way to seed the linecache for a PEP-302 module without actually
loading the code.
Provide a new object API for traceback, including the ability to not lookup
lines at all until the traceback is actually rendered, without any trace of the
original objects being kept alive.
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@.