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
9 years ago
Christian Heimes
a5d0765990
Finish GC code for SSLSession and increase test coverage
9 years ago
Christian Heimes
3cb091e576
Increase buffer for readlink() in case OS will support longer names one day.
9 years ago
Christian Heimes
2f366cab48
Add an extra byte for null in case we ever get very long unicode names.
9 years ago
Christian Heimes
b00e00c339
Don't define PY_WITH_KECCAK
9 years ago
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.
9 years ago
Benjamin Peterson
8ac46c972f
revert expat changes
9 years ago
Victor Stinner
26c03bd7d5
Fix memory leak in path_converter()
Issue #28200 : Replace PyUnicode_AsWideCharString() with
PyUnicode_AsUnicodeAndSize().
9 years ago