Commit graph

97303 commits

Author SHA1 Message Date
Serhiy Storchaka
e1ac09d137 Issue #28549: Fixed segfault in curses's addch() with ncurses6. 2016-10-30 22:54:23 +02:00
Serhiy Storchaka
3e7f593c87 Issue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tar
file with compression before trying to open it without compression.  Otherwise
it had 50% chance failed with ignore_zeros=True.
2016-10-30 20:58:31 +02:00
Serhiy Storchaka
79879e002f Issue #28385: An error message when non-empty format spec is passed to
object.__format__ now contains the name of actual type.
2016-10-30 19:38:05 +02:00
Serhiy Storchaka
08921c4be3 Issue #23262: The webbrowser module now supports Firefox 36+ and derived
browsers.  Based on patch by Oleg Broytman.
2016-10-30 19:22:15 +02:00
Serhiy Storchaka
686583c05a 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:53:09 +02:00
Serhiy Storchaka
b982ae8317 Issue #28561: Clean up UTF-8 encoder: remove dead code, update comments, etc.
Patch by Xiang Zhang.
2016-10-30 18:25:46 +02:00
Serhiy Storchaka
a182d7bc14 Merge from 3.6. 2016-10-30 17:27:40 +02:00
Martin Panter
92b6154911 Issue #26638: Merge option warning fixes from 3.6 2016-10-30 04:30:36 +00:00
Raymond Hettinger
fdf6716ea9 merge 2016-10-29 17:43:02 -07:00
Raymond Hettinger
ba25f61490 merge 2016-10-29 16:57:09 -07:00
Guido van Rossum
7ca671532c Issue #28556: updates to typing.py (add Coroutine, prohibit Generic[T]()) (3.6->3.7) 2016-10-29 16:05:28 -07:00
Guido van Rossum
fd274c47aa Issue #28556: updates to typing.py (fix copy, deepcopy, pickle) (3.6->3.7) 2016-10-29 12:44:31 -07:00
Steve Dower
27c22f900c Adds missing _asyncio.pyd to installer and generally tidies pyd management. 2016-10-29 09:23:52 -07:00
Guido van Rossum
d920d05381 Issue #28556: updates to typing.py (3.6->3.7) 2016-10-29 08:54:58 -07:00
Steve Dower
842a146672 Merge from 3.6 2016-10-29 08:50:42 -07:00
Xavier de Gaye
0af10ac472 Issue #28444: Merge with 3.6. 2016-10-29 17:01:07 +02:00
Serhiy Storchaka
041794908b Issue #28199: Microoptimized dict resizing. Based on patch by Naoki Inada. 2016-10-29 10:50:00 +03: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
43a5c1c9d3 Merge 3.6 2016-10-29 09:11:06 +02: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
f0bbee6228 Merge 3.6 (issue #28544) 2016-10-28 19:01:46 -04:00
Yury Selivanov
684ef2c888 Issue #28544: Pass PyObject* to _PyDict_Pop, not PyDictObject* 2016-10-28 19:01:21 -04:00
Yury Selivanov
1b6b6eb453 Merge 3.6 (issue #28544) 2016-10-28 18:49:10 -04:00
Yury Selivanov
833c626e67 Issue #28544: Fix compilation of _asynciomodule.c on Windows 2016-10-28 18:48:50 -04:00
Steve Dower
fcb5c64a9a Removes incorrect condition from lib_pdb.msi 2016-10-28 11:19:50 -07: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
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