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
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
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
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
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
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
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
467ab194fc
Issue #28410 : Added _PyErr_FormatFromCause() -- the helper for raising
...
new exception with setting current exception as __cause__.
_PyErr_FormatFromCause(exception, format, args...) is equivalent to Python
raise exception(format % args) from sys.exc_info()[1]
2016-10-21 17:09:17 +03:00
Ned Deily
f536af1fcd
Issue #24381 : Avoid unused function warning when building bundled macOS libffi.
...
Patch by Vajrasky Kok.
2016-10-20 15:38:27 -04:00
Yury Selivanov
53478f8c6d
Issue #28493 : Fix typos in _asynciomodule.c
...
Thanks to Stéphane Wirtel!
2016-10-20 16:33:19 -04:00
Yury Selivanov
a4b884f900
Issue #28492 : Fix how StopIteration is raised in _asyncio.Future
2016-10-20 15:54:20 -04:00
Ned Deily
82919ec44f
Issue #24381 : merge from 3.5
2016-10-20 15:40:22 -04: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
Yury Selivanov
fa22b29960
Issue #28471 : Fix crash (GIL state related) in socket.setblocking
2016-10-18 16:03:52 -04:00
INADA Naoki
c411a7d821
Issue #28452 : Remove _asyncio._init_module function
2016-10-18 11:48:14 +09:00
INADA Naoki
9f2ce25481
Issue #28428 : Rename _futures module to _asyncio.
...
It will have more speedup functions or classes other than asyncio.Future.
2016-10-15 15:39:19 +09:00
doko@ubuntu.com
95b826d050
- Modules/Setup.dist: Add the _blake2 module
2016-10-11 08:06:26 +02:00
INADA Naoki
1be427bbf1
Issue #28405 : Fix compile error for _futuresmodule.c on Cygwin.
...
Patch by Masayuki Yamamoto.
2016-10-11 02:12:34 +09:00
Martin Panter
b1321fba53
Issue #28394 : More typo fixes for 3.6+
2016-10-10 00:38:21 +00: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
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
c6f9b2b7f5
Issue #28162 : Fixes Ctrl+Z handling in console readall()
2016-10-08 12:37:33 -07: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
Benjamin Peterson
e4c222c040
merge 3.5
2016-10-05 23:32:15 -07:00
Benjamin Peterson
8f1cdc65ee
ensure read size is initialized
2016-10-05 23:32:09 -07:00
Benjamin Peterson
43441c77b5
merge 3.5
2016-10-05 23:29:16 -07:00
Benjamin Peterson
3776836f67
do not leak buffer if mmap is not writable
2016-10-05 23:29:07 -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
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
Serhiy Storchaka
b3648576cd
Issue #28295 : Fixed the documentation and added tests for PyUnicode_AsUCS4().
...
Original patch by Xiang Zhang.
2016-10-02 21:30:35 +03:00
Serhiy Storchaka
cc164232aa
Issue #28295 : Fixed the documentation and added tests for PyUnicode_AsUCS4().
...
Original patch by Xiang Zhang.
2016-10-02 21:29:26 +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
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
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
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
9574e0adf2
Issue #20947 : Fixed a gcc warning with -Wstrict-overflow.
2016-09-27 22:04:45 +03:00
Serhiy Storchaka
5ae4f49f4a
Issue #20947 : Fixed a gcc warning with -Wstrict-overflow.
2016-09-27 22:03:51 +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
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