Commit graph

96182 commits

Author SHA1 Message Date
Berker Peksag
2337ad1c26 Merge from 3.6 2016-09-15 20:24:13 +03:00
Berker Peksag
47e7062f76 Make SpawnTest.create_args() keyword-only 2016-09-15 20:23:55 +03:00
Berker Peksag
2c66eee5bf Issue #28114: Merge from 3.6 2016-09-15 20:20:36 +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
96a042253f Merge 3.6 (issue #26182) 2016-09-15 12:50: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
640463acb1 merge 3.6 2016-09-14 23:54:09 -07: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
467ad1edc1 Issue #28153: Merge from 3.6 2016-09-14 18:17:32 +03: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
e8cf452c91 Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). 2016-09-14 16:38:48 +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
e175c1bbd5 Merge 3.6
Issue #28127: Add _PyDict_CheckConsistency()
2016-09-14 15:04:33 +02: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
eb979397ff Merge 3.6 (test os.spawn*) 2016-09-14 14:57:25 +02:00
Victor Stinner
4659ccff70 Issue #28114: Add unit tests on os.spawn*() 2016-09-14 10:57:00 +02:00
Christian Heimes
1ed8e3fac9 Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup() 2016-09-14 10:26:20 +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
Berker Peksag
1cd53f6100 Issue #26830: Refactor Tools/scripts/google.py
Patch by Francisco Couzo.
2016-09-14 10:59:27 +03:00
Benjamin Peterson
40465ebc27 merge 3.6 (#28081) 2016-09-13 22:55:19 -07:00
Benjamin Peterson
37098cd584 more granular configure checks for clock_* functions (closes #28081) 2016-09-13 22:55:09 -07:00
Benjamin Peterson
3310c87d37 merge 3.6 2016-09-13 22:46:57 -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
68de9e7296 Issue #26171: Null merge 2016-09-14 08:40:22 +03: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
89b9d1d244 Issue #28131: Merge from 3.6 2016-09-14 08:11:15 +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
425f3907e5 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:25 +02: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
ef4c53af5f Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy(). 2016-09-13 20:22:26 +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
315361c7dc Add text about PEP 526 to What's new in 3.6. Ivan L. (merge 3.6->3.7) 2016-09-13 09:27:07 -07: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
1e68987792 Merge from 3.6. 2016-09-13 18:06:08 +02:00
Xavier de Gaye
032c0fb655 Add an Android section to whatsnew/3.6.rst. 2016-09-13 18:04:15 +02:00
Ned Deily
20ae233d02 merge from 3.6 2016-09-13 11:35:00 -04:00
Ned Deily
bd8f277efc Tidy 3.6 What's New summary 2016-09-13 11:33:03 -04:00
Victor Stinner
f135ea1320 Merge 3.6 (fix dict.pop) 2016-09-13 16:57:01 +02: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
Victor Stinner
a8a1b68387 Merge 3.6 2016-09-13 15:59:47 +02:00