summaryrefslogtreecommitdiff
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #29444: Fixed out-of-bounds buffer access in the group() method ofSerhiy Storchaka2017-02-041-2/+7
| | | | the match object. Based on patch by WGH.
* gc types needs to be allocated as such (closes #29398)Benjamin Peterson2017-01-311-1/+1
|
* - Issue #29169: Update zlib to 1.2.10.doko2017-01-3128-1176/+2105
|
* generate spaces instead of tabs into config.cBenjamin Peterson2017-01-161-1/+1
|
* Fix grammar, typos and markup in documentation and code commentsMartin Panter2017-01-142-2/+2
| | | | | | * Indent versionchanged at method level, not class level * Mark up ``--help`` to avoid generating an en dash * Use forward slash in Unix command line with a dollar sign ($) prompt
* Py_SIZE() was misused for dict.Serhiy Storchaka2017-01-131-1/+1
|
* Issue #28969: Fixed race condition in C implementation of functools.lru_cache.Serhiy Storchaka2017-01-121-22/+36
| | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments.
* Issue #28701: Revert part of 5bdc8e1a50c8 for the following reasons:Stefan Krah2017-01-091-7/+7
| | | | | | - There was no real problem to begin with. - The hypothetical problem has been fixed by 5bdc8e1a50c8.
* Issue #29190: Fixed possible errors in comparing strings in the pickle module.Serhiy Storchaka2017-01-091-12/+6
|
* Fixed possible reference leaks in the _json module.Serhiy Storchaka2017-01-031-4/+9
|
* Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-272-1/+71
| | | | WeakValueDictionary when collecting from another thread.
* Issue #29004: Document binascii.crc_hqx() implements CRC-CCITTMartin Panter2016-12-242-4/+4
|
* Issue #28871: Fixed a crash when deallocate deep ElementTree.Serhiy Storchaka2016-12-211-0/+2
|
* Issue #28147: Fix a memory leak in split-table dictionariesINADA Naoki2016-12-201-0/+10
| | | | setattr() must not convert combined table into split table.
* Issue #20191: Fixed a crash in resource.prlimit() when pass a sequence thatSerhiy Storchaka2016-12-191-33/+31
| | | | doesn't own its elements as limits.
* Change order of io.UnsupportedOperation base classes.Serhiy Storchaka2016-12-071-1/+1
| | | | This makes tests passing after changes by issue #5322.
* Issue #25659: Change assert to TypeError in from_buffer/_copy()Martin Panter2016-11-201-3/+9
| | | | Based on suggestion by Eryk Sun.
* Issue #10656: Fix out-of-tree building on AIXMartin Panter2016-11-201-0/+1
| | | | | The ld_so_aix script and python.exp file are created in the build directory. Patch by Tristan Carel and Michael Haubenwallner.
* Issue #28715: Added error checks for PyUnicode_AsUTF8().Serhiy Storchaka2016-11-203-7/+11
|
* Issue #28732: Raise ValueError when argv[0] is empty.Steve Dower2016-11-191-0/+9
|
* Issue #28732: Fix crash in os.spawnv() with no elements in argsSteve Dower2016-11-191-0/+16
| | | | Prevents crashes in some other posixmodule.c functions
* Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵Serhiy Storchaka2016-11-168-37/+36
| | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
* Issue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPATMartin Panter2016-11-141-1/+3
| | | | Patch by Matthieu S.
* Issue #19398: Extra slash no longer added to sys.path components in case ofSerhiy Storchaka2016-11-111-1/+4
| | | | | empty compile-time PYTHONPATH components. This fixes some tests in -S or -I modes.
* Issue #28653: Fix a refleak in functools.lru_cache.Yury Selivanov2016-11-091-2/+6
|
* Issue #28585: Restored docstring of os._isdir().Serhiy Storchaka2016-11-082-6/+5
|
* Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator whenSerhiy Storchaka2016-11-031-12/+5
| | | | | the garbage collector is invoked in other thread. Based on patch by Sebastian Cufre.
* Issue #27517: LZMA compressor and decompressor no longer raise exceptions ifSerhiy Storchaka2016-10-311-0/+5
| | | | given empty data twice. Patch by Benjamin Fogle.
* Issue #28549: Fixed segfault in curses's addch() with ncurses6.Serhiy Storchaka2016-10-301-8/+9
|
* Issue #28444: Fix missing extensions modules when cross compiling.Xavier de Gaye2016-10-291-1/+4
|
* Fixed possible NULL decrefing.Serhiy Storchaka2016-10-281-1/+1
|
* Issue #28526: Use PyUnicode_AsEncodedString() instead ofSerhiy Storchaka2016-10-271-2/+2
| | | | | PyUnicode_AsEncodedObject() in _curese to ensure that the result is a bytes object.
* Issue #24381: Avoid unused function warning when building bundled macOS libffi.Ned Deily2016-10-201-2/+2
| | | | Patch by Vajrasky Kok.
* Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().Serhiy Storchaka2016-10-081-0/+34
| | | | Patch by Xiang Zhang.
* ensure read size is initializedBenjamin Peterson2016-10-051-1/+1
|
* do not leak buffer if mmap is not writableBenjamin Peterson2016-10-051-1/+3
|
* mmap: do all internal arithmetic with Py_ssize_t while being very careful ↵Benjamin Peterson2016-10-051-109/+78
| | | | about overflow
* Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().Serhiy Storchaka2016-10-021-0/+31
| | | | Original patch by Xiang Zhang.
* Issue #28322: Fixed possible crashes when unpickle itertools objects fromSerhiy Storchaka2016-10-021-5/+35
| | | | incorrect pickle data. Based on patch by John Leitch.
* Issue #28275: Clean up to avoid use-after-free after bzip decompress failureMartin Panter2016-10-011-1/+3
|
* Issue #20947: Fixed a gcc warning with -Wstrict-overflow.Serhiy Storchaka2016-09-271-1/+1
|
* Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().Serhiy Storchaka2016-09-271-1/+3
| | | | Original patch by John Leitch.
* Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()Serhiy Storchaka2016-09-271-2/+4
| | | | if pass invalid string-like object as a name. Patch by Xiang Zhang.
* Increase buffer for readlink() in case OS will support longer names one day.Christian Heimes2016-09-231-3/+4
|
* Add an extra byte for null in case we ever get very long unicode names.Christian Heimes2016-09-231-4/+4
|
* Issue #28075: Fix test_access_denied in Python 3.5Berker Peksag2016-09-181-2/+4
| | | | I forgot there two variations of os.stat() in Python 3.5.
* Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of ↵Berker Peksag2016-09-171-2/+4
| | | | | | os.stat() Patch by Eryk Sun.
* Issue #28139: Fix messed up indentationMartin Panter2016-09-175-17/+19
| | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation.
* Issue #28145: Spelling fixesMartin Panter2016-09-161-1/+1
|
* Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().Serhiy Storchaka2016-09-141-5/+7
|