summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | Issue #29034: Fix memory leak and use-after-free in path_converter.Xiang Zhang2017-01-081-53/+56
| |
* | Add comment why the change in d83884b3a427 wasn't necessary.Stefan Krah2017-01-081-0/+1
| |
* | Revert part of 3cb3e224b692 in code that I maintain.Stefan Krah2017-01-081-1/+1
| |
* | Issue #29140: Fix hash(datetime.time)Victor Stinner2017-01-031-5/+5
| | | | | | | | | | | | Fix time_hash() function: replace DATE_xxx() macros with TIME_xxx() macros. Before, the hash function used a wrong value for microseconds if fold is set (equal to 1).
* | Fixed possible reference leaks in the _json module.Serhiy Storchaka2017-01-031-4/+9
|\ \ | |/
| * Fixed possible reference leaks in the _json module.Serhiy Storchaka2017-01-031-4/+9
| |
* | fix error check, so that Random.seed actually uses OS randomness (closes #29085)Benjamin Peterson2016-12-291-1/+1
| |
* | Issue #28768: Fix implicit declaration of function _setmode. Patch by ↵Steve Dower2016-12-282-0/+6
| | | | | | | | Masayuki Yamamoto
* | Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-272-1/+72
|\ \ | |/ | | | | WeakValueDictionary when collecting from another thread.
| * Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-272-1/+71
| | | | | | | | WeakValueDictionary when collecting from another thread.
* | Issue #29004: Merge crc_hqx() doc from 3.5Martin Panter2016-12-242-4/+4
|\ \ | |/
| * Issue #29004: Document binascii.crc_hqx() implements CRC-CCITTMartin Panter2016-12-242-4/+4
| |
* | Merge from 3.5.Serhiy Storchaka2016-12-211-0/+2
|\ \ | |/
| * 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.
| * 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.
* | Fix a memory leak in split-table dictionariesVictor Stinner2016-12-151-0/+14
| | | | | | | | | | | | | | Issue #28147: Fix a memory leak in split-table dictionaries: setattr() must not convert combined table into split table. Patch written by INADA Naoki.
* | _asyncio uses _PyObject_CallMethodIdObjArgs()Victor Stinner2016-12-151-9/+10
| | | | | | | | | | | | | | | | Issue #28920: Replace _PyObject_CallMethodId(obj, meth, "O", arg) with _PyObject_CallMethodIdObjArgs(obj, meth, arg, NULL) to avoid _PyObject_CallMethodId() special case when arg is a tuple. If arg is a tuple, _PyObject_CallMethodId() unpacks the tuple: obj.meth(*arg).
* | Fixes maximum usable length of buffer for formatting time zone in localtime().Steve Dower2016-12-141-1/+1
| |
* | Merge from 3.5.Serhiy Storchaka2016-12-071-1/+1
|\ \ | |/
| * Change order of io.UnsupportedOperation base classes.Serhiy Storchaka2016-12-071-1/+1
| | | | | | | | This makes tests passing after changes by issue #5322.
* | Issue #28843: Fix asyncio C Task to handle exceptions __traceback__.Yury Selivanov2016-12-011-0/+5
| |
* | Add TCP_CONGESTION and TCP_USER_TIMEOUTVictor Stinner2016-11-291-0/+6
| | | | | | | | | | | | | | Issue #26273: Add new socket.TCP_CONGESTION (Linux 2.6.13) and socket.TCP_USER_TIMEOUT (Linux 2.6.37) constants. Patch written by Omar Sandoval.
* | Issue #28727: Optimize pattern_richcompare() for a==aVictor Stinner2016-11-221-0/+6
| | | | | | | | A pattern is equal to itself.
* | Issue #28727: Fix typo in pattern_richcompare()Victor Stinner2016-11-221-1/+1
| | | | | | | | Typo catched by Serhiy Storchaka, thanks!
* | Issue #28752: Restored the __reduce__() methods of datetime objects.Serhiy Storchaka2016-11-211-8/+26
| |
* | Implement rich comparison for _sre.SRE_PatternVictor Stinner2016-11-211-6/+67
| | | | | | | | | | | | | | Issue #28727: Regular expression patterns, _sre.SRE_Pattern objects created by re.compile(), become comparable (only x==y and x!=y operators). This change should fix the issue #18383: don't duplicate warning filters when the warnings module is reloaded (thing usually only done in unit tests).
* | Issue #28532: Show sys.version when -V option is supplied twiceINADA Naoki2016-11-211-1/+2
| |
* | Issue #25659: Merge ctypes fix from 3.5Martin Panter2016-11-201-3/+9
|\ \ | |/
| * Issue #25659: Change assert to TypeError in from_buffer/_copy()Martin Panter2016-11-201-3/+9
| | | | | | | | Based on suggestion by Eryk Sun.
* | Issue #10656: Merge AIX build fix from 3.5Martin Panter2016-11-201-0/+1
|\ \ | |/
| * 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.
* | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSizeSerhiy Storchaka2016-11-2017-32/+32
| | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
* | Issue #28715: Added error checks for PyUnicode_AsUTF8().Serhiy Storchaka2016-11-203-7/+11
|\ \ | |/
| * Issue #28715: Added error checks for PyUnicode_AsUTF8().Serhiy Storchaka2016-11-203-7/+11
| |
* | Issue #28732: Raise ValueError when argv[0] is emptySteve Dower2016-11-201-0/+34
|\ \ | |/
| * Issue #28732: Raise ValueError when argv[0] is empty.Steve Dower2016-11-201-0/+9
| |
* | Issue #28732: Raise ValueError when os.spawn*() is passed an empty tuple of ↵Steve Dower2016-11-201-0/+10
| | | | | | | | arguments
* | Merge from 3.5 and fix a few other functions missing IPH handling.Steve Dower2016-11-201-2/+7
|\ \ | |/
| * Issue #28732: Fix crash in os.spawnv() with no elements in argsSteve Dower2016-11-201-0/+16
| | | | | | | | Prevents crashes in some other posixmodule.c functions
* | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵Serhiy Storchaka2016-11-169-40/+39
|\ \ | |/ | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
| * 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.
* | correctly emulate error semantics of gen.throw in FutureIter_throwBenjamin Peterson2016-11-141-19/+34
| |
* | Merge AIX fixes from 3.5 into 3.6Martin Panter2016-11-141-1/+3
|\ \ | |/
| * 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 #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.
* | Merge 3.6 (issue #28653)Yury Selivanov2016-11-091-2/+6
|\ \ | |/
| * Issue #28653: Fix a refleak in functools.lru_cache.Yury Selivanov2016-11-091-2/+6
| |