]> granicus.if.org Git - python/log
python
10 years agoIssue #21431: merge from 3.4
Ned Deily [Mon, 22 Sep 2014 21:44:22 +0000 (14:44 -0700)]
Issue #21431: merge from 3.4

10 years agomerge v3.4.2rc1 release stuff to default
Ned Deily [Mon, 22 Sep 2014 21:38:58 +0000 (14:38 -0700)]
merge v3.4.2rc1 release stuff to default

10 years agoCloses #21431: make docs depend on Sphinx 1.2 and fix pydoc-topics builder to
Georg Brandl [Mon, 22 Sep 2014 19:18:24 +0000 (21:18 +0200)]
Closes #21431: make docs depend on Sphinx 1.2 and fix pydoc-topics builder to
return Unicode strings on Python 3.

10 years agoMerge.
Larry Hastings [Mon, 22 Sep 2014 14:21:08 +0000 (15:21 +0100)]
Merge.

10 years agoPost-release engineering work for 3.4.2rc1.
Larry Hastings [Mon, 22 Sep 2014 14:19:30 +0000 (15:19 +0100)]
Post-release engineering work for 3.4.2rc1.

10 years agoIssue #22278: Fix urljoin problem with relative urls, a regression observed
Senthil Kumaran [Mon, 22 Sep 2014 07:49:16 +0000 (15:49 +0800)]
Issue #22278: Fix urljoin problem with relative urls, a regression observed
after changes to issue22118 were submitted.

Patch contributed by Demian Brecht and reviewed by Antoine Pitrou.

10 years agoMERGE: Typo: headeronly -> headersonly
Jesus Cea [Sun, 21 Sep 2014 22:44:17 +0000 (00:44 +0200)]
MERGE: Typo: headeronly -> headersonly

10 years agoTypo: headeronly -> headersonly
Jesus Cea [Sun, 21 Sep 2014 22:43:39 +0000 (00:43 +0200)]
Typo: headeronly -> headersonly

10 years agoFixed issue #22415 number in Misc/NEWS for changeset fe287268e97b.
Serhiy Storchaka [Sun, 21 Sep 2014 19:59:06 +0000 (22:59 +0300)]
Fixed issue #22415 number in Misc/NEWS for changeset fe287268e97b.

10 years agoFixed issue #22415 number in Misc/NEWS for changeset e99a1df8db36.
Serhiy Storchaka [Sun, 21 Sep 2014 19:58:31 +0000 (22:58 +0300)]
Fixed issue #22415 number in Misc/NEWS for changeset e99a1df8db36.

10 years agoIssue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
Serhiy Storchaka [Sun, 21 Sep 2014 19:48:24 +0000 (22:48 +0300)]
Issue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
module.

10 years agoIssue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
Serhiy Storchaka [Sun, 21 Sep 2014 19:47:55 +0000 (22:47 +0300)]
Issue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
module.

10 years agoNull merge
Serhiy Storchaka [Sun, 21 Sep 2014 19:26:31 +0000 (22:26 +0300)]
Null merge

10 years agoMerge heads
Serhiy Storchaka [Sun, 21 Sep 2014 19:26:11 +0000 (22:26 +0300)]
Merge heads

10 years agoMerge heads
Serhiy Storchaka [Sun, 21 Sep 2014 19:25:25 +0000 (22:25 +0300)]
Merge heads

10 years agoIssue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering...
Antoine Pitrou [Sun, 21 Sep 2014 19:15:42 +0000 (21:15 +0200)]
Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering, rather than block buffering.

10 years agoIssue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering...
Antoine Pitrou [Sun, 21 Sep 2014 19:10:56 +0000 (21:10 +0200)]
Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering, rather than block buffering.

10 years agoIssue #22423: Unhandled exception in thread no longer causes unhandled
Serhiy Storchaka [Sun, 21 Sep 2014 19:09:20 +0000 (22:09 +0300)]
Issue #22423: Unhandled exception in thread no longer causes unhandled
AttributeError when sys.stderr is None.

10 years agoIssue #22423: Unhandled exception in thread no longer causes unhandled
Serhiy Storchaka [Sun, 21 Sep 2014 19:08:13 +0000 (22:08 +0300)]
Issue #22423: Unhandled exception in thread no longer causes unhandled
AttributeError when sys.stderr is None.

10 years agoAdded tag v3.4.2rc1 for changeset 8711a0951384
Larry Hastings [Sat, 20 Sep 2014 23:10:20 +0000 (00:10 +0100)]
Added tag v3.4.2rc1 for changeset 8711a0951384

10 years agoBump version number for 3.4.2rc1 release. v3.4.2rc1
Larry Hastings [Sat, 20 Sep 2014 23:09:56 +0000 (00:09 +0100)]
Bump version number for 3.4.2rc1 release.

10 years agoUpdated pydoc topics for 3.4.1rc1 release.
Larry Hastings [Sat, 20 Sep 2014 23:05:05 +0000 (00:05 +0100)]
Updated pydoc topics for 3.4.1rc1 release.

10 years agomerge with 3.4
Georg Brandl [Sat, 20 Sep 2014 22:38:13 +0000 (00:38 +0200)]
merge with 3.4

10 years agoDoc: remove invalid uses of ":option:" which will emit warnings in Sphinx 1.3.
Georg Brandl [Sat, 20 Sep 2014 22:35:08 +0000 (00:35 +0200)]
Doc: remove invalid uses of ":option:" which will emit warnings in Sphinx 1.3.

10 years agoIssue #22359: Remove incorrect uses of recursive make. Patch by Jonas Wagner.
Antoine Pitrou [Sat, 20 Sep 2014 22:21:58 +0000 (00:21 +0200)]
Issue #22359: Remove incorrect uses of recursive make.  Patch by Jonas Wagner.

10 years agoMerge: #21091: make is_attachment a method.
R David Murray [Sat, 20 Sep 2014 22:16:39 +0000 (18:16 -0400)]
Merge: #21091: make is_attachment a method.

10 years ago#21091: make is_attachment a method.
R David Murray [Sat, 20 Sep 2014 22:05:28 +0000 (18:05 -0400)]
#21091: make is_attachment a method.

Since EmailMessage is a provisional API we can fix API bugs in a
maintenance release, but I used a trick suggested by Serhiy to
maintain backward compatibility with 3.4.0/1.

10 years agoMerge: #21079: is_attachment now looks only at the value, ignoring parameters.
R David Murray [Sat, 20 Sep 2014 21:49:48 +0000 (17:49 -0400)]
Merge: #21079: is_attachment now looks only at the value, ignoring parameters.

10 years ago#21079: is_attachment now looks only at the value, ignoring parameters.
R David Murray [Sat, 20 Sep 2014 21:44:53 +0000 (17:44 -0400)]
#21079: is_attachment now looks only at the value, ignoring parameters.

10 years agomerge 3.4
Benjamin Peterson [Sat, 20 Sep 2014 15:53:27 +0000 (11:53 -0400)]
merge 3.4

10 years agouse patch context manager instead of decorator because the decorator 'leaks' metadata...
Benjamin Peterson [Sat, 20 Sep 2014 15:53:12 +0000 (11:53 -0400)]
use patch context manager instead of decorator because the decorator 'leaks' metadata onto the function

10 years agoIssue #22247: Add NNTPError to nntplib.__all__.
Berker Peksag [Sat, 20 Sep 2014 05:54:32 +0000 (08:54 +0300)]
Issue #22247: Add NNTPError to nntplib.__all__.

10 years agoIssue #22247: Add NNTPError to nntplib.__all__.
Berker Peksag [Sat, 20 Sep 2014 05:53:05 +0000 (08:53 +0300)]
Issue #22247: Add NNTPError to nntplib.__all__.

10 years agonull merge
Ned Deily [Sat, 20 Sep 2014 04:06:23 +0000 (21:06 -0700)]
null merge

10 years agoIssue #15661: Update OS X installer welcome and readme files for 3.4.2.
Ned Deily [Sat, 20 Sep 2014 04:03:45 +0000 (21:03 -0700)]
Issue #15661: Update OS X installer welcome and readme files for 3.4.2.
python.org OS X installers are now distributed as signed installer
packages compatible with the Gatekeeper security feature.

10 years agoMerge with 3.4
Terry Jan Reedy [Sat, 20 Sep 2014 02:54:27 +0000 (22:54 -0400)]
Merge with 3.4

10 years agoUpdate Idle's online doc url.
Terry Jan Reedy [Sat, 20 Sep 2014 02:54:15 +0000 (22:54 -0400)]
Update Idle's online doc url.

10 years agoIssue #22420: Merge with 3.4
Terry Jan Reedy [Sat, 20 Sep 2014 02:39:09 +0000 (22:39 -0400)]
Issue #22420: Merge with 3.4

10 years agoIssue #22420: Avoid 'write to None' crashes by using print instead.
Terry Jan Reedy [Sat, 20 Sep 2014 02:38:41 +0000 (22:38 -0400)]
Issue #22420: Avoid 'write to None' crashes by using print instead.
Change a couple of existing prints.  Original patch by Serhiy Storchaka.

10 years agomerge 3.4
Benjamin Peterson [Fri, 19 Sep 2014 21:30:21 +0000 (17:30 -0400)]
merge 3.4

10 years agostandardize pep 466 relnote style
Benjamin Peterson [Fri, 19 Sep 2014 21:27:03 +0000 (17:27 -0400)]
standardize pep 466 relnote style

10 years agoremove extra letter
Benjamin Peterson [Fri, 19 Sep 2014 21:29:08 +0000 (17:29 -0400)]
remove extra letter

10 years agowhatsnew for pep 466 ssl backport
Benjamin Peterson [Fri, 19 Sep 2014 21:23:21 +0000 (17:23 -0400)]
whatsnew for pep 466 ssl backport

10 years agoIssue #22366: urllib.request.urlopen will accept a context object (SSLContext)
Senthil Kumaran [Fri, 19 Sep 2014 07:23:30 +0000 (15:23 +0800)]
Issue #22366: urllib.request.urlopen will accept a context object (SSLContext)
as an argument which will then used be for HTTPS connection.

Patch by Alex Gaynor.

10 years agoIssue #22378: socket module: add SO_MARK.
Charles-François Natali [Thu, 18 Sep 2014 22:18:46 +0000 (23:18 +0100)]
Issue #22378: socket module: add SO_MARK.

10 years agoCloses #22436: Merged documentation update from 3.4.
Vinay Sajip [Thu, 18 Sep 2014 17:02:29 +0000 (18:02 +0100)]
Closes #22436: Merged documentation update from 3.4.

10 years agoIssue #22436: Improved documentation for getEffectiveLevel() and getLevelName().
Vinay Sajip [Thu, 18 Sep 2014 17:01:12 +0000 (18:01 +0100)]
Issue #22436: Improved documentation for getEffectiveLevel() and getLevelName().

10 years agomerge from 3.4
Senthil Kumaran [Thu, 18 Sep 2014 13:37:26 +0000 (21:37 +0800)]
merge from 3.4

Issue #16827: Make Interpreter introduction section of the tutorial more
focussed and move advanced section and customization information to a separate
file called appendix.

Patch credits: Jamayla Wiley, Ya-Ting Huang and James Brewer.

10 years agoIssue #16827: Make Interpreter introduction section of the tutorial more
Senthil Kumaran [Thu, 18 Sep 2014 13:30:28 +0000 (21:30 +0800)]
Issue #16827: Make Interpreter introduction section of the tutorial more
focussed and move advanced section and customization information to a separate
file called appendix.

Patch credits: Jamayla Wiley, Ya-Ting Huang and James Brewer.

10 years agoIssue #14824: Update Repr.repr_TYPE documentation to use correct name mangling implem...
Berker Peksag [Thu, 18 Sep 2014 03:05:37 +0000 (06:05 +0300)]
Issue #14824: Update Repr.repr_TYPE documentation to use correct name mangling implementation.

Patch by Chris Rebert.

10 years agoIssue #14824: Update Repr.repr_TYPE documentation to use correct name mangling implem...
Berker Peksag [Thu, 18 Sep 2014 03:05:14 +0000 (06:05 +0300)]
Issue #14824: Update Repr.repr_TYPE documentation to use correct name mangling implementation.

Patch by Chris Rebert.

10 years agoIssue #21706: Add a versionchanged directive to the functional API docs.
Berker Peksag [Thu, 18 Sep 2014 02:23:14 +0000 (05:23 +0300)]
Issue #21706: Add a versionchanged directive to the functional API docs.

10 years agoIssue #21391: Use os.path.abspath in the shutil module.
Berker Peksag [Thu, 18 Sep 2014 02:11:15 +0000 (05:11 +0300)]
Issue #21391: Use os.path.abspath in the shutil module.

10 years agoCloses #11471: avoid generating a JUMP_FORWARD instruction at the end of an if-block...
Antoine Pitrou [Thu, 18 Sep 2014 01:06:50 +0000 (03:06 +0200)]
Closes #11471: avoid generating a JUMP_FORWARD instruction at the end of an if-block if there is no else-clause.

Original patch by Eugene Toder.

10 years agoIssue #4180: The warnings registries are now reset when the filters are modified.
Antoine Pitrou [Thu, 18 Sep 2014 00:42:05 +0000 (02:42 +0200)]
Issue #4180: The warnings registries are now reset when the filters are modified.

10 years agoIssue #4180: The warnings registries are now reset when the filters are modified.
Antoine Pitrou [Thu, 18 Sep 2014 00:40:46 +0000 (02:40 +0200)]
Issue #4180: The warnings registries are now reset when the filters are modified.

10 years ago(Merge 3.4) asyncio, Tulip issue 206: In debug mode, keep the callback in the
Victor Stinner [Wed, 17 Sep 2014 21:24:39 +0000 (23:24 +0200)]
(Merge 3.4) asyncio, Tulip issue 206: In debug mode, keep the callback in the
representation of Handle and TimerHandle after cancel().

10 years agoasyncio, Tulip issue 206: In debug mode, keep the callback in the
Victor Stinner [Wed, 17 Sep 2014 21:24:13 +0000 (23:24 +0200)]
asyncio, Tulip issue 206: In debug mode, keep the callback in the
representation of Handle and TimerHandle after cancel().

10 years agoMerge from 3.4
Senthil Kumaran [Wed, 17 Sep 2014 08:32:46 +0000 (16:32 +0800)]
Merge from 3.4

Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.

10 years agoMerge from 3.3
Senthil Kumaran [Wed, 17 Sep 2014 08:31:47 +0000 (16:31 +0800)]
Merge from 3.3

Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.

10 years agoIssue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536...
Senthil Kumaran [Wed, 17 Sep 2014 08:29:29 +0000 (16:29 +0800)]
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.

10 years agoMerge from 3.4
Senthil Kumaran [Wed, 17 Sep 2014 05:19:34 +0000 (13:19 +0800)]
Merge from 3.4

Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.

10 years agoMerge from 3.3
Senthil Kumaran [Wed, 17 Sep 2014 05:19:01 +0000 (13:19 +0800)]
Merge from 3.3

Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.

10 years agoIssue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.
Senthil Kumaran [Wed, 17 Sep 2014 05:17:58 +0000 (13:17 +0800)]
Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.

10 years agoClose issue21706: add 'start' parameter to functional API
Ethan Furman [Wed, 17 Sep 2014 03:35:55 +0000 (20:35 -0700)]
Close issue21706: add 'start' parameter to functional API

10 years agoIssue21738: clarify usage of __new__ in Enum subclasses
Ethan Furman [Wed, 17 Sep 2014 02:14:00 +0000 (19:14 -0700)]
Issue21738: clarify usage of __new__ in Enum subclasses

10 years agoIssue21738: clarify usage of __new__ in Enum subclasses
Ethan Furman [Wed, 17 Sep 2014 02:13:31 +0000 (19:13 -0700)]
Issue21738: clarify usage of __new__ in Enum subclasses

10 years agoconsistently use _name_ and _value_; patch from Kiss Gyorgy
Ethan Furman [Wed, 17 Sep 2014 02:02:30 +0000 (19:02 -0700)]
consistently use _name_ and _value_; patch from Kiss Gyorgy

10 years agoconsistently use _name_ and _value_; patch from Kiss Gyorgy
Ethan Furman [Wed, 17 Sep 2014 00:31:23 +0000 (17:31 -0700)]
consistently use _name_ and _value_; patch from Kiss Gyorgy

10 years agoReplace bad ftp URLs in test_urllib2net
Antoine Pitrou [Tue, 16 Sep 2014 22:40:13 +0000 (00:40 +0200)]
Replace bad ftp URLs in test_urllib2net

10 years agoReplace bad ftp URLs in test_urllib2net
Antoine Pitrou [Tue, 16 Sep 2014 22:39:21 +0000 (00:39 +0200)]
Replace bad ftp URLs in test_urllib2net

10 years agoLax cookie parsing in http.cookies could be a security issue when combined
Antoine Pitrou [Tue, 16 Sep 2014 22:27:26 +0000 (00:27 +0200)]
Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers.

Reported by Sergey Bobrov.

10 years agoLax cookie parsing in http.cookies could be a security issue when combined
Antoine Pitrou [Tue, 16 Sep 2014 22:25:57 +0000 (00:25 +0200)]
Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers.

Reported by Sergey Bobrov.

10 years agoLax cookie parsing in http.cookies could be a security issue when combined
Antoine Pitrou [Tue, 16 Sep 2014 22:23:55 +0000 (00:23 +0200)]
Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers.

Reported by Sergey Bobrov.

10 years agoCloses #21270 : We now override tuple methods in mock.call objects.
Kushal Das [Tue, 16 Sep 2014 13:03:37 +0000 (18:33 +0530)]
Closes #21270 : We now override tuple methods in mock.call objects.

10 years agoMerge fix for issue #22166 from 3.4
Nick Coghlan [Mon, 15 Sep 2014 11:55:16 +0000 (23:55 +1200)]
Merge fix for issue #22166 from 3.4

10 years agoIssue #22166: clear codec caches in test_codecs
Nick Coghlan [Mon, 15 Sep 2014 11:50:44 +0000 (23:50 +1200)]
Issue #22166: clear codec caches in test_codecs

10 years agoCloses #18159: ConfigParser getters not available on SectionProxy
Łukasz Langa [Mon, 15 Sep 2014 09:10:01 +0000 (02:10 -0700)]
Closes #18159: ConfigParser getters not available on SectionProxy

10 years agoCloses #18159: ConfigParser getters not available on SectionProxy
Łukasz Langa [Mon, 15 Sep 2014 09:08:41 +0000 (02:08 -0700)]
Closes #18159: ConfigParser getters not available on SectionProxy

10 years agoRestored re pickling test.
Serhiy Storchaka [Mon, 15 Sep 2014 08:33:55 +0000 (11:33 +0300)]
Restored re pickling test.

10 years agoRestored re pickling test.
Serhiy Storchaka [Mon, 15 Sep 2014 08:33:19 +0000 (11:33 +0300)]
Restored re pickling test.

10 years agoFix full-stop whitespace in configparser docs
Łukasz Langa [Mon, 15 Sep 2014 06:37:03 +0000 (23:37 -0700)]
Fix full-stop whitespace in configparser docs

10 years agoIssue #17095: merge from 3.4
Ned Deily [Mon, 15 Sep 2014 02:21:05 +0000 (19:21 -0700)]
Issue #17095: merge from 3.4

10 years agoIssue #17095: Temporarily revert getpath.c change that added the Modules
Ned Deily [Mon, 15 Sep 2014 02:19:49 +0000 (19:19 -0700)]
Issue #17095: Temporarily revert getpath.c change that added the Modules
directory to sys.path when running from a build directory.  That has
proven to be problematic for several standard library modules with
C extension modules whose builds can fail on some platforms.

10 years agoCloses #20537: logging methods now accept an exception instance as well as a Boolean...
Vinay Sajip [Sun, 14 Sep 2014 20:29:11 +0000 (21:29 +0100)]
Closes #20537: logging methods now accept an exception instance as well as a Boolean value or exception tuple. Thanks to Yury Selivanov for the patch.

10 years agoIssue #22384: An exception in Tkinter callback no longer crashes the program
Serhiy Storchaka [Sun, 14 Sep 2014 18:18:31 +0000 (21:18 +0300)]
Issue #22384: An exception in Tkinter callback no longer crashes the program
when it is run with pythonw.exe.

Documented that Tk.report_callback_exception() is purposed to be overriden in
applications.

10 years agoIssue #22384: An exception in Tkinter callback no longer crashes the program
Serhiy Storchaka [Sun, 14 Sep 2014 18:17:32 +0000 (21:17 +0300)]
Issue #22384: An exception in Tkinter callback no longer crashes the program
when it is run with pythonw.exe.

Documented that Tk.report_callback_exception() is purposed to be overriden in
applications.

10 years agoUse more appropriate asserts in re tests.
Serhiy Storchaka [Sun, 14 Sep 2014 13:21:27 +0000 (16:21 +0300)]
Use more appropriate asserts in re tests.

10 years agoUse more appropriate asserts in re tests.
Serhiy Storchaka [Sun, 14 Sep 2014 13:20:20 +0000 (16:20 +0300)]
Use more appropriate asserts in re tests.

10 years agoFixed re tests incorrectly ported from 2.x to 3.x.
Serhiy Storchaka [Sun, 14 Sep 2014 12:57:01 +0000 (15:57 +0300)]
Fixed re tests incorrectly ported from 2.x to 3.x.

10 years agoFixed re tests incorrectly ported from 2.x to 3.x.
Serhiy Storchaka [Sun, 14 Sep 2014 12:56:27 +0000 (15:56 +0300)]
Fixed re tests incorrectly ported from 2.x to 3.x.

10 years agoIssue #22168: Prevent turtle AttributeError with non-default Canvas on OS X.
Ned Deily [Sun, 14 Sep 2014 06:40:27 +0000 (23:40 -0700)]
Issue #22168: Prevent turtle AttributeError with non-default Canvas on OS X.

10 years agoIssue #22168: Prevent turtle AttributeError with non-default Canvas on OS X.
Ned Deily [Sun, 14 Sep 2014 06:39:16 +0000 (23:39 -0700)]
Issue #22168: Prevent turtle AttributeError with non-default Canvas on OS X.

10 years agomerge 3.4
Benjamin Peterson [Sat, 13 Sep 2014 05:45:50 +0000 (01:45 -0400)]
merge 3.4

10 years agomake hg link secure
Benjamin Peterson [Sat, 13 Sep 2014 05:44:34 +0000 (01:44 -0400)]
make hg link secure

10 years agoinspect.Signature: Fix discrepancy between __eq__ and __hash__.
Yury Selivanov [Fri, 12 Sep 2014 19:48:02 +0000 (15:48 -0400)]
inspect.Signature: Fix discrepancy between __eq__ and __hash__.

Issue #20334. Thanks to Antony Lee for bug report & initial patch.

10 years agoIssue #16104: Allow compileall to do parallel bytecode compilation.
Brett Cannon [Fri, 12 Sep 2014 14:39:48 +0000 (10:39 -0400)]
Issue #16104: Allow compileall to do parallel bytecode compilation.

Both compileall.compile_dir() and the CLI for compileall now allow for
specifying how many workers to use (or 0 to use all CPUs).

Thanks to Claudiu Popa for the patch.

10 years agoCloses #22386: merged fix from 3.4.
Vinay Sajip [Thu, 11 Sep 2014 22:08:48 +0000 (23:08 +0100)]
Closes #22386: merged fix from 3.4.

10 years agoIssue #22386: fixed regression.
Vinay Sajip [Thu, 11 Sep 2014 22:06:09 +0000 (23:06 +0100)]
Issue #22386: fixed regression.

10 years agoCloses #22336: attemptckalloc() with PyMem_Malloc() in _tkinter
Victor Stinner [Thu, 11 Sep 2014 15:50:21 +0000 (17:50 +0200)]
Closes #22336: attemptckalloc() with PyMem_Malloc() in _tkinter

The PyMem_Malloc(size) function has a well defined behaviour: if size is 0, a
pointer different than NULL is returned. PyMem_Malloc() allocations are
tracked by tracemalloc, attemptckalloc() allocations are not tracked.