]> granicus.if.org Git - python/log
python
8 years agoMerge 3.5 (issue #26654)
Yury Selivanov [Thu, 15 Sep 2016 20:01:35 +0000 (16:01 -0400)]
Merge 3.5 (issue #26654)

8 years agoIssue #26654: Inspect functools.partial in asyncio.Handle.__repr__.
Yury Selivanov [Thu, 15 Sep 2016 19:58:15 +0000 (15:58 -0400)]
Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__.

Patch by iceboy.

8 years agoMerge 3.5 (issue #28174)
Yury Selivanov [Thu, 15 Sep 2016 19:46:16 +0000 (15:46 -0400)]
Merge 3.5 (issue #28174)

8 years agoIssue #28174: Handle when SO_REUSEPORT isn't properly supported (asyncio)
Yury Selivanov [Thu, 15 Sep 2016 19:45:07 +0000 (15:45 -0400)]
Issue #28174: Handle when SO_REUSEPORT isn't properly supported (asyncio)

Patch by Seth Michael Larson.

8 years agoMerge 3.5 (issue #27906)
Yury Selivanov [Thu, 15 Sep 2016 18:14:48 +0000 (14:14 -0400)]
Merge 3.5 (issue #27906)

8 years agoIssue #27906: Fix socket accept exhaustion during high TCP traffic.
Yury Selivanov [Thu, 15 Sep 2016 18:13:15 +0000 (14:13 -0400)]
Issue #27906: Fix socket accept exhaustion during high TCP traffic.

Patch by Kevin Conway.

8 years agoNull-merge 3.5
Yury Selivanov [Thu, 15 Sep 2016 17:49:49 +0000 (13:49 -0400)]
Null-merge 3.5

8 years agoAnother asyncio sync.
Yury Selivanov [Thu, 15 Sep 2016 17:49:08 +0000 (13:49 -0400)]
Another asyncio sync.

8 years agoIssue #28156: Export os.getpid() conditionally
Berker Peksag [Thu, 15 Sep 2016 17:45:16 +0000 (20:45 +0300)]
Issue #28156: Export os.getpid() conditionally

Patch by Ed Schouten.

8 years agoMerge heads 3.6
Yury Selivanov [Thu, 15 Sep 2016 17:37:16 +0000 (13:37 -0400)]
Merge heads 3.6

8 years agoasyncio: Drop debug code
Yury Selivanov [Thu, 15 Sep 2016 17:35:41 +0000 (13:35 -0400)]
asyncio: Drop debug code

8 years agoUse requires_os_func() to skip SpawnTests
Berker Peksag [Thu, 15 Sep 2016 17:32:44 +0000 (20:32 +0300)]
Use requires_os_func() to skip SpawnTests

8 years agoMerge heads
Yury Selivanov [Thu, 15 Sep 2016 17:26:58 +0000 (13:26 -0400)]
Merge heads

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Thu, 15 Sep 2016 17:24:03 +0000 (13:24 -0400)]
Merge 3.5 (asyncio)

8 years agoMake SpawnTest.create_args() keyword-only
Berker Peksag [Thu, 15 Sep 2016 17:23:55 +0000 (20:23 +0300)]
Make SpawnTest.create_args() keyword-only

8 years agoIssue #28114: Fix a crash in parse_envlist() when env contains byte strings
Berker Peksag [Thu, 15 Sep 2016 17:19:47 +0000 (20:19 +0300)]
Issue #28114: Fix a crash in parse_envlist() when env contains byte strings

Patch by Eryk Sun.

8 years agoasyncio: Sync with the upstream
Yury Selivanov [Thu, 15 Sep 2016 17:10:51 +0000 (13:10 -0400)]
asyncio: Sync with the upstream

8 years agoIssue #26182: Raise DeprecationWarning for improper use of async/await keywords
Yury Selivanov [Thu, 15 Sep 2016 16:50:23 +0000 (12:50 -0400)]
Issue #26182: Raise DeprecationWarning for improper use of async/await keywords

8 years agoUnicode 9.0.0
Benjamin Peterson [Thu, 15 Sep 2016 06:53:47 +0000 (23:53 -0700)]
Unicode 9.0.0

Not completely mechanical since support for East Asian Width changes—emoji
codepoints became Wide—had to be added to unicodedata.

8 years agoIssue #28153: Make kqueue()'s event filters optional
Berker Peksag [Wed, 14 Sep 2016 15:16:59 +0000 (18:16 +0300)]
Issue #28153: Make kqueue()'s event filters optional

Patch by Ed Schouten.

8 years agoIssue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
Serhiy Storchaka [Wed, 14 Sep 2016 13:37:34 +0000 (16:37 +0300)]
Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().

8 years agoIssue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
Serhiy Storchaka [Wed, 14 Sep 2016 13:34:37 +0000 (16:34 +0300)]
Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().

8 years agoAdd _PyDict_CheckConsistency()
Victor Stinner [Wed, 14 Sep 2016 13:02:01 +0000 (15:02 +0200)]
Add _PyDict_CheckConsistency()

Issue #28127: Add a function to check that a dictionary remains consistent
after any change.

By default, tables are not checked, only basic attributes. Define DEBUG_PYDICT
(ex: gcc -D DEBUG_PYDICT) to also check dictionary "content".

8 years agoIssue #28114: Add unit tests on os.spawn*()
Victor Stinner [Wed, 14 Sep 2016 08:57:00 +0000 (10:57 +0200)]
Issue #28114: Add unit tests on os.spawn*()

8 years agoRestrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()
Christian Heimes [Wed, 14 Sep 2016 08:25:54 +0000 (10:25 +0200)]
Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()

8 years agoRestrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()
Christian Heimes [Wed, 14 Sep 2016 08:25:46 +0000 (10:25 +0200)]
Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()

8 years agomore granular configure checks for clock_* functions (closes #28081)
Benjamin Peterson [Wed, 14 Sep 2016 05:55:09 +0000 (22:55 -0700)]
more granular configure checks for clock_* functions (closes #28081)

8 years agomerge 3.5
Benjamin Peterson [Wed, 14 Sep 2016 05:46:50 +0000 (22:46 -0700)]
merge 3.5

8 years agomerge heads
Benjamin Peterson [Wed, 14 Sep 2016 05:46:45 +0000 (22:46 -0700)]
merge heads

8 years agomerge heads
Benjamin Peterson [Wed, 14 Sep 2016 05:46:37 +0000 (22:46 -0700)]
merge heads

8 years agomerge 3.5 (#28119)
Benjamin Peterson [Wed, 14 Sep 2016 05:46:15 +0000 (22:46 -0700)]
merge 3.5 (#28119)

8 years agoimprove type-safe of and prevent double-frees in get_locale_info (#28119)
Benjamin Peterson [Wed, 14 Sep 2016 05:43:45 +0000 (22:43 -0700)]
improve type-safe of and prevent double-frees in get_locale_info (#28119)

8 years agoIssue #26171: Null merge
Berker Peksag [Wed, 14 Sep 2016 05:39:49 +0000 (08:39 +0300)]
Issue #26171: Null merge

8 years agoIssue #26171: Null merge
Berker Peksag [Wed, 14 Sep 2016 05:39:15 +0000 (08:39 +0300)]
Issue #26171: Null merge

8 years agoIssue #26171: Null merge
Berker Peksag [Wed, 14 Sep 2016 05:38:36 +0000 (08:38 +0300)]
Issue #26171: Null merge

8 years agoIssue #26171: Prevent buffer overflow in get_data
Berker Peksag [Wed, 14 Sep 2016 05:37:28 +0000 (08:37 +0300)]
Issue #26171: Prevent buffer overflow in get_data

Backport of 01ddd608b85c.

8 years agoIssue #28131: Merge from 3.5
Berker Peksag [Wed, 14 Sep 2016 05:10:45 +0000 (08:10 +0300)]
Issue #28131: Merge from 3.5

8 years agoIssue #28131: Fix a regression in zipimport's compile_source()
Berker Peksag [Wed, 14 Sep 2016 05:09:48 +0000 (08:09 +0300)]
Issue #28131: Fix a regression in zipimport's compile_source()

zipimport should use the same optimization level as the interpreter.

8 years agoIssue #28188: Use PyMem_Calloc() to get rid of a type-limits warning and an extra...
Christian Heimes [Tue, 13 Sep 2016 18:48:13 +0000 (20:48 +0200)]
Issue #28188: Use PyMem_Calloc() to get rid of a type-limits warning and an extra memset() call in _ssl.c.

8 years agoIssue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize...
Christian Heimes [Tue, 13 Sep 2016 18:22:02 +0000 (20:22 +0200)]
Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy().

8 years agoAdd text about PEP 526 to What's new in 3.6. Ivan L.
Guido van Rossum [Tue, 13 Sep 2016 16:26:38 +0000 (09:26 -0700)]
Add text about PEP 526 to What's new in 3.6. Ivan L.

8 years agoAdd an Android section to whatsnew/3.6.rst.
Xavier de Gaye [Tue, 13 Sep 2016 16:04:15 +0000 (18:04 +0200)]
Add an Android section to whatsnew/3.6.rst.

8 years agoTidy 3.6 What's New summary
Ned Deily [Tue, 13 Sep 2016 15:33:03 +0000 (11:33 -0400)]
Tidy 3.6 What's New summary

8 years agoFix _PyDict_Pop() on pending key
Victor Stinner [Tue, 13 Sep 2016 14:56:38 +0000 (16:56 +0200)]
Fix _PyDict_Pop() on pending key

Issue #28120: Fix dict.pop() for splitted dictionary when trying to remove a
"pending key" (Not yet inserted in split-table).

Patch by Xiang Zhang.

8 years agoIssue #15819: Remove old unconditional -IInclude option
Martin Panter [Tue, 13 Sep 2016 12:21:47 +0000 (12:21 +0000)]
Issue #15819: Remove old unconditional -IInclude option

A newer instance of this option, enabled in the configure script when
building outside the source tree, made this redundant.

8 years agoIssue #28040: Cleanup find_empty_slot()
Victor Stinner [Tue, 13 Sep 2016 07:38:29 +0000 (09:38 +0200)]
Issue #28040: Cleanup find_empty_slot()

find_empty_slot() only supports combined dict

8 years agoIssue #15819: Merge include search from 3.5 into 3.6
Martin Panter [Tue, 13 Sep 2016 12:40:51 +0000 (12:40 +0000)]
Issue #15819: Merge include search from 3.5 into 3.6

8 years agoExplain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default.
Christian Heimes [Tue, 13 Sep 2016 11:27:26 +0000 (13:27 +0200)]
Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default.

8 years agoExplain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default.
Christian Heimes [Tue, 13 Sep 2016 10:09:55 +0000 (12:09 +0200)]
Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default.

8 years agoFix NULL check in sock_sendmsg_iovec. CID 1372885
Christian Heimes [Tue, 13 Sep 2016 08:07:16 +0000 (10:07 +0200)]
Fix NULL check in sock_sendmsg_iovec. CID 1372885

8 years agoIssue #28104: More accurately document set method signatures
Raymond Hettinger [Tue, 13 Sep 2016 06:38:50 +0000 (23:38 -0700)]
Issue #28104: More accurately document set method signatures

8 years agomerge heads
Benjamin Peterson [Tue, 13 Sep 2016 05:09:52 +0000 (22:09 -0700)]
merge heads

8 years agomerge 3.5
Benjamin Peterson [Tue, 13 Sep 2016 05:09:39 +0000 (22:09 -0700)]
merge 3.5

8 years agomerge heads
Benjamin Peterson [Tue, 13 Sep 2016 05:09:11 +0000 (22:09 -0700)]
merge heads

8 years agomerge 3.5 (#27981)
Benjamin Peterson [Tue, 13 Sep 2016 05:07:14 +0000 (22:07 -0700)]
merge 3.5 (#27981)

8 years agorestructure fp_setreadl so as to avoid refleaks (closes #27981)
Benjamin Peterson [Tue, 13 Sep 2016 05:06:58 +0000 (22:06 -0700)]
restructure fp_setreadl so as to avoid refleaks (closes #27981)

8 years agoIssue #27952: Merge from 3.5
Berker Peksag [Tue, 13 Sep 2016 04:56:21 +0000 (07:56 +0300)]
Issue #27952: Merge from 3.5

8 years agoIssue #27952: Capture stderr in run_script()
Berker Peksag [Tue, 13 Sep 2016 04:55:54 +0000 (07:55 +0300)]
Issue #27952: Capture stderr in run_script()

8 years agoIssue #27981: Merge from 3.5
Berker Peksag [Tue, 13 Sep 2016 04:39:40 +0000 (07:39 +0300)]
Issue #27981: Merge from 3.5

8 years agoIssue #27981: Fix refleak in fp_setreadl()
Berker Peksag [Tue, 13 Sep 2016 04:39:00 +0000 (07:39 +0300)]
Issue #27981: Fix refleak in fp_setreadl()

Patch by David Dudson.

8 years agoFix headers in whatsnew/3.6.rst
Berker Peksag [Tue, 13 Sep 2016 02:52:32 +0000 (05:52 +0300)]
Fix headers in whatsnew/3.6.rst

8 years agoIssue #28103: Merge from 3.5
Berker Peksag [Tue, 13 Sep 2016 01:49:44 +0000 (04:49 +0300)]
Issue #28103: Merge from 3.5

8 years agoIssue #28103: Use ``'...'`` style in zipfile documentation
Berker Peksag [Tue, 13 Sep 2016 01:49:12 +0000 (04:49 +0300)]
Issue #28103: Use ``'...'`` style in zipfile documentation

Patch by Stephen J. Turnbull.

8 years agoStart 3.6 branch
Ned Deily [Mon, 12 Sep 2016 21:36:57 +0000 (17:36 -0400)]
Start 3.6 branch

8 years agoPost 3.6.0b1 merge
Ned Deily [Mon, 12 Sep 2016 20:57:18 +0000 (16:57 -0400)]
Post 3.6.0b1 merge

8 years agoUpdates zip and nuget builds for Windows.
Steve Dower [Mon, 12 Sep 2016 20:29:58 +0000 (13:29 -0700)]
Updates zip and nuget builds for Windows.

8 years agoStart 3.6.0b2
Ned Deily [Mon, 12 Sep 2016 19:49:58 +0000 (15:49 -0400)]
Start 3.6.0b2

8 years agoFix warning in _PyCFunction_FastCallKeywords()
Victor Stinner [Mon, 12 Sep 2016 19:33:26 +0000 (15:33 -0400)]
Fix warning in _PyCFunction_FastCallKeywords()

Issue #28105.

8 years agoIssue #23545: Adding -Wextra in setup.py is no longer necessary, since it
Stefan Krah [Mon, 12 Sep 2016 17:27:46 +0000 (19:27 +0200)]
Issue #23545: Adding -Wextra in setup.py is no longer necessary, since it
is now part of the official flags.

8 years agoAdded tag v3.6.0b1 for changeset 5b0ca4ed5e2f
Ned Deily [Mon, 12 Sep 2016 15:05:15 +0000 (11:05 -0400)]
Added tag v3.6.0b1 for changeset 5b0ca4ed5e2f

8 years agoVersion bump for 3.6.0b1 v3.6.0b1
Ned Deily [Mon, 12 Sep 2016 15:04:12 +0000 (11:04 -0400)]
Version bump for 3.6.0b1

8 years agoChange SOURCE_URI for pydoc source URLs to point to 3.6 branch
Ned Deily [Mon, 12 Sep 2016 14:56:13 +0000 (10:56 -0400)]
Change SOURCE_URI for pydoc source URLs to point to 3.6 branch

8 years agoUpdate pydoc topics for 3.6.0b1
Ned Deily [Mon, 12 Sep 2016 14:48:44 +0000 (10:48 -0400)]
Update pydoc topics for 3.6.0b1

8 years agoIssue #27810: Exclude METH_FASTCALL from the stable API
Victor Stinner [Mon, 12 Sep 2016 13:55:21 +0000 (15:55 +0200)]
Issue #27810: Exclude METH_FASTCALL from the stable API

8 years agoIssue #17128: Build OS X installer for 3.6 with private copy of OpenSSL.
Ned Deily [Mon, 12 Sep 2016 13:39:23 +0000 (09:39 -0400)]
Issue #17128: Build OS X installer for 3.6 with private copy of OpenSSL.
Also provide a sample Install Certificates command script to install a
set of root certificates from the third-party certifi module.

8 years agoIssue #27322: back out the commit. needs to be addressed after beta1.
Christian Heimes [Mon, 12 Sep 2016 13:22:25 +0000 (15:22 +0200)]
Issue #27322: back out the commit. needs to be addressed after beta1.

8 years agoIssue #27322: skip test_compile_path when sys.path is not writeable.
Christian Heimes [Mon, 12 Sep 2016 13:08:32 +0000 (15:08 +0200)]
Issue #27322: skip test_compile_path when sys.path is not writeable.

8 years agoIssue #27350: Document compact dict memory usage
Victor Stinner [Mon, 12 Sep 2016 12:43:14 +0000 (14:43 +0200)]
Issue #27350: Document compact dict memory usage

8 years agoIssue #28077: find_empty_slot() only supports combined dict
Victor Stinner [Mon, 12 Sep 2016 12:17:40 +0000 (14:17 +0200)]
Issue #28077: find_empty_slot() only supports combined dict

8 years agoDocument kwnames in _PyObject_FastCallKeywords() and _PyStack_AsDict()
Victor Stinner [Mon, 12 Sep 2016 11:37:07 +0000 (13:37 +0200)]
Document kwnames in _PyObject_FastCallKeywords() and _PyStack_AsDict()

Issue #27213.

8 years agoRevert change f860b7a775c5
Victor Stinner [Mon, 12 Sep 2016 11:30:02 +0000 (13:30 +0200)]
Revert change f860b7a775c5

Revert change "Issue #27213: Reintroduce checks in _PyStack_AsDict()", pushed
by mistake.

8 years agoBuildbot: give 20 minute per test file
Victor Stinner [Mon, 12 Sep 2016 11:04:17 +0000 (13:04 +0200)]
Buildbot: give 20 minute per test file

It seems like at least 2 buildbots need more than 15 minutes per test file.
Example with "AMD64 Snow Leop 3.x":

    10 slowest tests:
    - test_tools: 14 min 40 sec
    - test_tokenize: 11 min 57 sec
    - test_datetime: 11 min 25 sec
    - ...

8 years agossue #27213: Reintroduce checks in _PyStack_AsDict()
Victor Stinner [Mon, 12 Sep 2016 10:55:28 +0000 (12:55 +0200)]
ssue #27213: Reintroduce checks in _PyStack_AsDict()

8 years agoIssue #27866: Fix refleak in cipher_to_dict()
Victor Stinner [Mon, 12 Sep 2016 10:00:23 +0000 (12:00 +0200)]
Issue #27866: Fix refleak in cipher_to_dict()

8 years agosocket: Fix memory leak in sendmsg() and sendmsg_afalg()
Victor Stinner [Mon, 12 Sep 2016 09:41:58 +0000 (11:41 +0200)]
socket: Fix memory leak in sendmsg() and sendmsg_afalg()

Issue #27744:

* Release msg.msg_iov memory block.
* Release memory on PyMem_Malloc(controllen) failure

8 years agoCleanup socketmodule.c
Victor Stinner [Mon, 12 Sep 2016 09:45:59 +0000 (11:45 +0200)]
Cleanup socketmodule.c

Issue #27744:

* PEP 7: add {...} around if blocks
* assign variables and then check their value in if() to make the code easier
  to read and to debug.

8 years agoIssue #27213: Fix reference leaks
Victor Stinner [Mon, 12 Sep 2016 09:16:37 +0000 (11:16 +0200)]
Issue #27213: Fix reference leaks

8 years agomerge
Christian Heimes [Mon, 12 Sep 2016 08:48:55 +0000 (10:48 +0200)]
merge

8 years agoIssue #28093: Check more invalid combinations of PROTOCOL_TLS_CLIENT / PROTOCOL_TLS_S...
Christian Heimes [Mon, 12 Sep 2016 08:48:20 +0000 (10:48 +0200)]
Issue #28093: Check more invalid combinations of PROTOCOL_TLS_CLIENT / PROTOCOL_TLS_SERVER

8 years agoIssue #17941: Add a *module* parameter to collections.namedtuple()
Raymond Hettinger [Mon, 12 Sep 2016 07:18:31 +0000 (00:18 -0700)]
Issue #17941: Add a *module* parameter to collections.namedtuple()

8 years agomerge
Raymond Hettinger [Mon, 12 Sep 2016 06:23:24 +0000 (23:23 -0700)]
merge

8 years agoIssue #17582: xml.etree.ElementTree nows preserves whitespaces in attributes
Raymond Hettinger [Mon, 12 Sep 2016 06:18:03 +0000 (23:18 -0700)]
Issue #17582: xml.etree.ElementTree nows preserves whitespaces in attributes
(Patch by Duane Griffin.  Reviewed and approved by Stefan Behnel.)

8 years agoMerge 3.5 - Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Terry Jan Reedy [Mon, 12 Sep 2016 05:57:25 +0000 (01:57 -0400)]
Merge 3.5 - Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.

8 years agoIssue #15308: Add 'interrupt execution' (^C) to Shell menu.
Terry Jan Reedy [Mon, 12 Sep 2016 05:50:03 +0000 (01:50 -0400)]
Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.

8 years agoRevert part of 3471a3515827 that caused a performance regression
Raymond Hettinger [Mon, 12 Sep 2016 05:45:53 +0000 (22:45 -0700)]
Revert part of 3471a3515827 that caused a performance regression

8 years agoIssue #28071: Add early-out for differencing from an empty set.
Raymond Hettinger [Mon, 12 Sep 2016 05:02:28 +0000 (22:02 -0700)]
Issue #28071: Add early-out for differencing from an empty set.

8 years agoAdd missing versionadded directives
Berker Peksag [Mon, 12 Sep 2016 05:00:01 +0000 (08:00 +0300)]
Add missing versionadded directives

8 years agoIssue #28045: Merge from 3.5
Berker Peksag [Mon, 12 Sep 2016 04:47:33 +0000 (07:47 +0300)]
Issue #28045: Merge from 3.5

8 years agoIssue #28045: Fix comment in range_contains_long()
Berker Peksag [Mon, 12 Sep 2016 04:47:04 +0000 (07:47 +0300)]
Issue #28045: Fix comment in range_contains_long()

Patch by wim glenn.

8 years agoIssue #28095: Temporarily disable part of test_startup_imports on OS X.
Ned Deily [Mon, 12 Sep 2016 04:26:20 +0000 (00:26 -0400)]
Issue #28095: Temporarily disable part of test_startup_imports on OS X.