Commit Graph

96197 Commits

Author SHA1 Message Date
Berker Peksag 4af23d7ddd Use requires_os_func() to skip SpawnTests 2016-09-15 20:32:44 +03:00
Yury Selivanov 03179ef3a8 Merge heads 2016-09-15 13:26:58 -04:00
Yury Selivanov 0a91d484a3 Merge 3.5 (asyncio) 2016-09-15 13:24:03 -04:00
Berker Peksag 47e7062f76 Make SpawnTest.create_args() keyword-only 2016-09-15 20:23:55 +03:00
Berker Peksag 8181646931 Issue #28114: Fix a crash in parse_envlist() when env contains byte strings
Patch by Eryk Sun.
2016-09-15 20:19:47 +03:00
Yury Selivanov f6d991d885 asyncio: Sync with the upstream 2016-09-15 13:10:51 -04:00
Yury Selivanov 8987c9d219 Issue #26182: Raise DeprecationWarning for improper use of async/await keywords 2016-09-15 12:50:23 -04:00
Benjamin Peterson 6775231597 Unicode 9.0.0
Not completely mechanical since support for East Asian Width changes—emoji
codepoints became Wide—had to be added to unicodedata.
2016-09-14 23:53:47 -07:00
Berker Peksag 7ec64562b2 Issue #28153: Make kqueue()'s event filters optional
Patch by Ed Schouten.
2016-09-14 18:16:59 +03:00
Serhiy Storchaka 62a1f024b4 Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). 2016-09-14 16:37:34 +03:00
Serhiy Storchaka e6265e92bf Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). 2016-09-14 16:34:37 +03:00
Victor Stinner 611b0fa94c 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".
2016-09-14 15:02:01 +02:00
Victor Stinner 4659ccff70 Issue #28114: Add unit tests on os.spawn*() 2016-09-14 10:57:00 +02:00
Christian Heimes 8cee10386e Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup() 2016-09-14 10:25:54 +02:00
Christian Heimes 7ce201322e Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup() 2016-09-14 10:25:46 +02:00
Benjamin Peterson 37098cd584 more granular configure checks for clock_* functions (closes #28081) 2016-09-13 22:55:09 -07:00
Benjamin Peterson 54bb13bdfd merge 3.5 2016-09-13 22:46:50 -07:00
Benjamin Peterson 66c8dfb565 merge heads 2016-09-13 22:46:45 -07:00
Benjamin Peterson 1f28a4749b merge heads 2016-09-13 22:46:37 -07:00
Benjamin Peterson 995026a8a9 merge 3.5 (#28119) 2016-09-13 22:46:15 -07:00
Benjamin Peterson 59e5e0dca2 improve type-safe of and prevent double-frees in get_locale_info (#28119) 2016-09-13 22:43:45 -07:00
Berker Peksag b3cde6dd0b Issue #26171: Null merge 2016-09-14 08:39:49 +03:00
Berker Peksag e907885932 Issue #26171: Null merge 2016-09-14 08:39:15 +03:00
Berker Peksag 354c2f90a1 Issue #26171: Null merge 2016-09-14 08:38:36 +03:00
Berker Peksag d751040b1a Issue #26171: Prevent buffer overflow in get_data
Backport of 01ddd608b85c.
2016-09-14 08:37:28 +03:00
Berker Peksag 8ee9edbf45 Issue #28131: Merge from 3.5 2016-09-14 08:10:45 +03:00
Berker Peksag 4aa74c429c Issue #28131: Fix a regression in zipimport's compile_source()
zipimport should use the same optimization level as the interpreter.
2016-09-14 08:09:48 +03:00
Christian Heimes f6365e3816 Issue #28188: Use PyMem_Calloc() to get rid of a type-limits warning and an extra memset() call in _ssl.c. 2016-09-13 20:48:13 +02:00
Christian Heimes f051e43b22 Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy(). 2016-09-13 20:22:02 +02:00
Guido van Rossum a4d9b17b1f Add text about PEP 526 to What's new in 3.6. Ivan L. 2016-09-13 09:26:38 -07:00
Xavier de Gaye 032c0fb655 Add an Android section to whatsnew/3.6.rst. 2016-09-13 18:04:15 +02:00
Ned Deily bd8f277efc Tidy 3.6 What's New summary 2016-09-13 11:33:03 -04:00
Victor Stinner d0ad11f6b4 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.
2016-09-13 16:56:38 +02:00
Martin Panter 134192630a 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.
2016-09-13 12:21:47 +00:00
Victor Stinner 9926480b6a Issue #28040: Cleanup find_empty_slot()
find_empty_slot() only supports combined dict
2016-09-13 09:38:29 +02:00
Martin Panter b2317a4d9d Issue #15819: Merge include search from 3.5 into 3.6 2016-09-13 12:40:51 +00:00
Christian Heimes ed9c0706cf Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default. 2016-09-13 13:27:26 +02:00
Christian Heimes 17352fff92 Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default. 2016-09-13 12:09:55 +02:00
Christian Heimes faf2cea1fd Fix NULL check in sock_sendmsg_iovec. CID 1372885 2016-09-13 10:07:16 +02:00
Raymond Hettinger a33e9f7047 Issue #28104: More accurately document set method signatures 2016-09-12 23:38:50 -07:00
Benjamin Peterson 7a9e993f41 merge heads 2016-09-12 22:09:52 -07:00
Benjamin Peterson 4ce9e7a14a merge 3.5 2016-09-12 22:09:39 -07:00
Benjamin Peterson 529d130eda merge heads 2016-09-12 22:09:11 -07:00
Benjamin Peterson 5a715cfc57 merge 3.5 (#27981) 2016-09-12 22:07:14 -07:00
Benjamin Peterson 35ee948fa5 restructure fp_setreadl so as to avoid refleaks (closes #27981) 2016-09-12 22:06:58 -07:00
Berker Peksag fe1b9230cc Issue #27952: Merge from 3.5 2016-09-13 07:56:21 +03:00
Berker Peksag ac2d1c7153 Issue #27952: Capture stderr in run_script() 2016-09-13 07:55:54 +03:00
Berker Peksag 0037352d9d Issue #27981: Merge from 3.5 2016-09-13 07:39:40 +03:00
Berker Peksag 720acbf31b Issue #27981: Fix refleak in fp_setreadl()
Patch by David Dudson.
2016-09-13 07:39:00 +03:00
Berker Peksag b5d67b7278 Fix headers in whatsnew/3.6.rst 2016-09-13 05:52:32 +03:00