Serhiy Storchaka
0bcd89b859
Issue #28549 : Fixed segfault in curses's addch() with ncurses6.
9 years ago
Xavier de Gaye
84968b74c8
Issue #28444 : Fix missing extensions modules when cross compiling.
9 years ago
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.
9 years ago
Yury Selivanov
684ef2c888
Issue #28544 : Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*`
9 years ago
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?).
9 years ago
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).
9 years ago
Serhiy Storchaka
3ec5f421c5
Fixed possible NULL decrefing.
9 years ago
Serhiy Storchaka
b29cee40ee
Issue #28526 : Use PyUnicode_AsEncodedString() instead of
PyUnicode_AsEncodedObject() in _curese to ensure that the result
is a bytes object.
9 years ago
INADA Naoki
74c17539f2
Issue #28430 : Fix iterator of C implemented asyncio.Future doesn't
accept non-None value is passed to it.send(val).
9 years ago
Serhiy Storchaka
f8d7d41507
Issue #28511 : Use the "U" format instead of "O!" in PyArg_Parse*.
9 years ago
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]
9 years ago
Martin Panter
ccb2c0e310
Issue #23214 : Implement optional BufferedReader, BytesIO read1() argument
9 years ago
Yury Selivanov
53478f8c6d
Issue #28493 : Fix typos in _asynciomodule.c
Thanks to Stéphane Wirtel!
9 years ago
Yury Selivanov
a4b884f900
Issue #28492 : Fix how StopIteration is raised in _asyncio.Future
9 years ago
Ned Deily
f536af1fcd
Issue #24381 : Avoid unused function warning when building bundled macOS libffi.
Patch by Vajrasky Kok.
9 years ago
Martin Panter
fa27d5f229
Issue #28480 : Avoid label at end of compound statement --without-threads
Based on patch by Masayuki Yamamoto.
9 years ago
Victor Stinner
7a6dbb71b2
_csv: use _PyLong_AsInt()
9 years ago
Yury Selivanov
fa22b29960
Issue #28471 : Fix crash (GIL state related) in socket.setblocking
9 years ago
Victor Stinner
bf9655854b
Issue #28256 : Cleanup _math.c
Only define fallback implementations when needed. It avoids producing deadcode
when the system provides required math functions.
9 years ago
INADA Naoki
c411a7d821
Issue #28452 : Remove _asyncio._init_module function
9 years ago
INADA Naoki
9f2ce25481
Issue #28428 : Rename _futures module to _asyncio.
It will have more speedup functions or classes other than asyncio.Future.
9 years ago
doko@ubuntu.com
95b826d050
- Modules/Setup.dist: Add the _blake2 module
9 years ago
doko@ubuntu.com
43d3032384
- Modules/Setup.dist: Add the _blake2 module
9 years ago
INADA Naoki
1be427bbf1
Issue #28405 : Fix compile error for _futuresmodule.c on Cygwin.
Patch by Masayuki Yamamoto.
9 years ago
Martin Panter
b1321fba53
Issue #28394 : More typo fixes for 3.6+
9 years ago
Serhiy Storchaka
22d60d62e6
Issue #28379 : Removed redundant check.
Patch by Xiang Zhang.
9 years ago
INADA Naoki
9e4e38ecd2
Issue #26801 : Added C implementation of asyncio.Future.
Original patch by Yury Selivanov.
9 years ago
Serhiy Storchaka
9c0e1f83af
Issue #28379 : Added sanity checks and tests for PyUnicode_CopyCharacters().
Patch by Xiang Zhang.
9 years ago
Steve Dower
c6f9b2b7f5
Issue #28162 : Fixes Ctrl+Z handling in console readall()
9 years ago
Serhiy Storchaka
2674bc7229
Issue #27998 : Fixed bytes path support in os.scandir() on Windows.
Patch by Eryk Sun.
9 years ago
Benjamin Peterson
8f1cdc65ee
ensure read size is initialized
9 years ago
Benjamin Peterson
3776836f67
do not leak buffer if mmap is not writable
9 years ago
Benjamin Peterson
cd04db03de
mmap: do all internal arithmetic with Py_ssize_t while being very careful about overflow
9 years ago
Zachary Ware
99f11b48cd
Closes #21124 , #28337 : Call PyType_Ready on unpackiter_type.
Patch by Masayuki Yamamoto.
9 years ago
Steve Dower
312cef7452
Issue #28217 : Adds _testconsole module to test console input. Fixes some issues found by the tests.
9 years ago
Serhiy Storchaka
cc164232aa
Issue #28295 : Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
9 years ago
Serhiy Storchaka
6a7d3480fc
Issue #28332 : Deprecated silent truncations in socket.htons and socket.ntohs.
Original patch by Oren Milman.
9 years ago
Serhiy Storchaka
85c3f268f4
Issue #28322 : Fixed possible crashes when unpickle itertools objects from
incorrect pickle data. Based on patch by John Leitch.
9 years ago
Zachary Ware
854adb1e01
Issue #21124 : Fix building _struct on Cygwin.
Patch by Masayuki Yamamoto.
9 years ago
Zachary Ware
3839d99b79
Issue #13756 : Fix building extensions modules on Cygwin
Patch by Roumen Petrov, based on original patch by Jason Tishler.
9 years ago
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.
9 years ago
Martin Panter
38317d3318
Issue #28275 : Clean up to avoid use-after-free after bzip decompress failure
9 years ago
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.
9 years ago
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.
9 years ago
Serhiy Storchaka
5ae4f49f4a
Issue #20947 : Fixed a gcc warning with -Wstrict-overflow.
9 years ago
Serhiy Storchaka
c0b7037d4f
Issue #28275 : Fixed possible use adter free in LZMADecompressor.decompress().
Original patch by John Leitch.
9 years ago
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.
9 years ago
Berker Peksag
e2197d1312
Issue #20100 : Simplify newPyEpoll_Object()
EPOLL_CLOEXEC is the only value that can be passed
to epoll_create1() and we are passing EPOLL_CLOEXEC
unconditionally since Python 3.4.
9 years ago
Christian Heimes
9df89d06a0
Issue #28277 : remove linefeed character from iomodule.h. Patch by Michael Felt
9 years ago
Christian Heimes
1a63b9f288
Typo
10 years ago