]> granicus.if.org Git - python/log
python
9 years agoIncreased coverage of standard codec error handlers.
Serhiy Storchaka [Sun, 15 Mar 2015 21:43:34 +0000 (23:43 +0200)]
Increased coverage of standard codec error handlers.

9 years agoIncreased coverage of standard codec error handlers.
Serhiy Storchaka [Sun, 15 Mar 2015 21:41:37 +0000 (23:41 +0200)]
Increased coverage of standard codec error handlers.

9 years agoIssue #23549: Clarify confusion in heapq doc - accessing the mininmal element
Eli Bendersky [Sun, 15 Mar 2015 03:17:38 +0000 (20:17 -0700)]
Issue #23549: Clarify confusion in heapq doc - accessing the mininmal element

Merge 3.4

The current documentation only mentions heap[0] as the smallest element in the
beginning, and not in any of the methods' docs. There's no method to access the
minimal element without popping it, and the documentation of nsmallest is
confusing because it may suggest that min() is the way to go for n==1.

9 years agoIssue #23549: Clarify confusion in heapq doc - accessing the mininmal element
Eli Bendersky [Sun, 15 Mar 2015 03:14:23 +0000 (20:14 -0700)]
Issue #23549: Clarify confusion in heapq doc - accessing the mininmal element

The current documentation only mentions heap[0] as the smallest element in the
beginning, and not in any of the methods' docs. There's no method to access the
minimal element without popping it, and the documentation of nsmallest is
confusing because it may suggest that min() is the way to go for n==1.

9 years agoIssue #23568: Add rdivmod support to MagicMock() objects.
Berker Peksag [Sat, 14 Mar 2015 23:57:38 +0000 (01:57 +0200)]
Issue #23568: Add rdivmod support to MagicMock() objects.

Patch by Håkan Lövdahl.

9 years agoIssue #23568: Add rdivmod support to MagicMock() objects.
Berker Peksag [Sat, 14 Mar 2015 23:51:56 +0000 (01:51 +0200)]
Issue #23568: Add rdivmod support to MagicMock() objects.

Patch by Håkan Lövdahl.

9 years agoIssue #2052: Add charset parameter to HtmlDiff.make_file().
Berker Peksag [Sat, 14 Mar 2015 23:18:47 +0000 (01:18 +0200)]
Issue #2052: Add charset parameter to HtmlDiff.make_file().

9 years agoFix minor docs markup errors.
Serhiy Storchaka [Sat, 14 Mar 2015 19:34:25 +0000 (21:34 +0200)]
Fix minor docs markup errors.

9 years agoFix minor docs markup errors.
Serhiy Storchaka [Sat, 14 Mar 2015 19:32:57 +0000 (21:32 +0200)]
Fix minor docs markup errors.

9 years agoIssue #23606: Temporarily suppress test for CRT name.
Steve Dower [Sat, 14 Mar 2015 18:48:44 +0000 (11:48 -0700)]
Issue #23606: Temporarily suppress test for CRT name.

9 years agoFixes incorrect use of GetLastError where errno should be used.
Steve Dower [Sat, 14 Mar 2015 18:39:18 +0000 (11:39 -0700)]
Fixes incorrect use of GetLastError where errno should be used.

9 years agoFixes incorrect use of GetLastError where errno should be used.
Steve Dower [Sat, 14 Mar 2015 18:38:27 +0000 (11:38 -0700)]
Fixes incorrect use of GetLastError where errno should be used.

9 years agomerge 3.4
Benjamin Peterson [Fri, 13 Mar 2015 21:21:29 +0000 (16:21 -0500)]
merge 3.4

9 years ago__getslice__ certainly won't appear in the output
Benjamin Peterson [Fri, 13 Mar 2015 21:21:23 +0000 (16:21 -0500)]
__getslice__ certainly won't appear in the output

9 years agoMerge 3.4
Brett Cannon [Fri, 13 Mar 2015 16:50:16 +0000 (12:50 -0400)]
Merge 3.4

9 years agoMake the case to only support Python 2.7 when supporting 2/3 simultaneously
Brett Cannon [Fri, 13 Mar 2015 16:49:44 +0000 (12:49 -0400)]
Make the case to only support Python 2.7 when supporting 2/3 simultaneously

9 years agoAdd some periods to the ends of a couple comments
Brett Cannon [Fri, 13 Mar 2015 15:13:20 +0000 (11:13 -0400)]
Add some periods to the ends of a couple comments

9 years agoStrip trailing whitespace
Brett Cannon [Fri, 13 Mar 2015 14:42:08 +0000 (10:42 -0400)]
Strip trailing whitespace

9 years agoIssue #23491: Implement PEP 441: Improving Python Zip Application Support
Brett Cannon [Fri, 13 Mar 2015 14:40:49 +0000 (10:40 -0400)]
Issue #23491: Implement PEP 441: Improving Python Zip Application Support

Thanks to Paul Moore for the PEP and implementation.

9 years agoIssue #23566: Skip "fd" tests of test_faulthandler on Windows
Victor Stinner [Fri, 13 Mar 2015 10:01:30 +0000 (11:01 +0100)]
Issue #23566: Skip "fd" tests of test_faulthandler on Windows

subprocess doesn't support pass_fds on Windows.

9 years agoIssue #23138: Fixed parsing cookies with absent keys or values in cookiejar.
Serhiy Storchaka [Fri, 13 Mar 2015 07:05:01 +0000 (09:05 +0200)]
Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar.
Patch by Demian Brecht.

9 years agoIssue #23051: multiprocessing.Pool methods imap() and imap_unordered() now
Serhiy Storchaka [Fri, 13 Mar 2015 06:25:26 +0000 (08:25 +0200)]
Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() now
handle exceptions raised by an iterator.  Patch by Alon Diamant and Davin
Potts.

9 years agouse the meth role for ZipFile.open
Benjamin Peterson [Fri, 13 Mar 2015 03:41:06 +0000 (22:41 -0500)]
use the meth role for ZipFile.open

9 years agoIssue #23081: Document that PySequence_List also accepts iterables.
Berker Peksag [Fri, 13 Mar 2015 00:55:45 +0000 (02:55 +0200)]
Issue #23081: Document that PySequence_List also accepts iterables.

Patch by Lars Buitinck.

9 years agoIssue #22154: Add an example to show context management protocol support of ZipFile...
Berker Peksag [Fri, 13 Mar 2015 00:29:54 +0000 (02:29 +0200)]
Issue #22154: Add an example to show context management protocol support of ZipFile.open().

Patch by Mike Short.

9 years agoIssue #23641: Cleaned out legacy dunder names from tests and docs.
Serhiy Storchaka [Thu, 12 Mar 2015 19:56:08 +0000 (21:56 +0200)]
Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB.

9 years agoIssue #20617: Remove unused import in test_ssl.
Berker Peksag [Thu, 12 Mar 2015 16:50:49 +0000 (18:50 +0200)]
Issue #20617: Remove unused import in test_ssl.

Patch by Mark Lawrence.

9 years agotest
Victor Stinner [Thu, 12 Mar 2015 15:19:01 +0000 (16:19 +0100)]
test

9 years agoIssue #23138: Fixed parsing cookies with absent keys or values in cookiejar.
Serhiy Storchaka [Fri, 13 Mar 2015 07:09:35 +0000 (09:09 +0200)]
Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar.
Patch by Demian Brecht.

9 years agoIssue #23051: multiprocessing.Pool methods imap() and imap_unordered() now
Serhiy Storchaka [Fri, 13 Mar 2015 06:30:33 +0000 (08:30 +0200)]
Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() now
handle exceptions raised by an iterator.  Patch by Alon Diamant and Davin
Potts.

9 years agomerge 3.4
Benjamin Peterson [Fri, 13 Mar 2015 03:41:14 +0000 (22:41 -0500)]
merge 3.4

9 years agoIssue #23081: Document that PySequence_List also accepts iterables.
Berker Peksag [Fri, 13 Mar 2015 00:56:12 +0000 (02:56 +0200)]
Issue #23081: Document that PySequence_List also accepts iterables.

Patch by Lars Buitinck.

9 years agoIssue #22154: Add an example to show context management protocol support of ZipFile...
Berker Peksag [Fri, 13 Mar 2015 00:30:17 +0000 (02:30 +0200)]
Issue #22154: Add an example to show context management protocol support of ZipFile.open().

Patch by Mike Short.

9 years agoIssue #23641: Cleaned out legacy dunder names from tests and docs.
Serhiy Storchaka [Thu, 12 Mar 2015 20:01:30 +0000 (22:01 +0200)]
Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB.
Added few tests for __truediv__, __floordiv__ and __matmul__.

9 years agoAdd versionadded directives for the matmul operator.
Berker Peksag [Thu, 12 Mar 2015 18:56:45 +0000 (20:56 +0200)]
Add versionadded directives for the matmul operator.

9 years agoIssue #23651: Fix typo in allow_abbrev docs.
Berker Peksag [Thu, 12 Mar 2015 18:47:41 +0000 (20:47 +0200)]
Issue #23651: Fix typo in allow_abbrev docs.

Noticed by Nathan West.

9 years agoIssue #23581: Add matmul support to MagicMock.
Berker Peksag [Thu, 12 Mar 2015 18:42:48 +0000 (20:42 +0200)]
Issue #23581: Add matmul support to MagicMock.

Patch by Håkan Lövdahl.

9 years agoIssue #20617: Remove unused import in test_ssl.
Berker Peksag [Thu, 12 Mar 2015 16:51:16 +0000 (18:51 +0200)]
Issue #20617: Remove unused import in test_ssl.

Patch by Mark Lawrence.

9 years agoIssue #23644, #22038: Move #include <stdatomic.c> inside the extern "C" { ... }
Victor Stinner [Thu, 12 Mar 2015 15:04:41 +0000 (16:04 +0100)]
Issue #23644, #22038: Move #include <stdatomic.c> inside the extern "C" { ... }
block in pyatomic.h

9 years agoIssue #23566: enable(), register(), dump_traceback() and dump_traceback_later()
Victor Stinner [Thu, 12 Mar 2015 14:32:03 +0000 (15:32 +0100)]
Issue #23566: enable(), register(), dump_traceback() and dump_traceback_later()
functions of faulthandler now accept file descriptors. Patch by Wei Wu.

9 years agoMerge 3.4 (test_os)
Victor Stinner [Thu, 12 Mar 2015 09:32:20 +0000 (10:32 +0100)]
Merge 3.4 (test_os)

9 years agoIssue #23605: Refactor os.walk() tests to also run them on os.fwalk()
Victor Stinner [Thu, 12 Mar 2015 09:28:24 +0000 (10:28 +0100)]
Issue #23605: Refactor os.walk() tests to also run them on os.fwalk()

9 years agoIssue #22928: Disabled HTTP header injections in http.client.
Serhiy Storchaka [Thu, 12 Mar 2015 09:15:15 +0000 (11:15 +0200)]
Issue #22928: Disabled HTTP header injections in http.client.
Original patch by Demian Brecht.

9 years agoIssue #22928: Disabled HTTP header injections in http.client.
Serhiy Storchaka [Thu, 12 Mar 2015 09:13:36 +0000 (11:13 +0200)]
Issue #22928: Disabled HTTP header injections in http.client.
Original patch by Demian Brecht.

9 years agoIssue #23605: os.walk() doesn't need to call entry.is_symlink() if followlinks
Victor Stinner [Thu, 12 Mar 2015 08:12:48 +0000 (09:12 +0100)]
Issue #23605: os.walk() doesn't need to call entry.is_symlink() if followlinks
is True

9 years agoIssue #23192: Fixed generator lambdas. Patch by Bruno Cauet.
Serhiy Storchaka [Wed, 11 Mar 2015 16:22:29 +0000 (18:22 +0200)]
Issue #23192: Fixed generator lambdas.  Patch by Bruno Cauet.

9 years agoIssue #23192: Fixed generator lambdas. Patch by Bruno Cauet.
Serhiy Storchaka [Wed, 11 Mar 2015 16:20:35 +0000 (18:20 +0200)]
Issue #23192: Fixed generator lambdas.  Patch by Bruno Cauet.

9 years agoClose issue23486: performance boost for enum member lookup
Ethan Furman [Wed, 11 Mar 2015 15:43:12 +0000 (08:43 -0700)]
Close issue23486: performance boost for enum member lookup

9 years agoIssue #23615: Modules bz2, tarfile and tokenize now can be reloaded with
Serhiy Storchaka [Wed, 11 Mar 2015 15:31:33 +0000 (17:31 +0200)]
Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded with
imp.reload().  Patch by Thomas Kluyver.

9 years agoIssue #23615: Modules bz2, tarfile and tokenize now can be reloaded with
Serhiy Storchaka [Wed, 11 Mar 2015 15:18:03 +0000 (17:18 +0200)]
Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded with
imp.reload().  Patch by Thomas Kluyver.

9 years agoClose issue23467: add %r compatibility to bytes and bytearray
Ethan Furman [Wed, 11 Mar 2015 15:17:00 +0000 (08:17 -0700)]
Close issue23467: add %r compatibility to bytes and bytearray

9 years agoRemoves unused format string insertion in launcher.c.
Steve Dower [Wed, 11 Mar 2015 02:40:37 +0000 (19:40 -0700)]
Removes unused format string insertion in launcher.c.

9 years agoRemoves unused format string insertion in launcher.c.
Steve Dower [Wed, 11 Mar 2015 02:38:25 +0000 (19:38 -0700)]
Removes unused format string insertion in launcher.c.

9 years agoIssue #23629: Fix the default __sizeof__ implementation for variable-sized objects.
Antoine Pitrou [Tue, 10 Mar 2015 21:35:24 +0000 (22:35 +0100)]
Issue #23629: Fix the default __sizeof__ implementation for variable-sized objects.

9 years agoIssue #23629: Fix the default __sizeof__ implementation for variable-sized objects.
Antoine Pitrou [Tue, 10 Mar 2015 21:32:00 +0000 (22:32 +0100)]
Issue #23629: Fix the default __sizeof__ implementation for variable-sized objects.

9 years agoIssue #22028: Ensure mimetypes will not open registry keys with embedded nulls
Steve Dower [Tue, 10 Mar 2015 20:20:21 +0000 (13:20 -0700)]
Issue #22028: Ensure mimetypes will not open registry keys with embedded nulls

9 years agoIssue #22028: Ensure mimetypes will not open registry keys with embedded nulls
Steve Dower [Tue, 10 Mar 2015 20:17:21 +0000 (13:17 -0700)]
Issue #22028: Ensure mimetypes will not open registry keys with embedded nulls

9 years agoAdds note about installed debug binaries.
Steve Dower [Tue, 10 Mar 2015 20:15:40 +0000 (13:15 -0700)]
Adds note about installed debug binaries.

9 years agoIssue #23606: Disable ctypes.util.find_library("c") on Windows so tests are skipped...
Steve Dower [Tue, 10 Mar 2015 16:56:38 +0000 (09:56 -0700)]
Issue #23606: Disable ctypes.util.find_library("c") on Windows so tests are skipped while we figure out how best to approach the CRT change

9 years agoMerge 3.4 (asyncio)
Victor Stinner [Tue, 10 Mar 2015 15:32:50 +0000 (16:32 +0100)]
Merge 3.4 (asyncio)

9 years agoasyncio: Fix repr(BaseSubprocessTransport) if it didn't start yet
Victor Stinner [Tue, 10 Mar 2015 15:32:29 +0000 (16:32 +0100)]
asyncio: Fix repr(BaseSubprocessTransport) if it didn't start yet

Replace "running" with "not started" and don't show the pid if the subprocess
didn't start yet.

9 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Tue, 10 Mar 2015 15:29:31 +0000 (16:29 +0100)]
Merge 3.4 (asyncio doc)

9 years agoasyncio doc: changes on the Queue API missed Python 3.4.3 release
Victor Stinner [Tue, 10 Mar 2015 15:27:54 +0000 (16:27 +0100)]
asyncio doc: changes on the Queue API missed Python 3.4.3 release

9 years agoIssue #23432: Remove duplicate content from SystemExit docs.
Berker Peksag [Tue, 10 Mar 2015 12:47:41 +0000 (14:47 +0200)]
Issue #23432: Remove duplicate content from SystemExit docs.

Also, document SystemExit.code attribute explicitly.

9 years agoIssue #23432: Remove duplicate content from SystemExit docs.
Berker Peksag [Tue, 10 Mar 2015 12:47:15 +0000 (14:47 +0200)]
Issue #23432: Remove duplicate content from SystemExit docs.

Also, document SystemExit.code attribute explicitly.

9 years agoMerge 3.4 (os doc)
Victor Stinner [Tue, 10 Mar 2015 12:31:58 +0000 (13:31 +0100)]
Merge 3.4 (os doc)

9 years agoIssue #23605: os.walk() doc now mentions shutil.rmtree() in the last example
Victor Stinner [Tue, 10 Mar 2015 12:31:47 +0000 (13:31 +0100)]
Issue #23605: os.walk() doc now mentions shutil.rmtree() in the last example

9 years agoIssue #22524: Rephrase scandir addition in What's New in Python 3.5
Victor Stinner [Tue, 10 Mar 2015 12:29:41 +0000 (13:29 +0100)]
Issue #22524: Rephrase scandir addition in What's New in Python 3.5

Patch written by Ben Hoyt.

9 years agoIssue #23605: os.walk() now calls os.scandir() instead of os.listdir().
Victor Stinner [Tue, 10 Mar 2015 12:20:34 +0000 (13:20 +0100)]
Issue #23605: os.walk() now calls os.scandir() instead of os.listdir().
The usage of os.scandir() reduces the number of calls to os.stat().
Initial patch written by Ben Hoyt.

9 years agoIssue #23571: Oops, fix #ifdef assert()
Victor Stinner [Mon, 9 Mar 2015 14:55:37 +0000 (15:55 +0100)]
Issue #23571: Oops, fix #ifdef assert()

assert() are noop when NDEBUG is defined. We want the opposite.

9 years agoIssue #23619: Ensure C variable is initialized before using it.
Steve Dower [Mon, 9 Mar 2015 17:05:50 +0000 (10:05 -0700)]
Issue #23619: Ensure C variable is initialized before using it.
The garbage in _crtInstalledToken was causing the IsCrtInstalled() function to return TRUE without actually checking anything. We now initialize the variable first.

9 years agomerge 3.4
Benjamin Peterson [Mon, 9 Mar 2015 14:37:59 +0000 (10:37 -0400)]
merge 3.4

9 years agofix up import style
Benjamin Peterson [Mon, 9 Mar 2015 14:37:50 +0000 (10:37 -0400)]
fix up import style

9 years agoMerge.
Larry Hastings [Mon, 9 Mar 2015 09:40:13 +0000 (02:40 -0700)]
Merge.

9 years agoPost-release changes for 3.5.0a2.
Larry Hastings [Mon, 9 Mar 2015 09:39:47 +0000 (02:39 -0700)]
Post-release changes for 3.5.0a2.

9 years agoIssue #23617: Correct plurals typo noted by Kentrell Johnson.
Ned Deily [Mon, 9 Mar 2015 08:55:35 +0000 (01:55 -0700)]
Issue #23617: Correct plurals typo noted by Kentrell Johnson.

9 years agoIssue #23617: Correct plurals typo noted by Kentrell Johnson.
Ned Deily [Mon, 9 Mar 2015 08:55:02 +0000 (01:55 -0700)]
Issue #23617: Correct plurals typo noted by Kentrell Johnson.

9 years agoIssue #23612: Fixes upgrade code and version for Windows installer.
Steve Dower [Sun, 8 Mar 2015 22:29:39 +0000 (15:29 -0700)]
Issue #23612: Fixes upgrade code and version for Windows installer.

9 years agoMinor updates to Windows installer upload script.
Steve Dower [Sun, 8 Mar 2015 19:59:00 +0000 (12:59 -0700)]
Minor updates to Windows installer upload script.

9 years agoIssue #22980: Under Linux, C extensions now include bitness in the file name,
Antoine Pitrou [Sun, 8 Mar 2015 19:43:10 +0000 (20:43 +0100)]
Issue #22980: Under Linux, C extensions now include bitness in the file name,
to make it easy to test 32-bit and 64-bit builds in the same working tree.

9 years agomerge 3.4 (#23608)
Benjamin Peterson [Sun, 8 Mar 2015 13:42:40 +0000 (09:42 -0400)]
merge 3.4 (#23608)

9 years agoindicate correct version (closes #23608)
Benjamin Peterson [Sun, 8 Mar 2015 13:42:25 +0000 (09:42 -0400)]
indicate correct version (closes #23608)

9 years agoMerge.
Larry Hastings [Sun, 8 Mar 2015 08:57:04 +0000 (00:57 -0800)]
Merge.

9 years agoAdded tag v3.5.0a2 for changeset 0337bd7ebcb6
Larry Hastings [Sun, 8 Mar 2015 08:24:48 +0000 (00:24 -0800)]
Added tag v3.5.0a2 for changeset 0337bd7ebcb6

9 years agoRelease bump for 3.5.0a2. v3.5.0a2
Larry Hastings [Sun, 8 Mar 2015 08:24:34 +0000 (00:24 -0800)]
Release bump for 3.5.0a2.

9 years agoIssue #21619: Cleaned up test_broken_pipe_cleanup.
Serhiy Storchaka [Sun, 8 Mar 2015 07:17:28 +0000 (09:17 +0200)]
Issue #21619: Cleaned up test_broken_pipe_cleanup.
Patch by Martin Panter.

9 years agoIssue #21619: Cleaned up test_broken_pipe_cleanup.
Serhiy Storchaka [Sun, 8 Mar 2015 07:16:40 +0000 (09:16 +0200)]
Issue #21619: Cleaned up test_broken_pipe_cleanup.
Patch by Martin Panter.

9 years agoSuppress assert dialogs in test_os
Steve Dower [Sun, 8 Mar 2015 05:25:54 +0000 (21:25 -0800)]
Suppress assert dialogs in test_os

9 years agoSuppress assert dialogs in test_cmd_line.
Steve Dower [Sun, 8 Mar 2015 04:32:16 +0000 (20:32 -0800)]
Suppress assert dialogs in test_cmd_line.

9 years agoIssue #23524: Change back to using Windows errors for _Py_fstat instead of the errno...
Steve Dower [Sun, 8 Mar 2015 02:14:07 +0000 (18:14 -0800)]
Issue #23524: Change back to using Windows errors for _Py_fstat instead of the errno shim.

9 years agoIssue #22524: Fix os.scandir() for platforms which don't have a d_type field in
Victor Stinner [Sun, 8 Mar 2015 01:59:09 +0000 (02:59 +0100)]
Issue #22524: Fix os.scandir() for platforms which don't have a d_type field in
the dirent structure (ex: OpenIndiana).

9 years agoIssue #22524: New os.scandir() function, part of the PEP 471: "os.scandir()
Victor Stinner [Sun, 8 Mar 2015 00:58:04 +0000 (01:58 +0100)]
Issue #22524: New os.scandir() function, part of the PEP 471: "os.scandir()
function -- a better and faster directory iterator". Patch written by Ben
Hoyt.

9 years agoIssue #20876: correctly close temporary file in test.support.fs_is_case_insensitive()
Antoine Pitrou [Sat, 7 Mar 2015 23:18:29 +0000 (00:18 +0100)]
Issue #20876: correctly close temporary file in test.support.fs_is_case_insensitive()

9 years agoIssue #20876: correctly close temporary file in test.support.fs_is_case_insensitive()
Antoine Pitrou [Sat, 7 Mar 2015 23:15:05 +0000 (00:15 +0100)]
Issue #20876: correctly close temporary file in test.support.fs_is_case_insensitive()

9 years agoIssue #23103: Reduced the memory consumption of IPv4Address and IPv6Address.
Serhiy Storchaka [Sat, 7 Mar 2015 18:08:34 +0000 (20:08 +0200)]
Issue #23103: Reduced the memory consumption of IPv4Address and IPv6Address.

9 years agomerge 3.4
Benjamin Peterson [Sat, 7 Mar 2015 14:34:49 +0000 (09:34 -0500)]
merge 3.4

9 years agoreplace Amazon links in the documentation (closes #23579)
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.

9 years agoIssue #21793: BaseHTTPRequestHandler again logs response code as numeric,
Serhiy Storchaka [Sat, 7 Mar 2015 09:51:37 +0000 (11:51 +0200)]
Issue #21793: BaseHTTPRequestHandler again logs response code as numeric,
not as stringified enum.  Patch by Demian Brecht.

9 years agoIssue #23571: PyObject_Call(), PyCFunction_Call() and call_function() now
Victor Stinner [Fri, 6 Mar 2015 22:35:27 +0000 (23:35 +0100)]
Issue #23571: PyObject_Call(), PyCFunction_Call() and call_function() now
raise a SystemError if a function returns a result and raises an exception.
The SystemError is chained to the previous exception.

Refactor also PyObject_Call() and PyCFunction_Call() to make them more readable.

Remove some checks which became useless (duplicate checks).

Change reviewed by Serhiy Storchaka.

9 years agoIssue #23524: Replace _PyVerify_fd function with calling _set_thread_local_invalid_pa...
Steve Dower [Fri, 6 Mar 2015 22:47:02 +0000 (14:47 -0800)]
Issue #23524: Replace _PyVerify_fd function with calling _set_thread_local_invalid_parameter_handler on every thread.