]> granicus.if.org Git - python/log
python
8 years agoIssue #26870: Close pty master in case of exception
Martin Panter [Sun, 15 May 2016 03:05:36 +0000 (03:05 +0000)]
Issue #26870: Close pty master in case of exception

8 years agoIssue #26870: Add readline.set_auto_history(), originally by Tyler Crompton
Martin Panter [Sun, 15 May 2016 01:26:25 +0000 (01:26 +0000)]
Issue #26870: Add readline.set_auto_history(), originally by Tyler Crompton

8 years agoIssue #25533: Merge frozen module docs from 3.5
Martin Panter [Sun, 15 May 2016 00:41:40 +0000 (00:41 +0000)]
Issue #25533: Merge frozen module docs from 3.5

8 years agoIssue #25533: Update documentation regarding the frozen modules table
Martin Panter [Sun, 15 May 2016 00:13:04 +0000 (00:13 +0000)]
Issue #25533: Update documentation regarding the frozen modules table

* "ctypes" documentation was using Python 2 bytes-str equivalence.
* PyImport_FrozenModules is a pointer to const as of Python 3.4

8 years agoRemove old Python 2 compatibility from ctypes test
Martin Panter [Sat, 14 May 2016 06:17:43 +0000 (06:17 +0000)]
Remove old Python 2 compatibility from ctypes test

8 years agoMerge ctypes from 3.5
Martin Panter [Sat, 14 May 2016 06:17:30 +0000 (06:17 +0000)]
Merge ctypes from 3.5

8 years agoRemove outdated PEP 291 compatibility requirement comment
Martin Panter [Sat, 14 May 2016 05:55:38 +0000 (05:55 +0000)]
Remove outdated PEP 291 compatibility requirement comment

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Fri, 13 May 2016 20:11:00 +0000 (16:11 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio/tests: Ensure a gc_collect for __del__ testing
Yury Selivanov [Fri, 13 May 2016 20:10:43 +0000 (16:10 -0400)]
asyncio/tests: Ensure a gc_collect for __del__ testing

Patch by Philip Jenvey

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Fri, 13 May 2016 20:05:05 +0000 (16:05 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Fix unix pipe transport 'repr' methods
Yury Selivanov [Fri, 13 May 2016 20:04:43 +0000 (16:04 -0400)]
asyncio: Fix unix pipe transport 'repr' methods

Patch by Vincent Michel.
See also https://github.com/python/asyncio/pull/326

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Fri, 13 May 2016 19:59:48 +0000 (15:59 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Break reference cycle in StreamReaderProtocol.connection_lost
Yury Selivanov [Fri, 13 May 2016 19:58:00 +0000 (15:58 -0400)]
asyncio: Break reference cycle in StreamReaderProtocol.connection_lost

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Fri, 13 May 2016 19:43:05 +0000 (15:43 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: ease the cert failed regex
Yury Selivanov [Fri, 13 May 2016 19:42:39 +0000 (15:42 -0400)]
asyncio: ease the cert failed regex

Patch by Philip Jenvey

8 years agoMerge 3.5 (issue #26848)
Yury Selivanov [Fri, 13 May 2016 19:39:09 +0000 (15:39 -0400)]
Merge 3.5 (issue #26848)

8 years agoIssue #26848: Fix asyncio/subprocess.communicate() to handle empty input.
Yury Selivanov [Fri, 13 May 2016 19:35:28 +0000 (15:35 -0400)]
Issue #26848: Fix asyncio/subprocess.communicate() to handle empty input.

8 years agoRestored test_interleaved. After issue #8886 it was a duplicate of
Serhiy Storchaka [Fri, 13 May 2016 18:19:22 +0000 (21:19 +0300)]
Restored test_interleaved. After issue #8886 it was a duplicate of
test_different_file.

8 years agoRestored test_interleaved. After issue #8886 it was a duplicate of
Serhiy Storchaka [Fri, 13 May 2016 18:18:58 +0000 (21:18 +0300)]
Restored test_interleaved. After issue #8886 it was a duplicate of
test_different_file.

8 years agoIssue #26039: zipfile.ZipFile.open() can now be used to write data into a ZIP
Serhiy Storchaka [Fri, 13 May 2016 10:52:49 +0000 (13:52 +0300)]
Issue #26039: zipfile.ZipFile.open() can now be used to write data into a ZIP
file, as well as for extracting data.  Patch by Thomas Kluyver.

8 years agomerge from 3.5
Senthil Kumaran [Fri, 13 May 2016 08:35:29 +0000 (01:35 -0700)]
merge from 3.5

Issue #26892: Honor debuglevel flag in urllib.request.HTTPHandler.

Patch contributed by Chi Hsuan Yen.

8 years agoIssue #26892: Honor debuglevel flag in urllib.request.HTTPHandler.
Senthil Kumaran [Fri, 13 May 2016 08:32:42 +0000 (01:32 -0700)]
Issue #26892: Honor debuglevel flag in urllib.request.HTTPHandler.

Patch contributed by Chi Hsuan Yen.

8 years agoIssue #22274: Merge stderr=STDOUT fix from 3.5
Martin Panter [Fri, 13 May 2016 07:45:21 +0000 (07:45 +0000)]
Issue #22274: Merge stderr=STDOUT fix from 3.5

8 years agomerge 3.5
Benjamin Peterson [Fri, 13 May 2016 06:14:28 +0000 (23:14 -0700)]
merge 3.5

8 years agofix indentation of comments in cellobject.c (closes #27011)
Benjamin Peterson [Fri, 13 May 2016 06:12:21 +0000 (23:12 -0700)]
fix indentation of comments in cellobject.c (closes #27011)

8 years agoIssue #22274: Redirect stderr=STDOUT when stdout not redirected, by Akira Li
Martin Panter [Fri, 13 May 2016 01:54:44 +0000 (01:54 +0000)]
Issue #22274: Redirect stderr=STDOUT when stdout not redirected, by Akira Li

8 years agoMake bytes and bytearray subclass tests compatible with base types tests.
Serhiy Storchaka [Thu, 12 May 2016 09:33:21 +0000 (12:33 +0300)]
Make bytes and bytearray subclass tests compatible with base types tests.

8 years agoIssue #23640: int.from_bytes() no longer bypasses constructors for subclasses.
Serhiy Storchaka [Thu, 12 May 2016 07:37:58 +0000 (10:37 +0300)]
Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.

8 years agoRemoved duplicated NEWS entity for issue #26881.
Serhiy Storchaka [Wed, 11 May 2016 19:25:05 +0000 (22:25 +0300)]
Removed duplicated NEWS entity for issue #26881.

8 years agoIssue #26881: Restored the name of scan_opcodes_25().
Serhiy Storchaka [Wed, 11 May 2016 19:19:49 +0000 (22:19 +0300)]
Issue #26881: Restored the name of scan_opcodes_25().
It is better to not change this in bugfix release.

8 years agoNEWS message for issue #26977.
Steven D'Aprano [Wed, 11 May 2016 02:41:19 +0000 (12:41 +1000)]
NEWS message for issue #26977.

8 years agoIssue 26977, remove unneeded line in pvariance (duplicate call to _ss).
Steven D'Aprano [Wed, 11 May 2016 01:50:13 +0000 (11:50 +1000)]
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).

8 years agoIssue #21099: Switch applicable importlib tests to use PEP 451 API.
Eric Snow [Tue, 10 May 2016 22:21:03 +0000 (16:21 -0600)]
Issue #21099: Switch applicable importlib tests to use PEP 451 API.

8 years agoMake bytes and bytearray subclass tests compatible with base types tests.
Serhiy Storchaka [Thu, 12 May 2016 09:33:41 +0000 (12:33 +0300)]
Make bytes and bytearray subclass tests compatible with base types tests.

8 years agoIssue #23640: int.from_bytes() no longer bypasses constructors for subclasses.
Serhiy Storchaka [Thu, 12 May 2016 07:39:32 +0000 (10:39 +0300)]
Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.

8 years agoIssue #27005: Fixed the call of PyObject_CallFunctionObjArgs().
Serhiy Storchaka [Thu, 12 May 2016 07:32:30 +0000 (10:32 +0300)]
Issue #27005: Fixed the call of PyObject_CallFunctionObjArgs().

8 years agoIssue #27005: Optimized the float.fromhex() class method for exact float.
Serhiy Storchaka [Thu, 12 May 2016 07:21:14 +0000 (10:21 +0300)]
Issue #27005: Optimized the float.fromhex() class method for exact float.

8 years agoMerge 3.5.
Serhiy Storchaka [Wed, 11 May 2016 19:25:31 +0000 (22:25 +0300)]
Merge 3.5.

8 years agoNull merge
Serhiy Storchaka [Wed, 11 May 2016 19:20:57 +0000 (22:20 +0300)]
Null merge

8 years agoUpdate NEWS.
Steven D'Aprano [Wed, 11 May 2016 03:01:42 +0000 (13:01 +1000)]
Update NEWS.

8 years agoMerge NEWS update from 3.5 for issue #26977.
Steven D'Aprano [Wed, 11 May 2016 02:46:40 +0000 (12:46 +1000)]
Merge NEWS update from 3.5 for issue #26977.

8 years agoBranch merge for issue 26977
Steven D'Aprano [Wed, 11 May 2016 01:53:01 +0000 (11:53 +1000)]
Branch merge for issue 26977

8 years agoFixes #19711: Add tests for reloading namespace packages.
Eric Snow [Tue, 10 May 2016 21:29:05 +0000 (15:29 -0600)]
Fixes #19711: Add tests for reloading namespace packages.

8 years agoIssue #23921: Standardized documentation whitespace formatting.
Serhiy Storchaka [Tue, 10 May 2016 09:01:56 +0000 (12:01 +0300)]
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.

8 years agoIssue #23921: Standardized documentation whitespace formatting.
Serhiy Storchaka [Tue, 10 May 2016 09:01:23 +0000 (12:01 +0300)]
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.

8 years agomerge 3.5 (#26986)
Benjamin Peterson [Tue, 10 May 2016 06:44:30 +0000 (23:44 -0700)]
merge 3.5 (#26986)

8 years agoimprove PyFunction_New docs (closes #26986)
Benjamin Peterson [Tue, 10 May 2016 06:43:53 +0000 (23:43 -0700)]
improve PyFunction_New docs (closes #26986)

Patch from Xiang Zhang.

8 years agoCloses #26987: Merge with 3.5
Zachary Ware [Mon, 9 May 2016 19:50:36 +0000 (14:50 -0500)]
Closes #26987: Merge with 3.5

8 years agoIssue #26987: Correct implementation to match comment
Zachary Ware [Mon, 9 May 2016 19:49:31 +0000 (14:49 -0500)]
Issue #26987: Correct implementation to match comment

This was inadvertently changed in 644b677c2ae5 to use self._stderr
instead of _sys.stderr.

8 years agoIssue #25745: Fixed leaking a userptr in curses panel destructor.
Serhiy Storchaka [Sun, 8 May 2016 21:14:22 +0000 (00:14 +0300)]
Issue #25745: Fixed leaking a userptr in curses panel destructor.

8 years agoIssue #25745: Fixed leaking a userptr in curses panel destructor.
Serhiy Storchaka [Sun, 8 May 2016 21:11:59 +0000 (00:11 +0300)]
Issue #25745: Fixed leaking a userptr in curses panel destructor.

8 years agoIssue #26881: The modulefinder module now supports extended opcode arguments.
Serhiy Storchaka [Sun, 8 May 2016 20:44:54 +0000 (23:44 +0300)]
Issue #26881: The modulefinder module now supports extended opcode arguments.

8 years agoIssue #26881: The modulefinder module now supports extended opcode arguments.
Serhiy Storchaka [Sun, 8 May 2016 20:43:50 +0000 (23:43 +0300)]
Issue #26881: The modulefinder module now supports extended opcode arguments.

8 years agoIssue #18531: Single var-keyword argument of dict subtype was passed
Serhiy Storchaka [Sun, 8 May 2016 20:36:44 +0000 (23:36 +0300)]
Issue #18531: Single var-keyword argument of dict subtype was passed
unscathed to the C-defined function.  Now it is converted to exact dict.

8 years agoIssue #26156: Make expressions grammar description more semantically correct.
Serhiy Storchaka [Sun, 8 May 2016 19:00:09 +0000 (22:00 +0300)]
Issue #26156: Make expressions grammar description more semantically correct.

8 years agoIssue #26156: Make expressions grammar description more semantically correct.
Serhiy Storchaka [Sun, 8 May 2016 18:59:46 +0000 (21:59 +0300)]
Issue #26156: Make expressions grammar description more semantically correct.

8 years agoIssue #23815: Fixed crashes related to directly created instances of types in
Serhiy Storchaka [Sun, 8 May 2016 17:46:55 +0000 (20:46 +0300)]
Issue #23815: Fixed crashes related to directly created instances of types in
_tkinter and curses.panel modules.

8 years agoIssue #23815: Fixed crashes related to directly created instances of types in
Serhiy Storchaka [Sun, 8 May 2016 17:46:22 +0000 (20:46 +0300)]
Issue #23815: Fixed crashes related to directly created instances of types in
_tkinter and curses.panel modules.

8 years agoMerge typo fixes from 3.5
Martin Panter [Sun, 8 May 2016 14:02:35 +0000 (14:02 +0000)]
Merge typo fixes from 3.5

8 years agoCorrections for a/an in code comments and documentation
Martin Panter [Sun, 8 May 2016 13:53:41 +0000 (13:53 +0000)]
Corrections for a/an in code comments and documentation

8 years agoFix typos in comments, documentation and test method names
Martin Panter [Sun, 8 May 2016 13:48:10 +0000 (13:48 +0000)]
Fix typos in comments, documentation and test method names

8 years agoIssue #26512: Clarify Integral; tidy up table of rounding functions
Martin Panter [Sun, 8 May 2016 12:22:37 +0000 (12:22 +0000)]
Issue #26512: Clarify Integral; tidy up table of rounding functions

Based on patch by Julien.

8 years agoIssue 26977, remove unneeded line in pvariance (duplicate call to _ss).
Steven D'Aprano [Sun, 8 May 2016 12:14:38 +0000 (22:14 +1000)]
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).

8 years agoIssue #26512: Merge rounding doc from 3.5
Martin Panter [Sun, 8 May 2016 12:34:58 +0000 (12:34 +0000)]
Issue #26512: Merge rounding doc from 3.5

8 years agoIssue #26924: Fix Windows buildbots
Berker Peksag [Sat, 7 May 2016 18:13:50 +0000 (21:13 +0300)]
Issue #26924: Fix Windows buildbots

sem_unlink is defined as

    #define SEM_UNLINK(name) 0

under Windows.

8 years agoIssue #26924: Do not define _multiprocessing.sem_unlink under Android
Berker Peksag [Sat, 7 May 2016 17:39:20 +0000 (20:39 +0300)]
Issue #26924: Do not define _multiprocessing.sem_unlink under Android

Android declares sem_unlink but doesn't implement it.

8 years agoFix self.fail() call in test_data_header
Berker Peksag [Sat, 7 May 2016 13:59:01 +0000 (16:59 +0300)]
Fix self.fail() call in test_data_header

8 years agoFix self.fail() call in test_data_header
Berker Peksag [Sat, 7 May 2016 13:58:41 +0000 (16:58 +0300)]
Fix self.fail() call in test_data_header

8 years agoIssue #26708: Use the "const" qualifier for immutable strings.
Serhiy Storchaka [Sat, 7 May 2016 13:45:18 +0000 (16:45 +0300)]
Issue #26708: Use the "const" qualifier for immutable strings.
This can help to avoid unintentional modification.

8 years agoReplace example.com with pythontest.net in test_urllibnet
Berker Peksag [Sat, 7 May 2016 13:37:35 +0000 (16:37 +0300)]
Replace example.com with pythontest.net in test_urllibnet

example.com/404 returns 500 instead of 404 now.

8 years agoReplace example.com with pythontest.net in test_urllibnet
Berker Peksag [Sat, 7 May 2016 13:37:09 +0000 (16:37 +0300)]
Replace example.com with pythontest.net in test_urllibnet

example.com/404 returns 500 instead of 404 now.

8 years agoIssue #17765: weakref.ref() no longer silently ignores keyword arguments.
Serhiy Storchaka [Sat, 7 May 2016 12:43:59 +0000 (15:43 +0300)]
Issue #17765: weakref.ref() no longer silently ignores keyword arguments.
Patch by Georg Brandl.

8 years agoIssue #17765: weakref.ref() no longer silently ignores keyword arguments.
Serhiy Storchaka [Sat, 7 May 2016 12:41:09 +0000 (15:41 +0300)]
Issue #17765: weakref.ref() no longer silently ignores keyword arguments.
Patch by Georg Brandl.

8 years agoIssue #26736: Used HTTPS for external links in the documentation if possible.
Serhiy Storchaka [Sat, 7 May 2016 07:49:58 +0000 (10:49 +0300)]
Issue #26736: Used HTTPS for external links in the documentation if possible.

8 years agoIssue #26736: Used HTTPS for external links in the documentation if possible.
Serhiy Storchaka [Sat, 7 May 2016 07:49:07 +0000 (10:49 +0300)]
Issue #26736: Used HTTPS for external links in the documentation if possible.

8 years agoIssue #26889: Fixed hyperlinks formatting.
Serhiy Storchaka [Sat, 7 May 2016 07:06:39 +0000 (10:06 +0300)]
Issue #26889: Fixed hyperlinks formatting.

8 years agoIssue #26889: Fixed hyperlinks formatting.
Serhiy Storchaka [Sat, 7 May 2016 07:05:02 +0000 (10:05 +0300)]
Issue #26889: Fixed hyperlinks formatting.

8 years agoIssue #26889: Tweaked xmlrpc.client documentation.
Serhiy Storchaka [Sat, 7 May 2016 05:44:36 +0000 (08:44 +0300)]
Issue #26889: Tweaked xmlrpc.client documentation.

8 years agoIssue #26889: Tweaked xmlrpc.client documentation.
Serhiy Storchaka [Sat, 7 May 2016 05:44:15 +0000 (08:44 +0300)]
Issue #26889: Tweaked xmlrpc.client documentation.

8 years agoMerge with 3.5
Terry Jan Reedy [Fri, 6 May 2016 21:35:21 +0000 (17:35 -0400)]
Merge with 3.5

8 years agoIssue 26912: fix broken imports in test_email package.
Terry Jan Reedy [Fri, 6 May 2016 21:35:05 +0000 (17:35 -0400)]
Issue 26912: fix broken imports in test_email package.

8 years agoMerge with 3.5
Terry Jan Reedy [Fri, 6 May 2016 19:58:13 +0000 (15:58 -0400)]
Merge with 3.5

8 years agoIssue 26911: fix import (other problems remain).
Terry Jan Reedy [Fri, 6 May 2016 19:57:57 +0000 (15:57 -0400)]
Issue 26911: fix import (other problems remain).

8 years agoRestored parameter name "self" since gdb needs exact specific parameter names.
Serhiy Storchaka [Thu, 5 May 2016 13:21:35 +0000 (16:21 +0300)]
Restored parameter name "self" since gdb needs exact specific parameter names.

8 years agoIssue 26915: Add identity checks to the collections ABC __contains__ methods.
Raymond Hettinger [Thu, 5 May 2016 08:14:06 +0000 (11:14 +0300)]
Issue 26915:  Add identity checks to the collections ABC __contains__ methods.

8 years agoIssue #26918: Skipped some tests in test_pipes on Android.
Serhiy Storchaka [Thu, 5 May 2016 07:55:45 +0000 (10:55 +0300)]
Issue #26918: Skipped some tests in test_pipes on Android.
Patch by Xavier de Gaye.

8 years agoIssue #26765: Moved common code for the replace() method of bytes and bytearray
Serhiy Storchaka [Thu, 5 May 2016 06:26:07 +0000 (09:26 +0300)]
Issue #26765: Moved common code for the replace() method of bytes and bytearray
to a template file.

8 years agoIssue #26957: Remove duplicate 'the' from datetime documentation
Berker Peksag [Wed, 4 May 2016 20:26:04 +0000 (23:26 +0300)]
Issue #26957: Remove duplicate 'the' from datetime documentation

Patch by Alex Chan.

8 years agoIssue #26957: Remove duplicate 'the' from datetime documentation
Berker Peksag [Wed, 4 May 2016 20:25:44 +0000 (23:25 +0300)]
Issue #26957: Remove duplicate 'the' from datetime documentation

Patch by Alex Chan.

8 years agoIssue #26765: Moved common code and docstrings for bytes and bytearray methods
Serhiy Storchaka [Wed, 4 May 2016 19:23:26 +0000 (22:23 +0300)]
Issue #26765: Moved common code and docstrings for bytes and bytearray methods
to bytes_methods.c.

8 years agoAutomated merge with ssh://hg.python.org/cpython
Steven D'Aprano [Wed, 4 May 2016 18:47:10 +0000 (04:47 +1000)]
Automated merge with ssh://hg.python.org/cpython

8 years agoIssue #26811: gc.get_objects() no longer contains a broken tuple with NULL
Serhiy Storchaka [Wed, 4 May 2016 18:42:52 +0000 (21:42 +0300)]
Issue #26811: gc.get_objects() no longer contains a broken tuple with NULL
pointer.

8 years agoIssue #26811: gc.get_objects() no longer contains a broken tuple with NULL
Serhiy Storchaka [Wed, 4 May 2016 18:42:05 +0000 (21:42 +0300)]
Issue #26811: gc.get_objects() no longer contains a broken tuple with NULL
pointer.

8 years agoIssue 26002 and 25974
Steven D'Aprano [Wed, 4 May 2016 17:54:29 +0000 (03:54 +1000)]
Issue 26002 and 25974
patches by Upendra Kumar and Stefan Krah
speed up median by using bisect, and general speedup for Decimals using as_integer_ratio

8 years agoIssue #20120: Merge with 3.5
Jason R. Coombs [Wed, 4 May 2016 16:00:32 +0000 (12:00 -0400)]
Issue #20120: Merge with 3.5

8 years agoIssue #20120: Use RawConfigParser for .pypirc parsing, removing support for interpola...
Jason R. Coombs [Wed, 4 May 2016 15:57:32 +0000 (11:57 -0400)]
Issue #20120: Use RawConfigParser for .pypirc parsing, removing support for interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files, matching behavior in Python 2.7 and Setuptools 19.0.

8 years agoIssue #26873: xmlrpc now raises ResponseError on unsupported type tags
Serhiy Storchaka [Wed, 4 May 2016 08:27:17 +0000 (11:27 +0300)]
Issue #26873: xmlrpc now raises ResponseError on unsupported type tags
instead of silently return incorrect result.

8 years agoIssue #26873: xmlrpc now raises ResponseError on unsupported type tags
Serhiy Storchaka [Wed, 4 May 2016 08:26:42 +0000 (11:26 +0300)]
Issue #26873: xmlrpc now raises ResponseError on unsupported type tags
instead of silently return incorrect result.

8 years agoIssue #26932: Fixed support of RTLD_* constants defined as enum values,
Serhiy Storchaka [Wed, 4 May 2016 06:44:44 +0000 (09:44 +0300)]
Issue #26932: Fixed support of RTLD_* constants defined as enum values,
not via macros (in particular on Android).  Patch by Chi Hsuan Yen.

8 years agoIssue #24950: Fixed expanduser tests when the users home directory in pwd is "/".
Serhiy Storchaka [Tue, 3 May 2016 18:17:52 +0000 (21:17 +0300)]
Issue #24950: Fixed expanduser tests when the users home directory in pwd is "/".
Based on patch by SilentGhost.