Commit Graph

96763 Commits

Author SHA1 Message Date
Xavier de Gaye 0eacef3ecf Issue #28444: Merge with 3.5. 2016-10-29 16:59:32 +02:00
Xavier de Gaye 84968b74c8 Issue #28444: Fix missing extensions modules when cross compiling. 2016-10-29 16:57:20 +02:00
Serhiy Storchaka d76d8bfee1 Issue #28199: Microoptimized dict resizing. Based on patch by Naoki Inada. 2016-10-29 10:49:43 +03:00
Victor Stinner f94d1eee74 Issue #28544: Fix inefficient call to _PyObject_CallMethodId()
"()" format string creates an empty list of argument but requires extra work to
parse the format string.
2016-10-29 09:05:39 +02:00
Yury Selivanov 684ef2c888 Issue #28544: Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*` 2016-10-28 19:01:21 -04:00
Yury Selivanov 833c626e67 Issue #28544: Fix compilation of _asynciomodule.c on Windows 2016-10-28 18:48:50 -04:00
Steve Dower d14ae161de Removes incorrect condition from lib_pdb.msi 2016-10-28 11:19:42 -07:00
Steve Dower 43ab355e0e Removes incorrect condition from lib_pdb.msi 2016-10-28 11:19:18 -07: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 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 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 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 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 c6dd415252 Issue #28522: Fixes mishandled buffer reallocation in getpathp.c 2016-10-27 14:28:07 -07: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 e0a220e9e2 Issue #22493: Updated an example for fnmatch.translate(). 2016-10-27 22:44:03 +03: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 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 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 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 b1152be2de Issue #28509: dict.update() no longer allocate unnecessary large memory 2016-10-27 19:26:50 +09:00
Zachary Ware ec9357b90c Ignore harmless suspicious markup 2016-10-25 21:43:41 -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 66078ac5d0 Issue #25002: Back out asyncore/asynchat deprecation. 2016-10-25 18:42:51 -07: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 6c2b9d3479 Issue #28333: Fixes off-by-one error that was adding an extra space. 2016-10-25 11:51:54 -07:00
Serhiy Storchaka 26231bb317 Null merge 2016-10-25 20:20:09 +03:00
Serhiy Storchaka 36888dd970 Issue #28353: Fixed tests of os.fwalk() with broken links. 2016-10-25 20:18:31 +03:00
Guido van Rossum 5ec24314cd Issue #28107: Update typing module documentation for NamedTuple (Ivan) 2016-10-25 09:53:11 -07:00
Serhiy Storchaka 28f982060c Issue #28353: Try to fix tests. 2016-10-25 19:01:41 +03:00
Guido van Rossum 16591f440d Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta. 2016-10-25 08:49:13 -07:00
Serhiy Storchaka 1faf9025b5 Issue #27275: Fixed implementation of pop() and popitem() methods in
subclasses of accelerated OrderedDict.
2016-10-25 15:36:56 +03:00
Serhiy Storchaka 4832580596 Issue #27275: Fixed implementation of pop() and popitem() methods in
subclasses of accelerated OrderedDict.
2016-10-25 15:33:23 +03:00
Serhiy Storchaka ecb90182f5 Issue #28255: calendar.TextCalendar().prmonth() no longer prints a space
at the start of new line after printing a month's calendar.  Patch by
Xiang Zhang.
2016-10-25 15:02:36 +03:00
Serhiy Storchaka 7ff51bd2b8 Issue #28255: calendar.TextCalendar().prmonth() no longer prints a space
at the start of new line after printing a month's calendar.  Patch by
Xiang Zhang.
2016-10-25 15:00:52 +03:00
Serhiy Storchaka a6eba11f86 Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
Based on patch by Kaarle Ritvanen.
2016-10-25 14:46:44 +03:00
Serhiy Storchaka f3ebc9fe3f Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
Based on patch by Kaarle Ritvanen.
2016-10-25 14:44:54 +03:00
Serhiy Storchaka af4e4747f5 Issue #28353: os.fwalk() no longer fails on broken links. 2016-10-25 14:34:38 +03:00
Serhiy Storchaka 42bababba6 Issue #28353: os.fwalk() no longer fails on broken links. 2016-10-25 14:28:38 +03:00
Serhiy Storchaka 179111bd22 Merge heads 2016-10-25 13:47:41 +03:00