summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Issue #26081: Fix refleak in _asyncio.Future.__iter__().throw.Yury Selivanov2016-11-091-1/+3
| |
* | Issue #28585: Restored docstring of os._isdir().Serhiy Storchaka2016-11-082-6/+5
|\ \ | |/
| * Issue #28585: Restored docstring of os._isdir().Serhiy Storchaka2016-11-082-6/+5
| |
* | Issue #23996: Added _PyGen_SetStopIterationValue for safe raisingSerhiy Storchaka2016-11-061-18/+4
|\ \ | |/ | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue.
* | Issue #28123: _PyDict_GetItem_KnownHash() now can raise an exception asSerhiy Storchaka2016-11-062-0/+23
| | | | | | | | PyDict_GetItemWithError(). Patch by Xiang Zhang.
* | 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 #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 #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 #28549: Fixed segfault in curses's addch() with ncurses6.Serhiy Storchaka2016-10-301-8/+9
| |
* | Issue #28444: Merge with 3.5.Xavier de Gaye2016-10-291-1/+4
|\ \ | |/
| * Issue #28444: Fix missing extensions modules when cross compiling.Xavier de Gaye2016-10-291-1/+4
| |
* | Issue #28544: Fix inefficient call to _PyObject_CallMethodId()Victor Stinner2016-10-291-1/+1
| | | | | | | | | | "()" format string creates an empty list of argument but requires extra work to parse the format string.
* | Issue #28544: Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*`Yury Selivanov2016-10-281-5/+5
| |
* | Issue #28544: Fix _asynciomodule.c on WindowsVictor Stinner2016-10-281-5/+5
| | | | | | | | | | | | PyType_Ready() sets the reference to &PyType_Type. &PyType_Type cannot be resolved at compilation time (not on Windows?).
* | Issue #28544: Implement asyncio.Task in C.Yury Selivanov2016-10-282-277/+2219
| | | | | | | | | | | | | | | | 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).