Commit graph

40720 commits

Author SHA1 Message Date
Serhiy Storchaka
c4a35daa97 Issue #28541: Improve test coverage for encoding detection in json library.
Original patch by Eric Appelt.
2016-10-30 23:00:01 +02:00
Serhiy Storchaka
2f4453eff8 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:56:23 +02:00
Serhiy Storchaka
a89d22aff3 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:52:29 +02:00
Serhiy Storchaka
7984bff52a 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:37:46 +02:00
Serhiy Storchaka
d1af5effc2 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:33:54 +02:00
Serhiy Storchaka
a1fd5e4bc7 - Issue #23262: The webbrowser module now supports Firefox 36+ and derived
browsers.  Based on patch by Oleg Broytman.
2016-10-30 19:21:10 +02:00
Serhiy Storchaka
c9b750d249 Issue #23262: The webbrowser module now supports Firefox 36+ and derived
browsers.  Based on patch by Oleg Broytman.
2016-10-30 19:16:33 +02:00
Serhiy Storchaka
016a9acb26 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:52:02 +02:00
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
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
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
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
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
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
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
Serhiy Storchaka
36888dd970 Issue #28353: Fixed tests of os.fwalk() with broken links. 2016-10-25 20:18:31 +03: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
c3adf1e09b Issue #28314: Added tests for xml.etree.ElementTree.Element.getiterator(). 2016-10-25 10:37:55 +03:00
Serhiy Storchaka
036fb15435 Issue #28314: Added tests for xml.etree.ElementTree.Element.getiterator(). 2016-10-25 10:37:01 +03:00
Serhiy Storchaka
b1f5287952 Issue #27025: Generated names for Tkinter widgets now start by the "!" prefix
for readability (was "`").
2016-10-25 09:43:48 +03:00
Serhiy Storchaka
407c8acd90 Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin
a workaround to Tix library bug.
2016-10-24 23:49:10 +03:00
Serhiy Storchaka
071dec2027 Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin
a workaround to Tix library bug.
2016-10-24 23:47:28 +03:00
Raymond Hettinger
712d593e49 Issue #5830: Remove old comment. Add empty slots. 2016-10-24 07:31:55 -07:00
Serhiy Storchaka
e89639124b Merge heads 2016-10-24 14:53:25 +03:00
Yury Selivanov
01c521ba7a asyncio: Increase asyncio.Future test coverage; test both implementations.
Also, add 'isfuture' to 'asyncio.futures.__all__', so that it's
exposed as 'asyncio.isfuture'.
2016-10-23 22:34:35 -04:00
Serhiy Storchaka
cb637fa231 Some distutils tests require zlib for creating tar.gz source distribution. 2016-10-23 22:58:06 +03:00
Serhiy Storchaka
0211bb78fd Some distutils tests require zlib for creating tar.gz source distribution. 2016-10-23 22:56:14 +03:00
Serhiy Storchaka
8985031476 Issue #28115: ZIP creation test requires zlib. 2016-10-23 22:32:48 +03:00
Serhiy Storchaka
b4293efd93 Issue #28115: ZIP creation test requires zlib. 2016-10-23 22:32:30 +03:00