Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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). | ||||
* | | Fixed possible NULL decrefing. | Serhiy Storchaka | 2016-10-28 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fixed possible NULL decrefing. | Serhiy Storchaka | 2016-10-28 | 1 | -1/+1 |
| | | |||||
* | | Issue #28526: Use PyUnicode_AsEncodedString() instead of | Serhiy Storchaka | 2016-10-27 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | PyUnicode_AsEncodedObject() in _curese to ensure that the result is a bytes object. | ||||
| * | Issue #28526: Use PyUnicode_AsEncodedString() instead of | Serhiy Storchaka | 2016-10-27 | 1 | -2/+2 |
| | | | | | | | | | | PyUnicode_AsEncodedObject() in _curese to ensure that the result is a bytes object. | ||||
* | | Issue #28430: Fix iterator of C implemented asyncio.Future doesn't | INADA Naoki | 2016-10-25 | 1 | -6/+4 |
| | | | | | | | | accept non-None value is passed to it.send(val). | ||||
* | | Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising | Serhiy Storchaka | 2016-10-21 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | new exception with setting current exception as __cause__. _PyErr_FormatFromCause(exception, format, args...) is equivalent to Python raise exception(format % args) from sys.exc_info()[1] | ||||
* | | Issue #28493: Fix typos in _asynciomodule.c | Yury Selivanov | 2016-10-20 | 1 | -2/+2 |
| | | | | | | | | Thanks to Stéphane Wirtel! | ||||
* | | Issue #28492: Fix how StopIteration is raised in _asyncio.Future | Yury Selivanov | 2016-10-20 | 1 | -2/+19 |
| | | |||||
* | | Issue #24381: merge from 3.5 | Ned Deily | 2016-10-20 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #24381: Avoid unused function warning when building bundled macOS libffi. | Ned Deily | 2016-10-20 | 1 | -2/+2 |
| | | | | | | | | Patch by Vajrasky Kok. | ||||
* | | Issue #28480: Avoid label at end of compound statement --without-threads | Martin Panter | 2016-10-20 | 1 | -0/+1 |
| | | | | | | | | Based on patch by Masayuki Yamamoto. | ||||
* | | Issue #28471: Fix crash (GIL state related) in socket.setblocking | Yury Selivanov | 2016-10-18 | 1 | -9/+15 |
| | | |||||
* | | Issue #28452: Remove _asyncio._init_module function | INADA Naoki | 2016-10-18 | 1 | -66/+55 |
| | | |||||
* | | Issue #28428: Rename _futures module to _asyncio. | INADA Naoki | 2016-10-15 | 2 | -20/+20 |
| | | | | | | | | It will have more speedup functions or classes other than asyncio.Future. | ||||
* | | - Modules/Setup.dist: Add the _blake2 module | doko@ubuntu.com | 2016-10-11 | 1 | -0/+2 |
| | | |||||
* | | Issue #28405: Fix compile error for _futuresmodule.c on Cygwin. | INADA Naoki | 2016-10-10 | 1 | -1/+1 |
| | | | | | | | | Patch by Masayuki Yamamoto. |