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
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
85c3f268f4
Issue #28322 : Fixed possible crashes when unpickle itertools objects from
incorrect pickle data. Based on patch by John Leitch.
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
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
Benjamin Peterson
ac965ca16c
stop using Py_LL and Py_ULL
9 years ago
Berker Peksag
bf3c1c3235
Issue #28075 : Fix test_access_denied in Python 3.5
I forgot there two variations of os.stat() in Python 3.5.
9 years ago
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
9 years ago
Steve Dower
313523ce2d
Issue #28192 : Don't import readline in isolated mode
9 years ago
Berker Peksag
0b4dc4846b
Issue #28075 : Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat()
Patch by Eryk Sun.
9 years ago
Martin Panter
6d57fe1c23
Issue #28139 : Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
9 years ago
Martin Panter
2dc77f0e19
Issue #28145 : Spelling fixes
10 years ago
Berker Peksag
3940499ca8
Issue #28156 : Export os.getpid() conditionally
Patch by Ed Schouten.
10 years ago
Berker Peksag
8181646931
Issue #28114 : Fix a crash in parse_envlist() when env contains byte strings
Patch by Eryk Sun.
10 years ago
Benjamin Peterson
6775231597
Unicode 9.0.0
Not completely mechanical since support for East Asian Width changes—emoji
codepoints became Wide—had to be added to unicodedata.
10 years ago
Berker Peksag
7ec64562b2
Issue #28153 : Make kqueue()'s event filters optional
Patch by Ed Schouten.
10 years ago
Serhiy Storchaka
e6265e92bf
Issue #27599 : Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
10 years ago
Christian Heimes
7ce201322e
Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()
10 years ago
Benjamin Peterson
37098cd584
more granular configure checks for clock_* functions ( closes #28081 )
10 years ago
Berker Peksag
d751040b1a
Issue #26171 : Prevent buffer overflow in get_data
Backport of 01ddd608b85c.
10 years ago
Berker Peksag
4aa74c429c
Issue #28131 : Fix a regression in zipimport's compile_source()
zipimport should use the same optimization level as the interpreter.
10 years ago
Christian Heimes
f6365e3816
Issue #28188 : Use PyMem_Calloc() to get rid of a type-limits warning and an extra memset() call in _ssl.c.
10 years ago
Christian Heimes
f051e43b22
Issue #28126 : Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy().
10 years ago
Christian Heimes
faf2cea1fd
Fix NULL check in sock_sendmsg_iovec. CID 1372885
10 years ago
Victor Stinner
410b9887e1
Issue #27866 : Fix refleak in cipher_to_dict()
10 years ago
Victor Stinner
52d61e485e
socket: Fix memory leak in sendmsg() and sendmsg_afalg()
Issue #27744 :
* Release msg.msg_iov memory block.
* Release memory on PyMem_Malloc(controllen) failure
10 years ago
Victor Stinner
288b5bf624
Cleanup socketmodule.c
Issue #27744 :
* PEP 7: add {...} around if blocks
* assign variables and then check their value in if() to make the code easier
to read and to debug.
10 years ago
Raymond Hettinger
88057171f0
Revert part of 3471a3515827 that caused a performance regression
10 years ago
Berker Peksag
59da4b324f
Issue #28037 : Use sqlite3_get_autocommit() instead of setting Connection->inTransaction manually
Patch adapted from 9b79188edb
10 years ago
Steve Dower
654a7bdf57
Adds missing assert suppression.
10 years ago
Alexander Belopolsky
18f3a9b93c
Closes #25283 : Make tm_gmtoff and tm_zone available on all platforms.
10 years ago
Christian Heimes
5fe668c672
Issue #28085 : Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSLContext
10 years ago
Serhiy Storchaka
ec406fed16
Issue #27810 : Regenerate Argument Clinic.
10 years ago