Commit Graph

96780 Commits

Author SHA1 Message Date
Serhiy Storchaka 32c0d3ada5 Issue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
by representing the scale as float value internally in Tk.  tkinter.IntVar
now works if float value is set to underlying Tk variable.
2016-10-30 18:49:52 +02:00
Serhiy Storchaka 998c9cdd42 Issue #28561: Clean up UTF-8 encoder: remove dead code, update comments, etc.
Patch by Xiang Zhang.
2016-10-30 18:25:27 +02:00
Serhiy Storchaka b7d14a09c2 Merge from 3.5. 2016-10-30 17:25:45 +02:00
Serhiy Storchaka 0438683939 Backed out changeset 9f7505019767 (issue #27275). 2016-10-30 17:17:24 +02:00
Martin Panter 9440787867 Issue #26638: Merge option warning fixes from 3.5 into 3.6 2016-10-30 04:21:23 +00:00
Martin Panter b8c5f54248 Issue #26638: Work around more CLI options that can’t be linked
* Cannot seem to link directly to main options from the “unittest” module,
  because that module has its own set of options
* Mask out linking for options that no longer exist in Python 3
2016-10-30 04:20:23 +00:00
Martin Panter 5c67933940 Issue #26638: Mask undefined CLI options to defeat new Sphinx warnings 2016-10-30 04:20:17 +00:00
Raymond Hettinger 77d574d4ae Issue #18844: Strengthen tests to include a case with unequal weighting 2016-10-29 17:42:36 -07:00
Raymond Hettinger 30d00e54dd Issue #18844: Make the various ways for specifing weights produce the same results. 2016-10-29 16:55:36 -07:00
Guido van Rossum ab5cf4da4e Issue #28556: updates to typing.py (add Coroutine, prohibit Generic[T]()) (3.5->3.6) 2016-10-29 16:05:27 -07:00
Guido van Rossum 62fe1bb983 Issue #28556: updates to typing.py (add Coroutine, prohibit Generic[T]()) 2016-10-29 16:05:26 -07:00
Guido van Rossum c6c1c6ef79 Issue #28556: updates to typing.py (fix copy, deepcopy, pickle) (3.5->3.6) 2016-10-29 12:44:30 -07:00
Guido van Rossum b7dedc89f1 Issue #28556: updates to typing.py (fix copy, deepcopy, pickle) 2016-10-29 12:44:29 -07:00
Steve Dower 4782ab3aa3 Adds missing _asyncio.pyd to installer and generally tidies pyd management. 2016-10-29 09:23:39 -07:00
Guido van Rossum 868147b0a6 Issue #28556: updates to typing.py (3.5->3.6) 2016-10-29 08:54:57 -07:00
Guido van Rossum 5fc25a873c Issue #28556: updates to typing.py 2016-10-29 08:54:56 -07:00
Steve Dower 1da055ee0d Makes test_underpth* tests more robust by copying the executable. 2016-10-29 08:50:31 -07:00
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