Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a memory leak in split-table dictionaries | Victor Stinner | 2016-12-15 | 1 | -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 Stinner | 2016-12-15 | 1 | -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 Dower | 2016-12-14 | 1 | -1/+1 |
| | |||||
* | Merge from 3.5. | Serhiy Storchaka | 2016-12-07 | 1 | -1/+1 |
|\ | |||||
| * | Change order of io.UnsupportedOperation base classes. | Serhiy Storchaka | 2016-12-07 | 1 | -1/+1 |
| | | | | | | | | This makes tests passing after changes by issue #5322. | ||||
* | | Issue #28843: Fix asyncio C Task to handle exceptions __traceback__. | Yury Selivanov | 2016-12-01 | 1 | -0/+5 |
| | | |||||
* | | Add TCP_CONGESTION and TCP_USER_TIMEOUT | Victor Stinner | 2016-11-29 | 1 | -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==a | Victor Stinner | 2016-11-22 | 1 | -0/+6 |
| | | | | | | | | A pattern is equal to itself. | ||||
* | | Issue #28727: Fix typo in pattern_richcompare() | Victor Stinner | 2016-11-22 | 1 | -1/+1 |
| | | | | | | | | Typo catched by Serhiy Storchaka, thanks! | ||||
* | | Issue #28752: Restored the __reduce__() methods of datetime objects. | Serhiy Storchaka | 2016-11-21 | 1 | -8/+26 |
| | | |||||
* | | Implement rich comparison for _sre.SRE_Pattern | Victor Stinner | 2016-11-21 | 1 | -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 twice | INADA Naoki | 2016-11-21 | 1 | -1/+2 |
| | | |||||
* | | Issue #25659: Merge ctypes fix from 3.5 | Martin Panter | 2016-11-20 | 1 | -3/+9 |
|\ \ | |/ | |||||
| * | Issue #25659: Change assert to TypeError in from_buffer/_copy() | Martin Panter | 2016-11-20 | 1 | -3/+9 |
| | | | | | | | | Based on suggestion by Eryk Sun. | ||||
* | | Issue #10656: Merge AIX build fix from 3.5 | Martin Panter | 2016-11-20 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #10656: Fix out-of-tree building on AIX | Martin Panter | 2016-11-20 | 1 | -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_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 17 | -32/+32 |
| | | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | | Issue #28715: Added error checks for PyUnicode_AsUTF8(). | Serhiy Storchaka | 2016-11-20 | 3 | -7/+11 |
|\ \ | |/ | |||||
| * | Issue #28715: Added error checks for PyUnicode_AsUTF8(). | Serhiy Storchaka | 2016-11-20 | 3 | -7/+11 |
| | | |||||
* | | Issue #28732: Raise ValueError when argv[0] is empty | Steve Dower | 2016-11-20 | 1 | -0/+34 |
|\ \ | |/ | |||||
| * | Issue #28732: Raise ValueError when argv[0] is empty. | Steve Dower | 2016-11-20 | 1 | -0/+9 |
| | | |||||
* | | Issue #28732: Raise ValueError when os.spawn*() is passed an empty tuple of ↵ | Steve Dower | 2016-11-20 | 1 | -0/+10 |
| | | | | | | | | arguments | ||||
* | | Merge from 3.5 and fix a few other functions missing IPH handling. | Steve Dower | 2016-11-20 | 1 | -2/+7 |
|\ \ | |/ | |||||
| * | Issue #28732: Fix crash in os.spawnv() with no elements in args | Steve Dower | 2016-11-20 | 1 | -0/+16 |
| | | | | | | | | Prevents crashes in some other posixmodule.c functions | ||||
* | | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 9 | -40/+39 |
|\ \ | |/ | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 8 | -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_throw | Benjamin Peterson | 2016-11-14 | 1 | -19/+34 |
| | | |||||
* | | Merge AIX fixes from 3.5 into 3.6 | Martin Panter | 2016-11-14 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT | Martin Panter | 2016-11-14 | 1 | -1/+3 |
| | | | | | | | | Patch by Matthieu S. | ||||
* | | Issue #19398: Extra slash no longer added to sys.path components in case of | Serhiy Storchaka | 2016-11-11 | 1 | -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 of | Serhiy Storchaka | 2016-11-11 | 1 | -1/+4 |
| | | | | | | | | | | empty compile-time PYTHONPATH components. This fixes some tests in -S or -I modes. | ||||
* | | Merge 3.6 (issue #28653) | Yury Selivanov | 2016-11-09 | 1 | -2/+6 |
|\ \ | |/ | |||||
| * | Issue #28653: Fix a refleak in functools.lru_cache. | Yury Selivanov | 2016-11-09 | 1 | -2/+6 |
| | | |||||
* | | Issue #26081: Fix refleak in _asyncio.Future.__iter__().throw. | Yury Selivanov | 2016-11-09 | 1 | -1/+3 |
| | | |||||
* | | Issue #28585: Restored docstring of os._isdir(). | Serhiy Storchaka | 2016-11-08 | 2 | -6/+5 |
|\ \ | |/ | |||||
| * | Issue #28585: Restored docstring of os._isdir(). | Serhiy Storchaka | 2016-11-08 | 2 | -6/+5 |
| | | |||||
* | | Issue #23996: Added _PyGen_SetStopIterationValue for safe raising | Serhiy Storchaka | 2016-11-06 | 1 | -18/+4 |
|\ \ | |/ | | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue. | ||||
* | | Issue #28123: _PyDict_GetItem_KnownHash() now can raise an exception as | Serhiy Storchaka | 2016-11-06 | 2 | -0/+23 |
| | | | | | | | | PyDict_GetItemWithError(). Patch by Xiang Zhang. | ||||
* | | Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when | Serhiy Storchaka | 2016-11-03 | 1 | -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 when | Serhiy Storchaka | 2016-11-03 | 1 | -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 if | Serhiy Storchaka | 2016-10-31 | 1 | -0/+5 |
|\ \ | |/ | | | | | given empty data twice. Patch by Benjamin Fogle. | ||||
| * | Issue #27517: LZMA compressor and decompressor no longer raise exceptions if | Serhiy Storchaka | 2016-10-31 | 1 | -0/+5 |
| | | | | | | | | given empty data twice. Patch by Benjamin Fogle. | ||||
* | | Issue #28549: Fixed segfault in curses's addch() with ncurses6. | Serhiy Storchaka | 2016-10-30 | 1 | -8/+9 |
|\ \ | |/ | |||||
| * | Issue #28549: Fixed segfault in curses's addch() with ncurses6. | Serhiy Storchaka | 2016-10-30 | 1 | -8/+9 |
| | | |||||
* | | Issue #28444: Merge with 3.5. | Xavier de Gaye | 2016-10-29 | 1 | -1/+4 |
|\ \ | |/ | |||||
| * | Issue #28444: Fix missing extensions modules when cross compiling. | Xavier de Gaye | 2016-10-29 | 1 | -1/+4 |
| | | |||||
* | | Issue #28544: Fix inefficient call to _PyObject_CallMethodId() | Victor Stinner | 2016-10-29 | 1 | -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 Selivanov | 2016-10-28 | 1 | -5/+5 |
| | | |||||
* | | Issue #28544: Fix _asynciomodule.c on Windows | Victor Stinner | 2016-10-28 | 1 | -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 Selivanov | 2016-10-28 | 2 | -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). |