Commit graph

40995 commits

Author SHA1 Message Date
Eric V. Smith
5646648678 Issue 28128: Print out better error/warning messages for invalid string escapes. Backport to 3.6. 2016-10-31 14:46:26 -04:00
Serhiy Storchaka
88b2219358 Issue #27517: LZMA compressor and decompressor no longer raise exceptions if
given empty data twice.  Patch by Benjamin Fogle.
2016-10-31 08:31:13 +02:00
Serhiy Storchaka
04f17f103a Issue #27517: LZMA compressor and decompressor no longer raise exceptions if
given empty data twice.  Patch by Benjamin Fogle.
2016-10-31 08:30:09 +02:00
Serhiy Storchaka
13c8f3266a Update the f-string test broken in issue #28385. 2016-10-31 08:13:00 +02:00
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
Serhiy Storchaka
04230c4087 Issue #28123: _PyDict_GetItem_KnownHash() now can raise an exception as
PyDict_GetItemWithError().  Patch by Xiang Zhang.
2016-11-06 13:19:38 +02:00
Martin Panter
a76f014278 Remove disabled test code
Loading Unix libraries via getattr() was disabled before ctypes was added to
Python.
2016-11-05 02:49:20 +00:00
Martin Panter
52dfd4bd99 Issue #28485: Merge single-threading fix from 3.6 2016-11-05 01:56:58 +00:00
Yury Selivanov
a494e34ca1 Merge 3.6 (issue #28613) 2016-11-04 14:30:41 -04:00
Yury Selivanov
91d78f0aae Merge 3.6 (issue #28600) 2016-11-03 15:10:48 -07:00
Donald Stufft
cee42c4c41 Merge 3.6 - allow ensurepip w/o ssl 2016-11-02 20:33:07 -04:00
Donald Stufft
629dda5147 Merge updated pip/setuptools from 3.6 2016-11-02 15:55:26 -04:00
INADA Naoki
a3498c7569 Issue #28583: PyDict_SetDefault didn't combine split table when needed.
Patch by Xiang Zhang.
2016-11-02 18:47:24 +09:00
Raymond Hettinger
79a188c2bb merge 2016-11-01 22:23:34 -07:00
Eric V. Smith
42454af094 Issue 28128: Print out better error/warning messages for invalid string escapes. 2016-10-31 09:22:08 -04:00
Serhiy Storchaka
ecf40c1dce Issue #27517: LZMA compressor and decompressor no longer raise exceptions if
given empty data twice.  Patch by Benjamin Fogle.
2016-10-31 08:31:41 +02:00
Serhiy Storchaka
4eebf8477a Update the f-string test broken in issue #28385. 2016-10-31 08:13:30 +02:00
Serhiy Storchaka
40926a8b2e Issue #28541: Improve test coverage for encoding detection in json library.
Original patch by Eric Appelt.
2016-10-30 23:00:20 +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
a182d7bc14 Merge from 3.6. 2016-10-30 17:27:40 +02: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
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
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