Commit Graph

97076 Commits

Author SHA1 Message Date
Victor Stinner
1e03d8cc12 Merge 3.6 2016-10-28 19:15:08 +02:00
Victor Stinner
1aea8fb9e0 Issue #28544: Fix _asynciomodule.c on Windows
PyType_Ready() sets the reference to &PyType_Type.

&PyType_Type cannot be resolved at compilation time (not on Windows?).
2016-10-28 19:13:52 +02:00
Yury Selivanov
29d3cbfe97 Merge 3.6 (issue #28544) 2016-10-28 12:53:29 -04:00
Yury Selivanov
a0c1ba608e Issue #28544: Implement asyncio.Task in C.
This implementation provides additional 10-20% speed boost for
asyncio programs.

The patch also fixes _asynciomodule.c to use Arguments Clinic, and
makes '_schedule_callbacks' an overridable method (as it was in 3.5).
2016-10-28 12:52:37 -04:00
Xavier de Gaye
bbcb79920b Merge heads. 2016-10-28 11:40:47 +02:00
Xavier de Gaye
01dfb6c72d Merge heads. 2016-10-28 11:37:17 +02:00
Xavier de Gaye
800d6dc17d Issue #28046: Merge with 3.6. 2016-10-28 11:23:24 +02:00
Xavier de Gaye
1c17e7ff08 Issue #28046: Fix the removal of the sysconfigdata module
from lib-dynload on install.
2016-10-28 11:22:05 +02:00
Serhiy Storchaka
3809c25bc3 Fixed possible NULL decrefing. 2016-10-28 12:17:17 +03:00
Serhiy Storchaka
8a8ebc900a Fixed possible NULL decrefing. 2016-10-28 12:16:21 +03:00
Serhiy Storchaka
3ec5f421c5 Fixed possible NULL decrefing. 2016-10-28 12:14:34 +03:00
Serhiy Storchaka
5d8f0a1ca9 Issue #28353: Make test_os.WalkTests.test_walk_bad_dir stable. 2016-10-28 09:19:19 +03:00
Serhiy Storchaka
b6bd81dee9 Issue #28353: Make test_os.WalkTests.test_walk_bad_dir stable. 2016-10-28 09:18:30 +03:00
Serhiy Storchaka
7865dfff2e Issue #28353: Make test_os.WalkTests.test_walk_bad_dir stable. 2016-10-28 09:17:38 +03:00
Steve Dower
06ba3d34b4 Issue #28522: Fixes mishandled buffer reallocation in getpathp.c 2016-10-27 14:29:13 -07:00
Steve Dower
c6dd415252 Issue #28522: Fixes mishandled buffer reallocation in getpathp.c 2016-10-27 14:28:07 -07:00
Serhiy Storchaka
bc6830c948 Issue #22949: Documented that fnmatch.translate() is for use with re.match(). 2016-10-27 22:50:29 +03:00
Serhiy Storchaka
e45ef4e54c Issue #22949: Documented that fnmatch.translate() is for use with re.match(). 2016-10-27 22:50:15 +03:00
Serhiy Storchaka
a65a474e19 Issue #22949: Documented that fnmatch.translate() is for use with re.match(). 2016-10-27 22:47:08 +03:00
Serhiy Storchaka
df12b7f1c5 Issue #22493: Updated an example for fnmatch.translate(). 2016-10-27 22:45:03 +03:00
Serhiy Storchaka
e0a220e9e2 Issue #22493: Updated an example for fnmatch.translate(). 2016-10-27 22:44:03 +03:00
Steve Dower
26d4d76313 Merge from 3.6 2016-10-27 12:15:23 -07:00
Steve Dower
31c80e8eae Revert incorrect file merge from 3.5. 2016-10-27 12:14:48 -07:00
Steve Dower
43d2b264b9 Merge from 3.5 2016-10-27 12:12:24 -07:00
Steve Dower
fcf622e30e Updates release build to collect symbols and binaries, and create nuget package. 2016-10-27 12:08:45 -07:00
Serhiy Storchaka
f526e7ef7a Issue #28496: Mark up constants 0, 1 and -1 that denote return values or
special input values as literal text.
2016-10-27 21:42:49 +03:00
Serhiy Storchaka
159f97b2d7 Issue #28496: Mark up constants 0, 1 and -1 that denote return values or
special input values as literal text.
2016-10-27 21:42:15 +03:00
Serhiy Storchaka
1ecf7d204d Issue #28496: Mark up constants 0, 1 and -1 that denote return values or
special input values as literal text.
2016-10-27 21:41:19 +03:00
Serhiy Storchaka
2edcd1cba4 Issue #28426: Deprecated undocumented functions PyUnicode_AsEncodedObject(),
PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
PyUnicode_AsEncodedUnicode().
2016-10-27 21:08:00 +03:00
Serhiy Storchaka
0093907f0e Issue #28426: Deprecated undocumented functions PyUnicode_AsEncodedObject(),
PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
PyUnicode_AsEncodedUnicode().
2016-10-27 21:05:49 +03:00
Serhiy Storchaka
9e7d6a9d5e Issue #28526: Use PyUnicode_AsEncodedString() instead of
PyUnicode_AsEncodedObject() in _curese to ensure that the result
is a bytes object.
2016-10-27 19:33:22 +03:00
Serhiy Storchaka
802426f99b Issue #28526: Use PyUnicode_AsEncodedString() instead of
PyUnicode_AsEncodedObject() in _curese to ensure that the result
is a bytes object.
2016-10-27 19:33:05 +03:00
Serhiy Storchaka
b29cee40ee Issue #28526: Use PyUnicode_AsEncodedString() instead of
PyUnicode_AsEncodedObject() in _curese to ensure that the result
is a bytes object.
2016-10-27 19:31:49 +03:00
INADA Naoki
b574e77122 Issue #28509: dict.update() no longer allocate unnecessary large memory 2016-10-27 19:30:10 +09:00
INADA Naoki
b1152be2de Issue #28509: dict.update() no longer allocate unnecessary large memory 2016-10-27 19:26:50 +09:00
Zachary Ware
6743999d74 Remove unused suspicious rules 2016-10-25 21:49:19 -05:00
Zachary Ware
52e41fdc26 Merge from 3.6 2016-10-25 21:48:29 -05:00
Zachary Ware
ec9357b90c Ignore harmless suspicious markup 2016-10-25 21:43:41 -05:00
Zachary Ware
f97167ceda Merge from 3.6 2016-10-25 21:36:48 -05:00
Zachary Ware
d9aa4d3308 Merge from 3.5 2016-10-25 21:36:13 -05:00
Zachary Ware
bb444772d9 Fix default role usage 2016-10-25 21:35:22 -05:00
Guido van Rossum
c3f6c21264 Issue #25002: Back out asyncore/asynchat deprecation. (3.6->3.7) 2016-10-25 18:43:21 -07:00
Guido van Rossum
66078ac5d0 Issue #25002: Back out asyncore/asynchat deprecation. 2016-10-25 18:42:51 -07:00
Martin Panter
34d304cc0f Issue #26240: Merge subprocess doc string from 3.6 2016-10-26 00:26:38 +00:00
Martin Panter
3dca62440c Issue #26240: Merge subprocess doc string from 3.5 into 3.6 2016-10-25 23:41:42 +00:00
Martin Panter
4afdca056b Issue #26240: Clean up the subprocess module doc string
Patch by Tim Mitchell.
2016-10-25 22:20:48 +00:00
Steve Dower
85fd15adad Issue #28333: Fixes off-by-one error that was adding an extra space. 2016-10-25 11:52:09 -07:00
Steve Dower
6c2b9d3479 Issue #28333: Fixes off-by-one error that was adding an extra space. 2016-10-25 11:51:54 -07:00
Serhiy Storchaka
670fca8d17 Null merge 2016-10-25 20:20:29 +03:00
Serhiy Storchaka
26231bb317 Null merge 2016-10-25 20:20:09 +03:00