Yury Selivanov
228722ad20
Merge 3.6 (issue #26182 )
2016-11-08 16:54:39 -05:00
Yury Selivanov
1a9d687a49
Issue #26182 : Fix ia refleak in code that raises DeprecationWarning.
2016-11-08 16:54:18 -05:00
Yury Selivanov
2edd8a1e2c
Issue #27243 : Change PendingDeprecationWarning -> DeprecationWarning.
...
As it was agreed in the issue, __aiter__ returning an awaitable
should result in PendingDeprecationWarning in 3.5 and in
DeprecationWarning in 3.6.
2016-11-08 15:13:07 -05:00
Serhiy Storchaka
64d84c60e2
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:28:30 +02:00
Serhiy Storchaka
1c9bd1d8ec
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:27:17 +02:00
Serhiy Storchaka
1c3fdd900d
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:20:09 +02:00
Serhiy Storchaka
07bcf05fcf
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:17:46 +02:00
Serhiy Storchaka
b2e64f903d
Issue #28621 : Sped up converting int to float by reusing faster bits counting
...
implementation. Patch by Adrian Wielgosik.
2016-11-08 20:34:22 +02:00
Yury Selivanov
6130c0271f
Merge 3.5 (issue #28634 )
2016-11-07 16:07:30 -05:00
Steve Dower
257a4c1503
Closes #27781 : Removes special cases for the experimental aspect of PEP 529
2016-11-06 19:35:24 -08:00
Steve Dower
78057b4159
Closes #27781 : Removes special cases for the experimental aspect of PEP 529
2016-11-06 19:35:08 -08:00
Martin Panter
cee93c3b73
Issue #28485 : Merge single-threading fix from 3.5 into 3.6
2016-11-05 01:35:25 +00:00
Martin Panter
88281ceed0
Issue #28485 : Check for negative workers even without ProcessPoolExecutor
...
This matches the documentation, and passes the test suite when multithreading
is disabled.
2016-11-05 01:11:36 +00:00
Ned Deily
7d76c906f7
Issue #28616 : merge from 3.5
2016-11-04 17:07:06 -04:00
Ned Deily
da4887a88d
Issue #28616 : Correct help for sys.version_info releaselevel component.
...
Patch by Anish Tambe.
2016-11-04 17:03:34 -04:00
Yury Selivanov
69312fa4a2
Merge 3.5 (issue #28613 )
2016-11-04 14:30:11 -04:00
Yury Selivanov
600a349781
Issue #28613 : Fix get_event_loop() to return the current loop
...
when called from coroutines or callbacks.
2016-11-04 14:29:28 -04:00
Yury Selivanov
a6fbcd19ac
Merge 3.5 (issue #28600 )
2016-11-03 15:10:11 -07:00
Yury Selivanov
491a912659
Issue #28600 : Optimize loop.call_soon().
...
Run expensive type checks only in debug mode. In addition, stop
supporting passing handles to loop.run_in_executor.
2016-11-03 15:09:24 -07:00
Serhiy Storchaka
5f548a24a4
Issue #28387 : Fixed possible crash in _io.TextIOWrapper deallocator when
...
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
2016-11-03 15:38:17 +02:00
Serhiy Storchaka
a7c972e03b
Issue #28387 : Fixed possible crash in _io.TextIOWrapper deallocator when
...
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
2016-11-03 15:37:01 +02:00
Serhiy Storchaka
d8d9da04b7
Issue #28513 : Documented command-line interface of zipfile.
2016-11-02 12:11:32 +02:00
Serhiy Storchaka
92c1a90462
Issue #28513 : Documented command-line interface of zipfile.
2016-11-02 12:06:15 +02:00
INADA Naoki
93f26f794d
Issue #28583 : PyDict_SetDefault didn't combine split table when needed.
...
Patch by Xiang Zhang.
2016-11-02 18:45:16 +09:00
Ned Deily
a9e99b1a54
Start 3.6.0b4
2016-11-01 00:35:39 -04:00
Ned Deily
0ef256c2b0
Version bump for 3.6.0b3
2016-10-31 20:43:30 -04:00
Ned Deily
1194234e66
Issue #28248 : merge from 3.5
2016-10-31 19:54:17 -04:00
Ned Deily
38adbfa710
Issue #28248 : Update macOS installer build to use OpenSSL 1.0.2j.
...
Original patch by Mariatta Wijaya.
2016-10-31 19:51:58 -04:00
Ned Deily
473ce1d3e3
Issue #28028 : Update OS X installers to use SQLite 3.14.2.
...
Patch by Mariatta Wijaya.
2016-10-31 19:32:48 -04:00
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
a0d9c685d0
Issue #28549 : Fixed segfault in curses's addch() with ncurses6.
2016-10-30 22:53:09 +02:00
Serhiy Storchaka
0bcd89b859
Issue #28549 : Fixed segfault in curses's addch() with ncurses6.
2016-10-30 22:52:06 +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
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
30d00e54dd
Issue #18844 : Make the various ways for specifing weights produce the same results.
2016-10-29 16:55:36 -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
Martin Panter
52dfd4bd99
Issue #28485 : Merge single-threading fix from 3.6
2016-11-05 01:56:58 +00:00
Ned Deily
e37c1cbf66
Issue #28616 : merge from 3.6
2016-11-04 17:07:47 -04:00
INADA Naoki
ca2d8be4ba
Issue #28580 : Optimize iterating split table values.
...
Patch by Xiang Zhang.
2016-11-04 16:59:10 +09:00
Serhiy Storchaka
d63f1f757c
Issue #28387 : Fixed possible crash in _io.TextIOWrapper deallocator when
...
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
2016-11-03 15:38:58 +02:00
Serhiy Storchaka
5a97bf7dec
Issue #28513 : Documented command-line interface of zipfile.
2016-11-02 12:13:48 +02: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
Ned Deily
a3ae1391c4
Issue #28248 : merge from 3.6
2016-10-31 19:58:25 -04:00
Ned Deily
a0d5256821
Issue #28208 : merge from 3.6
2016-10-31 19:36:42 -04: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
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
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
Xavier de Gaye
0af10ac472
Issue #28444 : Merge with 3.6.
2016-10-29 17:01:07 +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
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
2edcd1cba4
Issue #28426 : Deprecated undocumented functions PyUnicode_AsEncodedObject(),
...
PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
PyUnicode_AsEncodedUnicode().
2016-10-27 21:08:00 +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
INADA Naoki
b574e77122
Issue #28509 : dict.update() no longer allocate unnecessary large memory
2016-10-27 19:30:10 +09:00
INADA Naoki
b1152be2de
Issue #28509 : dict.update() no longer allocate unnecessary large memory
2016-10-27 19:26:50 +09:00
Martin Panter
34d304cc0f
Issue #26240 : Merge subprocess doc string from 3.6
2016-10-26 00:26:38 +00: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
b3e5812300
Issue #27275 : Fixed implementation of pop() and popitem() methods in
...
subclasses of accelerated OrderedDict.
2016-10-25 15:38:28 +03: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
0595ed21ba
Issue #28255 : calendar.TextCalendar.prweek() no longer prints a space after
...
a weeks's calendar. calendar.TextCalendar.pryear() no longer prints redundant
newline after a year's calendar. Based on patch by Xiang Zhang.
2016-10-25 15:20:58 +03:00
Serhiy Storchaka
78d84d8326
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:03:59 +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
da223e5cef
Issue #20491 : The textwrap.TextWrapper class now honors non-breaking spaces.
...
Based on patch by Kaarle Ritvanen.
2016-10-25 14:47:53 +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
f06f82d66b
Issue #28353 : os.fwalk() no longer fails on broken links.
2016-10-25 14:35:18 +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
INADA Naoki
12a98e8cbb
Issue #28430 : Fix iterator of C implemented asyncio.Future doesn't
...
accept non-None value is passed to it.send(val).
2016-10-25 19:11:40 +09:00
INADA Naoki
74c17539f2
Issue #28430 : Fix iterator of C implemented asyncio.Future doesn't
...
accept non-None value is passed to it.send(val).
2016-10-25 19:00:45 +09:00
Serhiy Storchaka
d7e5ff13bb
Issue #28426 : Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
2016-10-25 10:18:16 +03:00
Serhiy Storchaka
c4a3e90aa8
Issue #28426 : Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
2016-10-25 10:17:33 +03:00
Serhiy Storchaka
839023f12c
Issue #28426 : Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
2016-10-25 10:13:43 +03:00
Serhiy Storchaka
77eede35fc
Issue #28426 : Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
2016-10-25 10:07:51 +03:00
Serhiy Storchaka
e402312499
Issue #27025 : Generated names for Tkinter widgets now start by the "!" prefix
...
for readability (was "`").
2016-10-25 09:46:46 +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
42bcbf76f7
Issue #28517 : Fixed of-by-one error in the peephole optimizer that caused
...
keeping unreachable code.
2016-10-25 09:32:04 +03:00
Serhiy Storchaka
7db3c48833
Issue #28517 : Fixed of-by-one error in the peephole optimizer that caused
...
keeping unreachable code.
2016-10-25 09:30:43 +03:00
Serhiy Storchaka
19aef9c24e
Issue #25464 : Fixed HList.header_exists() in tkinter.tix module by addin
...
a workaround to Tix library bug.
2016-10-24 23:49:51 +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
Serhiy Storchaka
39891fff32
Issue #28488 : shutil.make_archive() no longer adds entry "./" to ZIP archive.
2016-10-23 15:58:10 +03:00
Serhiy Storchaka
7fc92bb38a
Issue #28488 : shutil.make_archive() no longer adds entry "./" to ZIP archive.
2016-10-23 15:57:42 +03:00
Serhiy Storchaka
666de77727
Issue #28488 : shutil.make_archive() no longer adds entry "./" to ZIP archive.
2016-10-23 15:55:09 +03:00
Serhiy Storchaka
d3ff784f2d
Issue #28469 : timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead
...
of 1, 10, 100,... for autoranging.
2016-10-23 15:17:05 +03:00
Serhiy Storchaka
8c9331057d
Issue #28115 : Command-line interface of the zipfile module now uses argparse.
...
Added support of long options.
2016-10-23 13:32:12 +03:00
Serhiy Storchaka
ee8337a99d
Issue #25953 : re.sub() now raises an error for invalid numerical group
...
reference in replacement template even if the pattern is not found in
the string. Error message for invalid group reference now includes the
group index and the position of the reference.
Based on patch by SilentGhost.
2016-10-23 12:12:05 +03:00
Serhiy Storchaka
662cef66d7
Issue #25953 : re.sub() now raises an error for invalid numerical group
...
reference in replacement template even if the pattern is not found in
the string. Error message for invalid group reference now includes the
group index and the position of the reference.
Based on patch by SilentGhost.
2016-10-23 12:11:19 +03:00
Martin Panter
f1f9b633ac
Issue #28435 : Merge urllib test fixes from 3.6
2016-10-22 03:21:55 +00:00
Martin Panter
85e81cfe9b
Issue #28435 : Merge urllib test fixes from 3.5 into 3.6
2016-10-22 03:21:36 +00:00
Martin Panter
1002a621c1
Issue #28435 : Avoid no_proxy environment variable interfering with tests
...
Patch by Piotr Szczepaniak.
2016-10-22 01:42:06 +00:00
Yury Selivanov
6330f2a5ce
Merge 3.5 (issue #26796 )
2016-10-21 17:41:23 -04:00
Yury Selivanov
e8a6045fea
Issue #26796 : Don't configure the number of workers for default threadpool executor.
...
Initial patch by Hans Lawrenz.
2016-10-21 17:40:42 -04:00
Yury Selivanov
e145efcd7a
Merge 3.5 (issue #26923 )
2016-10-21 17:23:35 -04:00
Yury Selivanov
3d67615a48
Issue #26923 : Fix asyncio.Gather to refuse being cancelled once all children are done.
...
Patch by Johannes Ebke.
2016-10-21 17:22:17 -04:00
Yury Selivanov
ed0540698e
Issue #28500 : Fix asyncio to handle async gens GC from another thread.
2016-10-21 17:13:40 -04:00
Brett Cannon
ee406e9167
Merge (issue #28396 )
2016-10-21 12:16:14 -07:00
Brett Cannon
eb7ebd3d34
Merge (issue #28396 )
2016-10-21 12:15:48 -07:00
Brett Cannon
10a7dbdd5d
Issue #28396 : Remove any mention of .pyo files from the man page.
...
Thanks to Ville Skyttä for the patch.
2016-10-21 12:15:14 -07:00
Serhiy Storchaka
c4b4d4e2d8
Issue #28214 : Improved exception reporting for problematic __set_name__
...
attributes.
2016-10-21 17:15:20 +03:00
Serhiy Storchaka
d5d32d2127
Issue #28214 : Improved exception reporting for problematic __set_name__
...
attributes.
2016-10-21 17:13:31 +03:00
INADA Naoki
fdf6418630
Issue #18219 : Optimize csv.DictWriter for large number of columns.
...
Patch by Mariatta Wijaya.
2016-10-21 19:53:30 +09:00
INADA Naoki
0a421a28f8
Issue #18219 : Optimize csv.DictWriter for large number of columns.
...
Patch by Mariatta Wijaya.
2016-10-21 19:47:57 +09:00
INADA Naoki
a1289c6841
Issue #28448 : Fix C implemented asyncio.Future didn't work on Windows (merge 3.6)
2016-10-21 12:32:46 +09:00
INADA Naoki
a83636247e
Issue #28448 : Fix C implemented asyncio.Future didn't work on Windows
2016-10-21 12:30:15 +09:00
Martin Panter
ccb2c0e310
Issue #23214 : Implement optional BufferedReader, BytesIO read1() argument
2016-10-20 23:48:14 +00:00
Yury Selivanov
a4b884f900
Issue #28492 : Fix how StopIteration is raised in _asyncio.Future
2016-10-20 15:54:20 -04:00
Martin Panter
812f6e1f23
Issue #28480 : Merge multithreading fixes from 3.6
2016-10-20 05:25:14 +00:00
Martin Panter
fa27d5f229
Issue #28480 : Avoid label at end of compound statement --without-threads
...
Based on patch by Masayuki Yamamoto.
2016-10-20 00:48:23 +00:00
Xavier de Gaye
18207ea32b
Issue #26944 : Merge with 3.6.
2016-10-19 11:08:07 +02:00
Xavier de Gaye
24c3b4928e
Issue #26944 : Fix test_posix for Android where 'id -G' is entirely wrong
...
or missing the effective gid.
2016-10-19 11:00:26 +02:00
Yury Selivanov
fa22b29960
Issue #28471 : Fix crash (GIL state related) in socket.setblocking
2016-10-18 16:03:52 -04:00
Victor Stinner
3d7feb9ac2
timeit: remove --clock and --time options
...
Issue #28240 : timeit: remove -c/--clock and -t/--time command line options
which were deprecated since Python 3.3.
2016-10-18 17:18:21 +02:00
Victor Stinner
1b90115304
timeit: change default repeat to 5, instead of 3
...
Issue #28240 : timeit now repeats the benchmarks 5 times instead of only 3 to
make benchmarks more reliable.
2016-10-18 17:13:22 +02:00
Victor Stinner
f8fb82cd25
timeit: start autorange with 1 iteration, not 10
...
Issue #28240 : timeit autorange now uses a single loop iteration if the
benchmark takes less than 10 seconds, instead of 10 iterations.
"python3 -m timeit -s 'import time' 'time.sleep(1)'" now takes 4 seconds
instead of 40 seconds.
2016-10-18 17:06:56 +02:00
Serhiy Storchaka
60c838b27c
Issue #23782 : Fixed possible memory leak in _PyTraceback_Add() and exception
...
loss in PyTraceBack_Here().
2016-10-18 13:27:54 +03:00
Serhiy Storchaka
df0fd74ae8
Issue #23782 : Fixed possible memory leak in _PyTraceback_Add() and exception
...
loss in PyTraceBack_Here().
2016-10-18 13:26:25 +03:00
Serhiy Storchaka
04eb777279
Issue #23782 : Fixed possible memory leak in _PyTraceback_Add() and exception
...
loss in PyTraceBack_Here().
2016-10-18 13:23:18 +03:00
Victor Stinner
8f5dd35d8e
Merge 3.7: Issue #28409 : regrtest: fix the parser of command line arguments.
2016-10-17 18:15:07 +02:00
Victor Stinner
a506a93b0b
Merge 3.6: Issue #28409 : regrtest: fix the parser of command line arguments.
2016-10-17 18:13:46 +02:00
Victor Stinner
1f6b69b749
Issue #28409 : regrtest: fix the parser of command line arguments.
2016-10-17 18:11:03 +02:00
Jason R. Coombs
22dd73a74b
Add case-sensitive file comparison for detecting/adding standard default files.
2016-10-14 15:39:01 -04:00
Guido van Rossum
cf418eabc0
Issue #24452 : Make webbrowser support Chrome on Mac OS X (merge 3.6->3.7)
2016-10-13 11:25:17 -07:00
Guido van Rossum
2ccdb5a4f1
Issue #24452 : Make webbrowser support Chrome on Mac OS X (merge 3.5->3.6)
2016-10-13 11:22:52 -07:00
Guido van Rossum
b1a751b5c2
Issue #24452 : Make webbrowser support Chrome on Mac OS X.
2016-10-13 11:17:27 -07:00
Xavier de Gaye
b4474848de
Issue #20766 : Merge with 3.6.
2016-10-12 20:18:33 +02:00
Xavier de Gaye
291417da7f
Issue #20766 : Merge with 3.5.
2016-10-12 20:16:05 +02:00
Xavier de Gaye
10e54aeaa2
Issue #20766 : Fix references leaked by pdb in the handling of SIGINT handlers.
2016-10-12 20:13:24 +02:00
Zachary Ware
8d794d66bd
Issue #28208 : Merge with 3.6
2016-10-10 22:37:29 -05:00
Zachary Ware
547d156c2c
Issue #28208 : Update Windows build to use SQLite 3.14.2.0
2016-10-10 22:36:21 -05:00
Zachary Ware
0732fd62d9
Issue #28248 : Merge with 3.6
2016-10-10 22:28:39 -05:00
Zachary Ware
c08bb6c63a
Issue #28248 : Merge with 3.5
2016-10-10 22:22:27 -05:00
Zachary Ware
fd28cbef4b
Issue #28248 : Merge with 3.4
2016-10-10 22:11:12 -05:00
Zachary Ware
068534ab03
Issue #28248 : Update Windows build to use OpenSSL 1.0.2j
2016-10-10 21:57:20 -05:00
Ned Deily
a4f45bb0c4
Start 3.6.0b3
2016-10-10 20:46:40 -04:00
Ned Deily
7e16af499b
Version bump for 3.6.0b2
2016-10-10 16:09:08 -04:00
Steve Dower
15d3d8bd14
Issue #28402 : Adds signed catalog files for stdlib on Windows.
2016-10-09 20:19:21 -07:00
Steve Dower
425ec150ea
Issue #28402 : Adds signed catalog files for stdlib on Windows.
2016-10-09 20:18:52 -07:00
Martin Panter
dd21cc3516
Issue #28394 : Merge typo fixes from 3.6
2016-10-10 00:42:50 +00:00
Martin Panter
fd1df3fef2
Issue #28394 : Merge typo fixes from 3.5 into 3.6
2016-10-10 00:28:38 +00:00
Martin Panter
d2a584b47b
Issue #28394 : Spelling and typo fixes in code comments and changelog
...
Includes patch by Ville Skyttä.
2016-10-10 00:24:34 +00:00
Serhiy Storchaka
1aa85a9eea
Merge from 3.6.
2016-10-09 23:08:58 +03:00
Serhiy Storchaka
49f5cdde1a
Issue #28183 : Optimize and cleanup dict iteration.
2016-10-09 23:08:05 +03:00
Yury Selivanov
d4ea2ec38a
Merge 3.6 (issue #27972 )
2016-10-09 12:21:03 -04:00
Yury Selivanov
917c1c3ee1
Merge 3.5 (issue #27972 )
2016-10-09 12:20:44 -04:00
Yury Selivanov
4145c83806
Issue #27972 : Prohibit Tasks to await on themselves.
2016-10-09 12:19:12 -04:00
Yury Selivanov
cfa6b72a47
Merge 3.6 (issue #28399 )
2016-10-09 12:16:26 -04:00
Yury Selivanov
88e8aca78d
Merge 3.5 (issue #28399 )
2016-10-09 12:16:08 -04:00
Yury Selivanov
908d55dd7e
Issue #28399 : Remove UNIX socket from FS before binding.
...
Patch by Коренберг Марк.
2016-10-09 12:15:08 -04:00
INADA Naoki
0ad475e9b9
Fixed wrong issue number in NEWS
2016-10-09 14:54:12 +09:00
INADA Naoki
3b8c547489
Fixed wrong issue number in NEWS
2016-10-09 14:53:44 +09:00
INADA Naoki
ca2f0d06f1
Issue #26801 : Added C implementation of asyncio.Future.
...
Original patch by Yury Selivanov.
2016-10-09 14:51:36 +09:00
INADA Naoki
9e4e38ecd2
Issue #26801 : Added C implementation of asyncio.Future.
...
Original patch by Yury Selivanov.
2016-10-09 14:44:47 +09:00
Serhiy Storchaka
74a7e3b981
Merge from 3.6.
2016-10-08 22:48:07 +03:00
Serhiy Storchaka
21d9f10c94
Merge from 3.5.
2016-10-08 22:46:01 +03:00
Serhiy Storchaka
9c0e1f83af
Issue #28379 : Added sanity checks and tests for PyUnicode_CopyCharacters().
...
Patch by Xiang Zhang.
2016-10-08 22:45:38 +03:00
Steve Dower
2943784d7e
Merge with 3.6
2016-10-08 12:24:37 -07:00
Steve Dower
ea200dba82
Add proper credit to NEWS file.
2016-10-08 12:24:30 -07:00
Steve Dower
55d2ba74e2
Issue #28333 : Enables Unicode for ps1/ps2 and input() prompts. (Patch by Eryk Sun)
2016-10-08 12:18:28 -07:00
Steve Dower
3cd187b9f5
Issue #28333 : Enables Unicode for ps1/ps2 and input() prompts. (Patch by Eryk Sun)
2016-10-08 12:18:16 -07:00
Serhiy Storchaka
0ce1bf43bc
Merge from 3.6.
2016-10-08 22:07:45 +03:00
Serhiy Storchaka
c3215f530f
Merge from 3.5.
2016-10-08 22:06:52 +03:00
Serhiy Storchaka
48b1c3fcfc
Issue #28376 : The type of long range iterator is now registered as Iterator.
...
Patch by Oren Milman.
2016-10-08 22:04:12 +03:00
Serhiy Storchaka
df53392f0d
Issue #28376 : Creating instances of range_iterator by calling range_iterator
...
type now is disallowed. Calling iter() on range instance is the only way.
Patch by Oren Milman.
2016-10-08 22:01:18 +03:00
Serhiy Storchaka
aa078674e0
Merge with 3.6.
2016-10-08 21:52:41 +03:00
Serhiy Storchaka
c7f490c8b1
Issue #28376 : Creating instances of range_iterator by calling range_iterator
...
type now is deprecated. Patch by Oren Milman.
2016-10-08 21:50:45 +03:00
Serhiy Storchaka
639098c591
Merge from 3.5.
2016-10-08 21:45:07 +03:00
Serhiy Storchaka
44759bcf13
Issue #28376 : The constructor of range_iterator now checks that step is not 0.
...
Patch by Oren Milman.
2016-10-08 21:43:11 +03:00
Serhiy Storchaka
f2abc8f2c2
Issue #27998 : Fixed bytes path support in os.scandir() on Windows.
...
Patch by Eryk Sun.
2016-10-08 20:17:26 +03:00
Serhiy Storchaka
2674bc7229
Issue #27998 : Fixed bytes path support in os.scandir() on Windows.
...
Patch by Eryk Sun.
2016-10-08 20:16:57 +03:00
Serhiy Storchaka
9b02731af7
Issue #28317 : The disassembler now decodes FORMAT_VALUE argument.
2016-10-08 12:34:59 +03:00
Serhiy Storchaka
dd102f7af8
Issue #28317 : The disassembler now decodes FORMAT_VALUE argument.
2016-10-08 12:34:25 +03:00
Serhiy Storchaka
a94ed55dbd
Issue #26906 : Resolving special methods of uninitialized type now causes
...
implicit initialization of the type instead of a fail.
2016-10-08 12:28:25 +03:00
Serhiy Storchaka
56588b7055
Issue #26906 : Resolving special methods of uninitialized type now causes
...
implicit initialization of the type instead of a fail.
2016-10-08 12:26:25 +03:00
Serhiy Storchaka
8ef34600c7
Issue #26906 : Resolving special methods of uninitialized type now causes
...
implicit initialization of the type instead of a fail.
2016-10-08 12:24:09 +03:00
Serhiy Storchaka
52597d91e2
Issue #18287 : PyType_Ready() now checks that tp_name is not NULL.
...
Original patch by Niklas Koep.
2016-10-07 23:26:16 +03:00
Serhiy Storchaka
e45b7c09ec
Issue #18287 : PyType_Ready() now checks that tp_name is not NULL.
...
Original patch by Niklas Koep.
2016-10-07 23:25:46 +03:00
Serhiy Storchaka
de0574bdab
Issue #18287 : PyType_Ready() now checks that tp_name is not NULL.
...
Original patch by Niklas Koep.
2016-10-07 23:24:35 +03:00
Serhiy Storchaka
f068415c51
Issue #26293 : Fixed writing ZIP files that starts not from the start of the
...
file. Offsets in ZIP file now are relative to the start of the archive in
conforming to the specification.
2016-10-07 22:25:05 +03:00
Serhiy Storchaka
242c170f87
Issue #26293 : Fixed writing ZIP files that starts not from the start of the
...
file. Offsets in ZIP file now are relative to the start of the archive in
conforming to the specification.
2016-10-07 22:24:20 +03:00
Serhiy Storchaka
8793b21525
Issue #26293 : Fixed writing ZIP files that starts not from the start of the
...
file. Offsets in ZIP file now are relative to the start of the archive in
conforming to the specification.
2016-10-07 22:20:50 +03:00
Serhiy Storchaka
579de19228
Issue #24098 : Fixed possible crash when AST is changed in process of
...
compiling it.
2016-10-07 21:56:24 +03:00
Serhiy Storchaka
5e80855af3
Issue #24098 : Fixed possible crash when AST is changed in process of
...
compiling it.
2016-10-07 21:55:49 +03:00
Serhiy Storchaka
cf3806026b
Issue #24098 : Fixed possible crash when AST is changed in process of
...
compiling it.
2016-10-07 21:51:28 +03:00
Gregory P. Smith
7bd4afec86
Issue #28380 : unittest.mock Mock autospec functions now properly support
...
assert_called, assert_not_called, and assert_called_once.
2016-10-06 14:32:10 -07:00
Gregory P. Smith
ac5084b6c7
Fixes issue28380: unittest.mock Mock autospec functions now properly support
...
assert_called, assert_not_called, and assert_called_once.
2016-10-06 14:31:23 -07:00
Yury Selivanov
cb9424f643
Issue #27759 : Fix selectors incorrectly retain invalid file descriptors.
...
(Backported to 3.4 as this bug might be exploited to for DoS)
2016-10-06 14:03:03 -04:00
Ned Deily
0733720548
Fix vestigial spelling.
2016-10-06 10:51:29 -04:00
INADA Naoki
ecdd36ff88
Issue #28201 : Dict reduces possibility of 2nd conflict in hash table.
...
Do perturb shift after first conflict.
2016-10-06 15:22:28 +09:00
INADA Naoki
267941c675
Issue #28201 : Dict reduces possibility of 2nd conflict in hash table.
...
Do perturb shift after first conflict.
2016-10-06 15:19:07 +09:00
Benjamin Peterson
a1d58efc43
merge 3.6
2016-10-05 22:54:27 -07:00
Benjamin Peterson
87845bcb4d
merge 3.5
2016-10-05 22:54:19 -07:00
Benjamin Peterson
cd04db03de
mmap: do all internal arithmetic with Py_ssize_t while being very careful about overflow
2016-10-05 21:45:48 -07:00
Yury Selivanov
ddf9a24678
Merge 3.6 (issue #28372 )
2016-10-05 19:33:52 -04:00
Yury Selivanov
996dd4a666
Merge 3.5 (issue #28372 )
2016-10-05 19:33:36 -04:00
Yury Selivanov
8dc3e43839
Issue #28372 : Fix asyncio to support formatting of non-python coroutines
2016-10-05 19:32:49 -04:00
Yury Selivanov
2f298f71f3
Merge 3.6 (issue #28371 )
2016-10-05 18:29:33 -04:00
Yury Selivanov
d2c5fab7c6
Merge 3.5 (issue #28371 )
2016-10-05 18:29:04 -04:00
Yury Selivanov
0de3de6cbf
Issue #28371 : Deprecate passing asyncio.Handles to run_in_executor.
2016-10-05 18:28:09 -04:00
Yury Selivanov
3883f17f7c
Merge 3.6 (issue #28370 )
2016-10-05 18:04:48 -04:00
Yury Selivanov
139914a058
Merge 3.5 (issue #28370 )
2016-10-05 18:04:35 -04:00
Yury Selivanov
3e56ff0d08
Issue #28370 : Speedup asyncio.StreamReader.readexactly
...
Patch by Коренберг Марк.
2016-10-05 18:01:12 -04:00
Yury Selivanov
eb6cb20c1b
Merge 3.6 (issue #28369 )
2016-10-05 17:50:19 -04:00
Yury Selivanov
bb8eb92f46
Merge 3.5 (issue #28369 )
2016-10-05 17:49:54 -04:00
Yury Selivanov
5b8d4f97f8
Issue #28369 : Raise an error when transport's FD is used with add_reader
2016-10-05 17:48:59 -04:00
Yury Selivanov
fb9c5186b6
Merge 3.6 (issue #28368 )
2016-10-05 17:02:07 -04:00
Yury Selivanov
67ea61818e
Merge 3.5 (issue #28368 )
2016-10-05 17:01:01 -04:00
Yury Selivanov
9eb6c67776
Issue #28368 : Refuse monitoring processes if the child watcher has no loop attached.
...
Patch by Vincent Michel.
2016-10-05 16:57:12 -04:00
Berker Peksag
d7f47ed28c
Issue #28229 : Merge from 3.6
2016-10-04 20:41:56 +03:00
Berker Peksag
5f59ddddcd
Issue #28229 : lzma module now supports pathlib
2016-10-04 20:41:20 +03:00
Serhiy Storchaka
a854090c13
Issue #28321 : Fixed writing non-BMP characters with binary format in plistlib.
2016-10-04 20:08:59 +03:00
Serhiy Storchaka
db8d6265fa
Issue #28321 : Fixed writing non-BMP characters with binary format in plistlib.
2016-10-04 20:08:29 +03:00
Serhiy Storchaka
7338ebc4ba
Issue #28321 : Fixed writing non-BMP characters with binary format in plistlib.
2016-10-04 20:04:30 +03:00
Steven D'Aprano
fae2829c7a
Issue #27181 remove geometric_mean and defer for 3.7.
2016-10-05 03:24:45 +11:00
Serhiy Storchaka
7fd9f4b458
Merge heads
2016-10-04 18:23:55 +03:00
Serhiy Storchaka
a67e5cad1d
Issue #28350 : String constants with null character no longer interned.
2016-10-04 18:21:53 +03:00
Serhiy Storchaka
e81b0d335b
Issue #28350 : String constants with null character no longer interned.
2016-10-04 18:21:25 +03:00
Serhiy Storchaka
09f3d080fe
Issue #28350 : String constants with null character no longer interned.
2016-10-04 18:17:22 +03:00
Benjamin Peterson
b983b8de9d
merge 3.6 ( #26617 )
2016-10-04 00:00:35 -07:00
Benjamin Peterson
804480912c
merge 3.5 ( #26617 )
2016-10-04 00:00:23 -07:00
Benjamin Peterson
8f657c35b9
ensure gc tracking is off when invoking weakref callbacks ( closes #26617 )
2016-10-04 00:00:02 -07:00
Steve Dower
cc30fc72c6
Add myself to the ACKS file.
2016-10-03 11:16:17 -07:00
Steve Dower
4a8ff9ef60
Issue #28217 : Adds _testconsole module to test console input.
2016-10-03 09:12:42 -07:00
Steve Dower
312cef7452
Issue #28217 : Adds _testconsole module to test console input. Fixes some issues found by the tests.
2016-10-03 09:04:58 -07:00
Berker Peksag
f63f12b479
Issue #28225 : Merge from 3.6
2016-10-02 20:07:38 +03:00
Berker Peksag
8bdd4480c4
Issue #28225 : bz2 module now supports pathlib
...
Initial patch by Ethan Furman.
2016-10-02 20:07:06 +03:00
Berker Peksag
c8ce8434e0
Issue #28227 : Merge from 3.6
2016-10-02 13:49:05 +03:00
Berker Peksag
03020cfa97
Issue #28227 : gzip now supports pathlib
...
Patch by Ethan Furman.
2016-10-02 13:47:58 +03:00
Serhiy Storchaka
6a7d3480fc
Issue #28332 : Deprecated silent truncations in socket.htons and socket.ntohs.
...
Original patch by Oren Milman.
2016-10-02 12:34:40 +03:00
Serhiy Storchaka
2e84de3638
Issue #27358 : Optimized merging var-keyword arguments and improved error
...
message when pass a non-mapping as a var-keyword argument.
2016-10-02 11:07:29 +03:00
Serhiy Storchaka
e036ef8fa2
Issue #27358 : Optimized merging var-keyword arguments and improved error
...
message when pass a non-mapping as a var-keyword argument.
2016-10-02 11:06:43 +03:00
Serhiy Storchaka
775a0ea0da
Issue #28257 : Improved error message when pass a non-iterable as
...
a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
2016-10-02 10:34:46 +03:00
Serhiy Storchaka
7344285c19
Issue #28257 : Improved error message when pass a non-iterable as
...
a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
2016-10-02 10:33:46 +03:00
Serhiy Storchaka
18c5e8e86f
Issue #28322 : Fixed possible crashes when unpickle itertools objects from
...
incorrect pickle data. Based on patch by John Leitch.
2016-10-02 09:17:08 +03:00
Serhiy Storchaka
8f0f205649
Issue #28322 : Fixed possible crashes when unpickle itertools objects from
...
incorrect pickle data. Based on patch by John Leitch.
2016-10-02 09:13:14 +03:00
Serhiy Storchaka
85c3f268f4
Issue #28322 : Fixed possible crashes when unpickle itertools objects from
...
incorrect pickle data. Based on patch by John Leitch.
2016-10-02 08:34:53 +03:00
Zachary Ware
854adb1e01
Issue #21124 : Fix building _struct on Cygwin.
...
Patch by Masayuki Yamamoto.
2016-10-02 00:33:39 -05:00
Ned Deily
14b4b41cdc
Issue #28325 : Remove vestigal MacOS 9 macurl2path module and its tests.
2016-10-01 22:05:07 -04:00
Zachary Ware
3839d99b79
Issue #13756 : Fix building extensions modules on Cygwin
...
Patch by Roumen Petrov, based on original patch by Jason Tishler.
2016-10-01 16:15:09 -05:00
Zachary Ware
6a6967e827
Issue #21085 : add configure check for siginfo_t.si_band
...
Patch by Masayuki Yamamoto, reviewed and rebased by Erik Bray.
This is a first step on the long road toward resupporting Cygwin, which does
not provide siginfo_t.si_band.
2016-10-01 00:47:27 -05:00
Martin Panter
efd1bf4434
Issue #28275 : Merge bz2 fix from 3.6
2016-10-01 03:21:22 +00:00
Martin Panter
55c9239af6
Issue #28275 : Merge bz2 fix from 3.5 into 3.6
2016-10-01 03:11:04 +00:00
Martin Panter
38317d3318
Issue #28275 : Clean up to avoid use-after-free after bzip decompress failure
2016-10-01 02:45:17 +00:00
Berker Peksag
c4bd96cce2
Issue #28228 : Merge from 3.6
2016-10-01 05:02:22 +03:00
Berker Peksag
ef223a19f7
Issue #28228 : imghdr now supports pathlib
2016-10-01 05:01:54 +03:00
Berker Peksag
31f63da2e8
Issue #28226 : Merge from 3.6
2016-10-01 00:54:55 +03:00
Berker Peksag
812a2b65af
Issue #28226 : compileall now supports pathlib
2016-10-01 00:54:18 +03:00
Terry Jan Reedy
36925001e6
Merge with 3.6
2016-09-30 15:39:22 -04:00
Terry Jan Reedy
b4b55eb582
Merge with 3.5
2016-09-30 15:39:05 -04:00
Terry Jan Reedy
30eee4deec
Issue #28815 : Change '?' to '<module>' in some doc examples.
...
Patch by Mariatta Wijaya.
2016-09-30 15:38:48 -04:00
Serhiy Storchaka
be9cddb302
Issue #27942 : String constants now interned recursively in tuples and frozensets.
2016-09-30 10:36:15 +03:00
Serhiy Storchaka
3738c2d8ae
Issue #27942 : String constants now interned recursively in tuples and frozensets.
2016-09-30 10:23:01 +03:00
Serhiy Storchaka
00a0fc1144
Issue #27942 : String constants now interned recursively in tuples and frozensets.
2016-09-30 10:07:26 +03:00
Victor Stinner
701fb4ba9a
Merge 3.6
2016-09-29 22:14:02 +02:00
Victor Stinner
84d8baadbe
Fix xml.etree.ElementTree.Element.getiterator()
...
Issue #28314 : Fix function declaration (C flags) for the getiterator() method
of xml.etree.ElementTree.Element.
2016-09-29 22:12:35 +02:00
Serhiy Storchaka
cf6d2d90c5
Issue #28258 : Fixed build with Estonian locale (python-config and distclean
...
targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
2016-09-29 20:39:45 +03:00
Serhiy Storchaka
80bc7dc59e
Issue #28258 : Fixed build with Estonian locale (python-config and distclean
...
targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
2016-09-29 20:29:23 +03:00
Benjamin Peterson
095e32bfc5
merge 3.5 ( #1703178 )
2016-09-28 23:17:04 -07:00
Benjamin Peterson
4254e8c548
build_ext: correctly parse the link_objects user option ( closes #1703178 )
...
Patch by Valerie Lambert.
2016-09-28 23:13:58 -07:00
Terry Jan Reedy
6c58c34dd3
IDLE NEWS item and ack.
2016-09-28 21:55:55 -04:00
Alexander Belopolsky
3b7cfd4ffe
Issue #28148 : Added a NEWS entry.
2016-09-28 17:39:29 -04:00
Alexander Belopolsky
3e7a3cb903
Issue #28148 : Stop using localtime() and gmtime() in the time module.
...
Introduced platform independent _PyTime_localtime API that is similar
to POSIX localtime_r, but available on all platforms. Patch by Ed
Schouten.
2016-09-28 17:31:35 -04:00
Serhiy Storchaka
e9e44484a5
Issue #28289 : ImportError.__init__ now resets not specified attributes.
2016-09-28 07:53:32 +03:00
Serhiy Storchaka
2e8c939e3d
Issue #28258 : Fixed build with Estonian locale (python-config and distclean
...
targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
2016-09-29 20:46:08 +03:00
Benjamin Peterson
6224b67865
merge 3.6 ( #1703178 )
2016-09-28 23:17:12 -07:00
Alexander Belopolsky
dc336f28db
Merged from 3.6
2016-09-28 17:40:25 -04:00
Alexander Belopolsky
9f518cd01a
Merged from 3.6
2016-09-28 17:32:31 -04:00
Alexander Belopolsky
1dc7aa4d2e
Issue #28253 : Added a NEWS entry.
2016-09-27 20:34:17 -04:00
Alexander Belopolsky
0c6974d934
Issue #28253 : Added a NEWS entry.
2016-09-27 20:34:11 -04:00
Alexander Belopolsky
f2a913e53b
Issue #28253 : Added a NEWS entry.
2016-09-27 20:33:58 -04:00
Serhiy Storchaka
a6f035ee8d
Issue #21578 : Fixed misleading error message when ImportError called with
...
invalid keyword args.
2016-09-27 20:51:27 +03:00
Serhiy Storchaka
389ef9dcda
Issue #21578 : Fixed misleading error message when ImportError called with
...
invalid keyword args.
2016-09-27 20:51:04 +03:00
Serhiy Storchaka
47dee11ba7
Issue #21578 : Fixed misleading error message when ImportError called with
...
invalid keyword args.
2016-09-27 20:45:35 +03:00
Serhiy Storchaka
be43f2019f
Issue #28275 : Fixed possible use adter free in LZMADecompressor.decompress().
...
Original patch by John Leitch.
2016-09-27 20:24:19 +03:00
Serhiy Storchaka
a12e7842a5
Issue #28275 : Fixed possible use adter free in LZMADecompressor.decompress().
...
Original patch by John Leitch.
2016-09-27 20:23:41 +03:00
Serhiy Storchaka
c0b7037d4f
Issue #28275 : Fixed possible use adter free in LZMADecompressor.decompress().
...
Original patch by John Leitch.
2016-09-27 20:14:26 +03:00
Raymond Hettinger
b87e8f7d0a
merge
2016-09-26 21:46:26 -07:00
Raymond Hettinger
9016f2864a
Issue #18844 : Make the number of selections a keyword-only argument for random.choices().
2016-09-26 21:45:57 -07:00
Serhiy Storchaka
9204a20452
Issue #27897 : Fixed possible crash in sqlite3.Connection.create_collation()
...
if pass invalid string-like object as a name. Patch by Xiang Zhang.
2016-09-27 00:16:25 +03:00
Serhiy Storchaka
22805ca54e
Issue #27897 : Fixed possible crash in sqlite3.Connection.create_collation()
...
if pass invalid string-like object as a name. Patch by Xiang Zhang.
2016-09-27 00:14:24 +03:00
Serhiy Storchaka
407ac47690
Issue #27897 : Fixed possible crash in sqlite3.Connection.create_collation()
...
if pass invalid string-like object as a name. Patch by Xiang Zhang.
2016-09-27 00:10:03 +03:00
Berker Peksag
37dd202f14
Issue #18893 : Merge from 3.6
2016-09-26 23:07:58 +03:00
Berker Peksag
11179b2ed7
Issue #18893 : Merge from 3.5
2016-09-26 23:07:38 +03:00
Berker Peksag
8b6b50814e
Issue #18893 : Fix invalid exception handling in Lib/ctypes/macholib/dyld.py
...
Patch by Madison May.
2016-09-26 23:06:32 +03:00
Serhiy Storchaka
06c6eeec51
Issue #27611 : Fixed support of default root window in the tkinter.tix module.
...
Added the master parameter in the DisplayStyle constructor.
2016-09-25 16:54:17 +03:00
Serhiy Storchaka
1aca3899fb
Issue #27611 : Fixed support of default root window in the tkinter.tix module.
...
Added the master parameter in the DisplayStyle constructor.
2016-09-25 16:52:13 +03:00
Serhiy Storchaka
e6f0199c19
Issue #27611 : Fixed support of default root window in the tkinter.tix module.
2016-09-25 16:46:10 +03:00
Mark Dickinson
3992d6e5e1
Issue #28203 : Merge from 3.6
2016-09-24 15:29:07 +01:00
Mark Dickinson
6997946ec4
Issue #28203 : Merge from 3.5
2016-09-24 15:28:34 +01:00
Mark Dickinson
613f8e513c
Issue #28203 : Fix incorrect type in error message from complex(1.0, {2:3}). Patch by Soumya Sharma.
2016-09-24 15:26:36 +01:00
Steve Dower
3e7d93dc70
Issue #28251 : Improvements to help manuals on Windows.
2016-09-22 17:11:53 -07:00
Steve Dower
765285337a
Issue #28251 : Improvements to help manuals on Windows.
2016-09-22 17:09:56 -07:00
Steve Dower
fb4a96a58f
Issue #28251 : Improvements to help manuals on Windows.
2016-09-22 17:07:56 -07:00
Serhiy Storchaka
f02f93ecca
Issue #28086 : Single var-positional argument of tuple subtype was passed
...
unscathed to the C-defined function. Now it is converted to exact tuple.
2016-09-22 19:43:38 +03:00
Serhiy Storchaka
63dc548109
Issue #28086 : Single var-positional argument of tuple subtype was passed
...
unscathed to the C-defined function. Now it is converted to exact tuple.
2016-09-22 19:41:20 +03:00
Martin Panter
2e610df572
Merge socketserver fixes from 3.6
2016-09-22 10:34:50 +00:00
Martin Panter
21efc0bbf8
Issue #27348 : Merge exception formatting fix from 3.6
2016-09-22 10:34:25 +00:00
Martin Panter
3217b1243e
Merge socketserver fixes from 3.5 into 3.6
2016-09-22 10:33:51 +00:00
Martin Panter
f3b0639417
Issue #27348 : Merge exception formatting fix from 3.5 into 3.6
2016-09-22 10:33:21 +00:00
Martin Panter
463ef2b3cf
Fix references to Python 3’s socketserver (lowercase) module
2016-09-22 09:37:56 +00:00
Martin Panter
bb8b1cb6af
Issue #27348 : Restore “Exception: None” formatting in traceback module
...
This fixes a regression caused by revision 73afda5a4e4c. Also reverts the
decimal test workaround added in revision 5f3dd0a2b1ab.
Remove test_without_exception(). According to revision ecaafc32c500, this was
added in Python 2 so that print_exc() would output “None” when called with no
exception set. However print_exc() never worked like this in Python 3, and
the use case is not documented.
Restore TracebackCases class name (instead of SyntaxTracebackCases), because
the class also tests other exceptions.
2016-09-22 09:37:39 +00:00
Berker Peksag
c96629953b
Issue #25651 : Merge from 3.6
2016-09-21 19:35:54 +03:00
Berker Peksag
b3d4e7fe71
Issue #25651 : Merge from 3.5
2016-09-21 19:35:28 +03:00
Berker Peksag
16ea19fc66
Issue #25651 : Allow falsy values to be used for msg parameter of subTest()
2016-09-21 19:34:15 +03:00
Serhiy Storchaka
cf4fb40b9d
Issue #28214 : Now __set_name__ is looked up on the class instead of the
...
instance.
2016-09-21 15:55:49 +03:00
Serhiy Storchaka
afd02a439f
Issue #28214 : Now __set_name__ is looked up on the class instead of the
...
instance.
2016-09-21 15:54:59 +03:00
Victor Stinner
b6f3c0dca1
Merge 3.6 (os.getrandom)
2016-09-20 23:01:22 +02:00
Victor Stinner
ec2319c46d
Fix memleak in os.getrandom()
...
Issue #27778 : Fix a memory leak in os.getrandom() when the getrandom() is
interrupted by a signal and a signal handler raises a Python exception.
Modify also os_getrandom_impl() to avoid the temporary buffer, use directly a
Python bytes object.
2016-09-20 23:00:59 +02:00
Victor Stinner
6b405d2f2b
Merge 3.6
2016-09-20 22:50:11 +02:00
Victor Stinner
75024c6589
(Merge 3.5) Catch EPERM error in py_getrandom()
...
Issue #27955 : Fallback on reading /dev/urandom device when the getrandom()
syscall fails with EPERM, for example when blocked by SECCOMP.
2016-09-20 22:49:52 +02:00
Victor Stinner
6d8bc46cc0
Catch EPERM error in py_getrandom()
...
Issue #27955 : Fallback on reading /dev/urandom device when the getrandom()
syscall fails with EPERM, for example when blocked by SECCOMP.
2016-09-20 22:46:02 +02:00
Benjamin Peterson
adaa56ac35
merge 3.6 ( closes #28184 )
2016-09-19 22:17:44 -07:00
Benjamin Peterson
e2e792d98f
merge 3.5 ( #28184 )
2016-09-19 22:17:16 -07:00
Benjamin Peterson
918aa89483
remove trailing whitespace
2016-09-19 22:16:36 -07:00
Victor Stinner
822675b82e
Merge 3.6
2016-09-19 11:56:06 +02:00
Victor Stinner
26c03bd7d5
Fix memory leak in path_converter()
...
Issue #28200 : Replace PyUnicode_AsWideCharString() with
PyUnicode_AsUnicodeAndSize().
2016-09-19 11:55:44 +02:00
Raymond Hettinger
7eb1becc25
Issue #28189 : dictitems_contains no longer swallows compare errors.
...
(Patch by Xiang Zhang)
2016-09-18 21:45:11 -07:00
Berker Peksag
76ab4164e5
Issue #25400 : Merge from 3.6
2016-09-18 20:18:35 +03:00
Berker Peksag
9a7bbb2e3f
Issue #25400 : RobotFileParser now correctly returns default values for crawl_delay and request_rate
...
Initial patch by Peter Wirtz.
2016-09-18 20:17:58 +03:00
Christian Heimes
aa630e051b
Issue #26661 : setup.py now detects system libffi with multiarch wrapper.
2016-09-18 14:35:39 +02:00
Christian Heimes
85c98bf968
Issue #26661 : setup.py now detects system libffi with multiarch wrapper.
2016-09-18 14:34:13 +02:00
Christian Heimes
96b2dd5997
Issue #26661 : setup.py now detects system libffi with multiarch wrapper.
2016-09-18 14:33:30 +02:00
Steve Dower
5f9c3926cc
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:28:45 -07:00
Steve Dower
74f4af7ac3
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:27:48 -07:00
Steve Dower
1ec262be80
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:25:42 -07:00
Steve Dower
f4fc1d12ec
Issue #28110 : launcher.msi has different product codes between 32-bit and 64-bit
2016-09-17 16:14:14 -07:00
Steve Dower
7358efa50b
Issue #28110 : launcher.msi has different product codes between 32-bit and 64-bit
2016-09-17 16:13:59 -07:00
Steve Dower
1c75c18ed2
Issue #28110 : launcher.msi has different product codes between 32-bit and 64-bit
2016-09-17 16:12:55 -07:00
Steve Dower
b401d723ac
Issue #28161 : Opening CON for write access fails
...
Issue #28162 : WindowsConsoleIO readall() fails if first line starts with Ctrl+Z
Issue #28163 : WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle
Issue #28164 : _PyIO_get_console_type fails for various paths
2016-09-17 13:51:32 -07:00
Steve Dower
27f26ad962
Issue #28161 : Opening CON for write access fails
...
Issue #28162 : WindowsConsoleIO readall() fails if first line starts with Ctrl+Z
Issue #28163 : WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle
Issue #28164 : _PyIO_get_console_type fails for various paths
2016-09-17 13:51:23 -07:00
Berker Peksag
ce4adc30de
Issue #26384 : Merge from 3.6
2016-09-17 23:23:35 +03:00
Berker Peksag
5d625cff07
Issue #26384 : Merge from 3.5
2016-09-17 23:23:13 +03:00
Berker Peksag
bcfb35f80d
Issue #26384 : Fix UnboundLocalError in socket._sendfile_use_sendfile
2016-09-17 23:22:06 +03:00
Steve Dower
64566db065
Merge with 3.6
2016-09-17 12:57:03 -07:00