]> granicus.if.org Git - python/log
python
8 years agoIssue #26765: Ensure that bytes- and unicode-specific stringlib files are used
Serhiy Storchaka [Mon, 16 May 2016 06:42:29 +0000 (09:42 +0300)]
Issue #26765: Ensure that bytes- and unicode-specific stringlib files are used
with correct type.

8 years agoIssue #27033: The default value of the decode_data parameter for
Serhiy Storchaka [Mon, 16 May 2016 06:36:31 +0000 (09:36 +0300)]
Issue #27033: The default value of the decode_data parameter for
smtpd.SMTPChannel and smtpd.SMTPServer constructors is changed to False.

8 years agoExpand abbreviations FIFO and LIFO.
Serhiy Storchaka [Mon, 16 May 2016 06:31:54 +0000 (09:31 +0300)]
Expand abbreviations FIFO and LIFO.

8 years agoIssue #27034: Removed deprecated class asynchat.fifo.
Serhiy Storchaka [Mon, 16 May 2016 06:10:43 +0000 (09:10 +0300)]
Issue #27034: Removed deprecated class asynchat.fifo.

8 years agoMerge with 3.5
Terry Jan Reedy [Mon, 16 May 2016 03:53:10 +0000 (23:53 -0400)]
Merge with 3.5

8 years agoIssue 18910: Edit idle_test/README.txt to add 'requires' usage at module scope.
Terry Jan Reedy [Mon, 16 May 2016 03:52:56 +0000 (23:52 -0400)]
Issue 18910: Edit idle_test/README.txt to add 'requires' usage at module scope.
Uppercase 'GUI', remove 2.7 references and reflow text.

8 years agoIssue #26807: mock_open 'files' no longer error on readline at end of file.
Robert Collins [Mon, 16 May 2016 03:22:45 +0000 (15:22 +1200)]
Issue #26807: mock_open 'files' no longer error on readline at end of file.

Patch from Yolanda Robla.

8 years agoIssue #26807: mock_open 'files' no longer error on readline at end of file.
Robert Collins [Mon, 16 May 2016 03:22:01 +0000 (15:22 +1200)]
Issue #26807: mock_open 'files' no longer error on readline at end of file.

Patch from Yolanda Robla.

8 years agoMerge with 3.5
Terry Jan Reedy [Mon, 16 May 2016 02:07:12 +0000 (22:07 -0400)]
Merge with 3.5

8 years agoIssue #23977: Tweak IDLE Delegator and its test.
Terry Jan Reedy [Mon, 16 May 2016 02:06:49 +0000 (22:06 -0400)]
Issue #23977: Tweak IDLE Delegator and its test.

8 years agoMerge with 3.5
Terry Jan Reedy [Sun, 15 May 2016 18:20:13 +0000 (14:20 -0400)]
Merge with 3.5

8 years agoIssue #25747: remove undependable and possibly useless test.
Terry Jan Reedy [Sun, 15 May 2016 18:19:59 +0000 (14:19 -0400)]
Issue #25747: remove undependable and possibly useless test.

8 years agoMerge with 3.5
Terry Jan Reedy [Sun, 15 May 2016 17:25:39 +0000 (13:25 -0400)]
Merge with 3.5

8 years agoIssue #20640: Add https: to url prefixes so test passes on Darwin.
Terry Jan Reedy [Sun, 15 May 2016 17:25:23 +0000 (13:25 -0400)]
Issue #20640: Add https: to url prefixes so test passes on Darwin.

8 years agoIssue #26870: Poll() also fails on OS X; try select()
Martin Panter [Sun, 15 May 2016 15:04:58 +0000 (15:04 +0000)]
Issue #26870: Poll() also fails on OS X; try select()

Also work around separate Open BSD bug with kill() of a zombie.

8 years agoIssue #26870: Avoid using kqueue() with pseudo-terminals
Martin Panter [Sun, 15 May 2016 13:21:25 +0000 (13:21 +0000)]
Issue #26870: Avoid using kqueue() with pseudo-terminals

Also force terminate the child process in case it hangs for any reason.

8 years agoIssue #26039: Document ZipInfo.is_dir() and make force_zip64 keyword-only.
Serhiy Storchaka [Sun, 15 May 2016 09:27:16 +0000 (12:27 +0300)]
Issue #26039: Document ZipInfo.is_dir() and make force_zip64 keyword-only.
Patch by Thomas Kluyver.

8 years agoMerge with 3.5
Terry Jan Reedy [Sun, 15 May 2016 05:31:01 +0000 (01:31 -0400)]
Merge with 3.5

8 years agoIssue #20640: Add tests for idlelib.configHelpSourceEdit.
Terry Jan Reedy [Sun, 15 May 2016 05:30:47 +0000 (01:30 -0400)]
Issue #20640: Add tests for idlelib.configHelpSourceEdit.
Patch by Saimadhav Heblikar.

8 years agomerge from 3.5
Senthil Kumaran [Sun, 15 May 2016 04:29:03 +0000 (21:29 -0700)]
merge from 3.5

issue27018 - Fix the documentation of select.epoll.register method.

8 years agoissue27018 - Fix the documentation of select.epoll.register method.
Senthil Kumaran [Sun, 15 May 2016 04:28:22 +0000 (21:28 -0700)]
issue27018 - Fix the documentation of select.epoll.register method.

8 years agoIssue #26870: Temporary debugging for OS X Snow Leopard lockup
Martin Panter [Sun, 15 May 2016 03:59:59 +0000 (03:59 +0000)]
Issue #26870: Temporary debugging for OS X Snow Leopard lockup

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.