]> granicus.if.org Git - python/log
python
9 years agoIssue #24984: Merge 3.4 into 3.5
Martin Panter [Wed, 9 Sep 2015 06:48:55 +0000 (06:48 +0000)]
Issue #24984: Merge 3.4 into 3.5

9 years agoIssue #24984: Document AF_BLUETOOTH socket address formats
Martin Panter [Wed, 9 Sep 2015 06:47:58 +0000 (06:47 +0000)]
Issue #24984: Document AF_BLUETOOTH socket address formats

Patch from Tim Tisdall.

9 years agoMerge 3.4 into 3.5
Martin Panter [Wed, 9 Sep 2015 06:27:43 +0000 (06:27 +0000)]
Merge 3.4 into 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Wed, 9 Sep 2015 06:10:35 +0000 (02:10 -0400)]
Merge with 3.4

9 years agoIssue 24199: Deprecate idlelib.idlever with a warning on import.
Terry Jan Reedy [Wed, 9 Sep 2015 06:10:17 +0000 (02:10 -0400)]
Issue 24199: Deprecate idlelib.idlever with a warning on import.

9 years agoos.sendfile(headers=None, trailers=None) arguments are not actually accepted
Martin Panter [Wed, 9 Sep 2015 05:29:24 +0000 (05:29 +0000)]
os.sendfile(headers=None, trailers=None) arguments are not actually accepted

Needs to be tested on a BSD.

9 years agoMerge 3.5 branches
Martin Panter [Wed, 9 Sep 2015 03:45:58 +0000 (03:45 +0000)]
Merge 3.5 branches

9 years agowhatsnew/3.5: Reformat PEP 475 to render in less space; add "ugly" ex in 465
Yury Selivanov [Wed, 9 Sep 2015 03:40:46 +0000 (23:40 -0400)]
whatsnew/3.5: Reformat PEP 475 to render in less space; add "ugly" ex in 465

9 years agowhatsnew/3.5: Better formatting; add traceback to significantly improved stdlib
Yury Selivanov [Wed, 9 Sep 2015 03:28:06 +0000 (23:28 -0400)]
whatsnew/3.5: Better formatting; add traceback to significantly improved stdlib

9 years agoMerge 3.5 branches
Martin Panter [Wed, 9 Sep 2015 02:51:53 +0000 (02:51 +0000)]
Merge 3.5 branches

9 years agowhatsnew/3.5: Fix library news till Py3.5a1. Update other docs.
Yury Selivanov [Wed, 9 Sep 2015 02:40:30 +0000 (22:40 -0400)]
whatsnew/3.5: Fix library news till Py3.5a1. Update other docs.

9 years agoIssue #23738: Merge 3.4 into 3.5
Martin Panter [Wed, 9 Sep 2015 01:56:53 +0000 (01:56 +0000)]
Issue #23738: Merge 3.4 into 3.5

9 years agoIssue #23738: Document and test actual keyword parameter names
Martin Panter [Wed, 9 Sep 2015 01:01:13 +0000 (01:01 +0000)]
Issue #23738: Document and test actual keyword parameter names

Also fix signature because os.utime(..., ns=None) is not allowed.

9 years agodocs/whatsnew/3.5: Update peps section
Yury Selivanov [Tue, 8 Sep 2015 19:33:15 +0000 (15:33 -0400)]
docs/whatsnew/3.5: Update peps section

Patch by Elvis Pranskevichus.

9 years agoFixed tests for shutil.make_archive() with relative base_name in the case when
Serhiy Storchaka [Tue, 8 Sep 2015 07:00:22 +0000 (10:00 +0300)]
Fixed tests for shutil.make_archive() with relative base_name in the case when
the path of the directory for temporary files contains symlinks.

9 years agoFixed tests for shutil.make_archive() with relative base_name in the case when
Serhiy Storchaka [Tue, 8 Sep 2015 06:59:02 +0000 (09:59 +0300)]
Fixed tests for shutil.make_archive() with relative base_name in the case when
the path of the directory for temporary files contains symlinks.

9 years agoUpdate PCbuild/readme.txt
Zachary Ware [Tue, 8 Sep 2015 06:12:00 +0000 (01:12 -0500)]
Update PCbuild/readme.txt

9 years agomerge
Raymond Hettinger [Tue, 8 Sep 2015 04:36:56 +0000 (00:36 -0400)]
merge

9 years agoFix whitespace in comment.
Raymond Hettinger [Tue, 8 Sep 2015 04:36:29 +0000 (00:36 -0400)]
Fix whitespace in comment.

9 years agoIssue #25010: Merge with 3.4
Zachary Ware [Tue, 8 Sep 2015 04:31:49 +0000 (23:31 -0500)]
Issue #25010: Merge with 3.4

9 years agoIssue #25010: Fix path for .pyd example project.
Zachary Ware [Tue, 8 Sep 2015 04:30:46 +0000 (23:30 -0500)]
Issue #25010: Fix path for .pyd example project.

Patch by Shaun Walbridge

9 years agoIssue #24982: shutil.make_archive() with the "zip" format now adds entries
Serhiy Storchaka [Tue, 8 Sep 2015 02:51:00 +0000 (05:51 +0300)]
Issue #24982: shutil.make_archive() with the "zip" format now adds entries
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.

9 years agoIssue #24982: shutil.make_archive() with the "zip" format now adds entries
Serhiy Storchaka [Tue, 8 Sep 2015 02:47:23 +0000 (05:47 +0300)]
Issue #24982: shutil.make_archive() with the "zip" format now adds entries
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.

9 years agoRaise more correct exception on overflow in setting buffer_size attribute of
Serhiy Storchaka [Mon, 7 Sep 2015 19:54:08 +0000 (22:54 +0300)]
Raise more correct exception on overflow in setting buffer_size attribute of
expat parser.

9 years agoRaise more correct exception on overflow in setting buffer_size attribute of
Serhiy Storchaka [Mon, 7 Sep 2015 19:51:56 +0000 (22:51 +0300)]
Raise more correct exception on overflow in setting buffer_size attribute of
expat parser.

9 years agoIssue #25019: Fixed a crash caused by setting non-string key of expat parser.
Serhiy Storchaka [Mon, 7 Sep 2015 19:38:34 +0000 (22:38 +0300)]
Issue #25019: Fixed a crash caused by setting non-string key of expat parser.
Added additional tests for expat parser attributes.
Based on patch by John Leitch.

9 years agoIssue #25019: Fixed a crash caused by setting non-string key of expat parser.
Serhiy Storchaka [Mon, 7 Sep 2015 19:37:02 +0000 (22:37 +0300)]
Issue #25019: Fixed a crash caused by setting non-string key of expat parser.
Added additional tests for expat parser attributes.
Based on patch by John Leitch.

9 years agoIssue #25018: Fixed testing shutil.make_archive() with relative base_name on
Serhiy Storchaka [Mon, 7 Sep 2015 16:59:24 +0000 (19:59 +0300)]
Issue #25018: Fixed testing shutil.make_archive() with relative base_name on
Windows.  The test now makes sense on non-Windows.  Added similar test for
zip format.

9 years agoIssue #25018: Fixed testing shutil.make_archive() with relative base_name on
Serhiy Storchaka [Mon, 7 Sep 2015 16:58:23 +0000 (19:58 +0300)]
Issue #25018: Fixed testing shutil.make_archive() with relative base_name on
Windows.  The test now makes sense on non-Windows.  Added similar test for
zip format.

9 years agoMerge heads.
Larry Hastings [Mon, 7 Sep 2015 12:16:38 +0000 (05:16 -0700)]
Merge heads.

9 years agoAdded tag v3.5.0rc3 for changeset 66ed52375df8
Larry Hastings [Mon, 7 Sep 2015 12:12:28 +0000 (05:12 -0700)]
Added tag v3.5.0rc3 for changeset 66ed52375df8

9 years agoVersion bump for Python 3.5.0rc3. v3.5.0rc3
Larry Hastings [Mon, 7 Sep 2015 12:12:05 +0000 (05:12 -0700)]
Version bump for Python 3.5.0rc3.

9 years agoUpdated topics (again) for Python 3.5.0rc3 (second try).
Larry Hastings [Mon, 7 Sep 2015 12:10:55 +0000 (05:10 -0700)]
Updated topics (again) for Python 3.5.0rc3 (second try).

9 years agoExplicitly test archive name in shutil.make_archive() tests to expose failure
Serhiy Storchaka [Mon, 7 Sep 2015 10:56:49 +0000 (13:56 +0300)]
Explicitly test archive name in shutil.make_archive() tests to expose failure
details in issue25018.

9 years agoExplicitly test archive name in shutil.make_archive() tests to expose failure
Serhiy Storchaka [Mon, 7 Sep 2015 10:55:25 +0000 (13:55 +0300)]
Explicitly test archive name in shutil.make_archive() tests to expose failure
details in issue25018.

9 years agoMerge with 3.4
Terry Jan Reedy [Mon, 7 Sep 2015 05:58:29 +0000 (01:58 -0400)]
Merge with 3.4

9 years agoIssue #24889: When starting Idle, force focus onto Idle window if not already
Terry Jan Reedy [Mon, 7 Sep 2015 05:58:13 +0000 (01:58 -0400)]
Issue #24889: When starting Idle, force focus onto Idle window if not already
there (as when opening Idle from interactive Python on Windows).

9 years agoNull merge from 3.4
Steve Dower [Mon, 7 Sep 2015 05:31:08 +0000 (22:31 -0700)]
Null merge from 3.4

9 years agoReapplied change to test_warnings.py to test_warnings/__init__.py.
Steve Dower [Mon, 7 Sep 2015 05:30:40 +0000 (22:30 -0700)]
Reapplied change to test_warnings.py to test_warnings/__init__.py.

9 years agoMerge from 3.5.0 branch.
Steve Dower [Mon, 7 Sep 2015 05:27:42 +0000 (22:27 -0700)]
Merge from 3.5.0 branch.

9 years agoIssue #24917: time_strftime() buffer over-read.
Steve Dower [Mon, 7 Sep 2015 05:18:36 +0000 (22:18 -0700)]
Issue #24917: time_strftime() buffer over-read.

9 years agoMerged in stevedower/cpython350 (pull request #20)
Larry Hastings [Mon, 7 Sep 2015 05:10:22 +0000 (22:10 -0700)]
Merged in stevedower/cpython350 (pull request #20)

Issue #25005: Backout fix for #8232 because of use of unsafe subprocess.call(shell=True)

9 years agoIssue #25004: Merge 3.4 into 3.5
Martin Panter [Mon, 7 Sep 2015 04:04:40 +0000 (04:04 +0000)]
Issue #25004: Merge 3.4 into 3.5

9 years agoIssue #23406: Remove specific line number from susp-ignored.csv
Martin Panter [Mon, 7 Sep 2015 03:40:17 +0000 (03:40 +0000)]
Issue #23406: Remove specific line number from susp-ignored.csv

9 years agoIssue #25004: Handle out-of-disk-space error in LargeMmapTests
Martin Panter [Mon, 7 Sep 2015 02:57:47 +0000 (02:57 +0000)]
Issue #25004: Handle out-of-disk-space error in LargeMmapTests

Patch from John Beck.

9 years agoIssue #24917: time_strftime() buffer over-read.
Steve Dower [Mon, 7 Sep 2015 02:20:51 +0000 (19:20 -0700)]
Issue #24917: time_strftime() buffer over-read.

9 years agoIssue #23406: Merge 3.4 into 3.5
Martin Panter [Mon, 7 Sep 2015 02:10:59 +0000 (02:10 +0000)]
Issue #23406: Merge 3.4 into 3.5

9 years agoIssue #23406: Clarify documentation on multiplying a sequence
Martin Panter [Mon, 7 Sep 2015 02:08:55 +0000 (02:08 +0000)]
Issue #23406: Clarify documentation on multiplying a sequence

Patch from Matheus Vieira Portela.

9 years ago#23144: merge with 3.4.
Ezio Melotti [Sun, 6 Sep 2015 18:44:45 +0000 (21:44 +0300)]
#23144: merge with 3.4.

9 years ago#23144: Make sure that HTMLParser.feed() returns all the data, even when convert_char...
Ezio Melotti [Sun, 6 Sep 2015 18:38:06 +0000 (21:38 +0300)]
#23144: Make sure that HTMLParser.feed() returns all the data, even when convert_charrefs is True.

9 years agoFix, refactor and extend tests for shutil.make_archive().
Serhiy Storchaka [Sun, 6 Sep 2015 15:33:52 +0000 (18:33 +0300)]
Fix, refactor and extend tests for shutil.make_archive().

9 years agoFix, refactor and extend tests for shutil.make_archive().
Serhiy Storchaka [Sun, 6 Sep 2015 15:33:19 +0000 (18:33 +0300)]
Fix, refactor and extend tests for shutil.make_archive().

9 years agoUse support.change_cwd() in tests.
Serhiy Storchaka [Sun, 6 Sep 2015 11:14:49 +0000 (14:14 +0300)]
Use support.change_cwd() in tests.

9 years agoUse support.change_cwd() in tests.
Serhiy Storchaka [Sun, 6 Sep 2015 11:13:25 +0000 (14:13 +0300)]
Use support.change_cwd() in tests.

9 years agoIssue #24305: Prevent import subsystem stack frames from being counted
Larry Hastings [Sun, 6 Sep 2015 07:39:37 +0000 (00:39 -0700)]
Issue #24305: Prevent import subsystem stack frames from being counted
by the warnings.warn(stacklevel=) parameter.

9 years agoBacking out 09b62202d9b7; the tests fail on Linux, and it needs a re-think.
Larry Hastings [Sun, 6 Sep 2015 07:31:02 +0000 (00:31 -0700)]
Backing out 09b62202d9b7; the tests fail on Linux, and it needs a re-think.

9 years agoIssue #24917: Backed out changeset 09b62202d9b7
Steve Dower [Sun, 6 Sep 2015 06:11:53 +0000 (23:11 -0700)]
Issue #24917: Backed out changeset 09b62202d9b7

9 years agoBacked out changeset: a29b49d57769
Steve Dower [Sun, 6 Sep 2015 06:09:00 +0000 (23:09 -0700)]
Backed out changeset: a29b49d57769

9 years agoNull merge with 3.4
Steve Dower [Sun, 6 Sep 2015 03:59:41 +0000 (20:59 -0700)]
Null merge with 3.4

9 years agoMerge from 3.5.0 release branch
Steve Dower [Sun, 6 Sep 2015 03:59:20 +0000 (20:59 -0700)]
Merge from 3.5.0 release branch

9 years agoIssue #24917: time_strftime() Buffer Over-read. Patch by John Leitch.
Steve Dower [Sun, 6 Sep 2015 03:55:34 +0000 (20:55 -0700)]
Issue #24917: time_strftime() Buffer Over-read. Patch by John Leitch.

9 years agoMerged in ncoghlan/cpython350 (pull request #17)
Larry Hastings [Sun, 6 Sep 2015 03:53:04 +0000 (20:53 -0700)]
Merged in ncoghlan/cpython350 (pull request #17)

9 years agoPrevent reentrant badness by deferring the decrefs as long as possible.
Raymond Hettinger [Sun, 6 Sep 2015 00:05:52 +0000 (17:05 -0700)]
Prevent reentrant badness by deferring the decrefs as long as possible.

9 years agomerge from 3.4
Terry Jan Reedy [Sat, 5 Sep 2015 23:17:24 +0000 (19:17 -0400)]
merge from 3.4

9 years agoIssue #16180: Exit pdb if file has syntax error, instead of trapping user
Terry Jan Reedy [Sat, 5 Sep 2015 23:13:26 +0000 (19:13 -0400)]
Issue #16180: Exit pdb if file has syntax error, instead of trapping user
in an infinite loop.  Patch by Xavier de Gaye.

9 years agoIssue #24912: Prevent __class__ assignment to immutable built-in objects. (Merge...
Guido van Rossum [Sat, 5 Sep 2015 22:20:08 +0000 (15:20 -0700)]
Issue #24912: Prevent __class__ assignment to immutable built-in objects. (Merge 3.5.0 -> 3.5)

9 years agoIssue #24910: Windows MSIs now have unique display names.
Steve Dower [Sat, 5 Sep 2015 19:47:06 +0000 (12:47 -0700)]
Issue #24910: Windows MSIs now have unique display names.

9 years agoIssue #24917: Moves NEWS entry under Library.
Steve Dower [Sat, 5 Sep 2015 19:23:00 +0000 (12:23 -0700)]
Issue #24917: Moves NEWS entry under Library.

9 years agoIssue #24917: time_strftime() Buffer Over-read. Patch by John Leitch.
Steve Dower [Sat, 5 Sep 2015 19:16:06 +0000 (12:16 -0700)]
Issue #24917: time_strftime() Buffer Over-read. Patch by John Leitch.

9 years agoIssue #25005: Backout fix for #8232 because of use of unsafe subprocess.call(shell...
Steve Dower [Sat, 5 Sep 2015 18:57:47 +0000 (11:57 -0700)]
Issue #25005: Backout fix for #8232 because of use of unsafe subprocess.call(shell=True)

9 years agoClose #24748: Restore imp.load_dynamic compatibility
Nick Coghlan [Sat, 5 Sep 2015 11:05:05 +0000 (21:05 +1000)]
Close #24748: Restore imp.load_dynamic compatibility

To resolve a compatibility problem found with py2exe and
pywin32, imp.load_dynamic() once again ignores previously loaded modules
to support Python modules replacing themselves with extension modules.

Patch by Petr Viktorin.

9 years agoIssue #24912: Prevent __class__ assignment to immutable built-in objects.
Guido van Rossum [Sat, 5 Sep 2015 03:54:07 +0000 (20:54 -0700)]
Issue #24912: Prevent __class__ assignment to immutable built-in objects.

9 years agoNull merge (Larry's 3.5 -> 3.5.1).
Guido van Rossum [Fri, 4 Sep 2015 19:54:36 +0000 (12:54 -0700)]
Null merge (Larry's 3.5 -> 3.5.1).

9 years agoFix issue #24635.
Guido van Rossum [Fri, 4 Sep 2015 19:15:54 +0000 (12:15 -0700)]
Fix issue #24635.

9 years agoIssue #24635: Fixed flakiness in test_typing.py.
Guido van Rossum [Fri, 4 Sep 2015 19:00:06 +0000 (12:00 -0700)]
Issue #24635: Fixed flakiness in test_typing.py.

9 years agoMerge 3.4 (create_stdio)
Victor Stinner [Fri, 4 Sep 2015 15:29:57 +0000 (17:29 +0200)]
Merge 3.4 (create_stdio)

9 years agoFix race condition in create_stdio()
Victor Stinner [Fri, 4 Sep 2015 15:27:49 +0000 (17:27 +0200)]
Fix race condition in create_stdio()

Issue #24891: Fix a race condition at Python startup if the file descriptor
of stdin (0), stdout (1) or stderr (2) is closed while Python is creating
sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set
to None if the creation of the object failed, instead of raising an OSError
exception. Initial patch written by Marco Paolini.

9 years agoMerge: #24998: fix cut and paste error in subprocess example.
R David Murray [Fri, 4 Sep 2015 14:02:27 +0000 (10:02 -0400)]
Merge: #24998: fix cut and paste error in subprocess example.

9 years ago#24998: fix cut and paste error in subprocess example.
R David Murray [Fri, 4 Sep 2015 14:01:19 +0000 (10:01 -0400)]
#24998: fix cut and paste error in subprocess example.

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 4 Sep 2015 08:38:17 +0000 (04:38 -0400)]
Merge with 3.4

9 years agoIssue #24745: Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily.
Terry Jan Reedy [Fri, 4 Sep 2015 08:37:56 +0000 (04:37 -0400)]
Issue #24745: Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily.

9 years agoMerge 3.5.0 into 3.5.1
Terry Jan Reedy [Fri, 4 Sep 2015 08:16:42 +0000 (04:16 -0400)]
Merge 3.5.0 into 3.5.1

9 years agoIssue #24986: Save some bandwidth from svn.python.org
Zachary Ware [Fri, 4 Sep 2015 06:10:23 +0000 (01:10 -0500)]
Issue #24986: Save some bandwidth from svn.python.org

Don't download sources that won't be used.

9 years agoFixed merge error.
Serhiy Storchaka [Fri, 4 Sep 2015 05:38:45 +0000 (08:38 +0300)]
Fixed merge error.

9 years agoMerge heads
Serhiy Storchaka [Fri, 4 Sep 2015 05:34:01 +0000 (08:34 +0300)]
Merge heads

9 years agoMerge 3.5.0
Serhiy Storchaka [Fri, 4 Sep 2015 05:27:39 +0000 (08:27 +0300)]
Merge 3.5.0

9 years agoMerged in storchaka/cpython350 (pull request #13)
Larry Hastings [Fri, 4 Sep 2015 05:12:08 +0000 (22:12 -0700)]
Merged in storchaka/cpython350 (pull request #13)

Issue #24989

9 years agoIssue #24989: Fixed buffer overread in BytesIO.readline() if a position is
Serhiy Storchaka [Fri, 4 Sep 2015 04:48:19 +0000 (07:48 +0300)]
Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is
set beyond size.  Based on patch by John Leitch.

9 years agoIssue #24986: Allow building Python without external libraries on Windows
Zachary Ware [Fri, 4 Sep 2015 04:43:54 +0000 (23:43 -0500)]
Issue #24986: Allow building Python without external libraries on Windows

This modifies the behavior of the '-e' flag to PCbuild\build.bat: when '-e'
is not supplied, no attempt will be made to build extension modules that
require external libraries, even if the external libraries are present.

Also adds '--no-<module>' flags to PCbuild\build.bat, where '<module>' is
one of 'ssl', 'tkinter', or 'bsddb', to allow skipping just those modules
(if '-e' is given).

9 years agoAllow PCbuild\rt.bat to accept unlimited arguments for regrtest.
Zachary Ware [Fri, 4 Sep 2015 04:43:37 +0000 (23:43 -0500)]
Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.

This makes it possible to pass more than 4 tests by name through
Tools\buildbot\test.bat

9 years agoIssue #21192: Change 'RUN' back to 'RESTART' when running editor file.
Terry Jan Reedy [Fri, 4 Sep 2015 01:26:12 +0000 (21:26 -0400)]
Issue #21192: Change 'RUN' back to 'RESTART' when running editor file.

9 years agoMerge from 3.5.0 for issue #24913
Brett Cannon [Thu, 3 Sep 2015 22:34:57 +0000 (15:34 -0700)]
Merge from 3.5.0 for issue #24913

9 years agoIssue #24989: Fixed buffer overread in BytesIO.readline() if a position is
Serhiy Storchaka [Thu, 3 Sep 2015 22:08:03 +0000 (01:08 +0300)]
Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is
set beyond size.  Based on patch by John Leitch.

9 years agoMerge 3.4 (ICC)
Victor Stinner [Thu, 3 Sep 2015 19:32:44 +0000 (21:32 +0200)]
Merge 3.4 (ICC)

9 years agoDon't use defined() in C preprocessor macros
Victor Stinner [Thu, 3 Sep 2015 19:30:26 +0000 (21:30 +0200)]
Don't use defined() in C preprocessor macros

The ICC compiler doesn't seem to support defined() in macro expansion. Example
of warning:

warning #3199: "defined" is always false in a macro expansion in Microsoft mode

9 years agoIssue #24913: Fix overrun error in deque.index().
Brett Cannon [Thu, 3 Sep 2015 17:15:03 +0000 (10:15 -0700)]
Issue #24913: Fix overrun error in deque.index().

Reported by John Leitch and Bryce Darling, patch by Raymond Hettinger.

9 years agoIssue #24974: Force fp-model precice in mpdecimal.c on Windows
Zachary Ware [Thu, 3 Sep 2015 16:52:15 +0000 (11:52 -0500)]
Issue #24974: Force fp-model precice in mpdecimal.c on Windows

As suggested by Steve Dower and approved by Stefan Krah.

9 years agoIssue #24992: Fix error handling and a race condition (related to garbage
Victor Stinner [Thu, 3 Sep 2015 15:50:04 +0000 (17:50 +0200)]
Issue #24992: Fix error handling and a race condition (related to garbage
collection) in collections.OrderedDict constructor.

Patch reviewed by Serhiy Storchaka.

9 years agoIssue #24993: Handle import error in namereplace error handler
Victor Stinner [Thu, 3 Sep 2015 14:19:40 +0000 (16:19 +0200)]
Issue #24993: Handle import error in namereplace error handler

Handle PyCapsule_Import() failure (exception) in PyCodec_NameReplaceErrors():
return immedialty NULL.

9 years agoMerge 3.4 (test_gdb)
Victor Stinner [Thu, 3 Sep 2015 13:42:45 +0000 (15:42 +0200)]
Merge 3.4 (test_gdb)