summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* | Fixed possible NULL decrefing.Serhiy Storchaka2016-10-281-1/+1
|\ \ | |/
| * 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 #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 #28430: Fix iterator of C implemented asyncio.Future doesn'tINADA Naoki2016-10-251-6/+4
| | | | | | | | accept non-None value is passed to it.send(val).
* | Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raisingSerhiy Storchaka2016-10-211-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.cYury Selivanov2016-10-201-2/+2
| | | | | | | | Thanks to Stéphane Wirtel!
* | Issue #28492: Fix how StopIteration is raised in _asyncio.FutureYury Selivanov2016-10-201-2/+19
| |
* | Issue #24381: merge from 3.5Ned Deily2016-10-201-2/+2
|\ \ | |/
| * Issue #24381: Avoid unused function warning when building bundled macOS libffi.Ned Deily2016-10-201-2/+2
| | | | | | | | Patch by Vajrasky Kok.
* | Issue #28480: Avoid label at end of compound statement --without-threadsMartin Panter2016-10-201-0/+1
| | | | | | | | Based on patch by Masayuki Yamamoto.
* | Issue #28471: Fix crash (GIL state related) in socket.setblockingYury Selivanov2016-10-181-9/+15
| |
* | Issue #28452: Remove _asyncio._init_module functionINADA Naoki2016-10-181-66/+55
| |
* | Issue #28428: Rename _futures module to _asyncio.INADA Naoki2016-10-152-20/+20
| | | | | | | | It will have more speedup functions or classes other than asyncio.Future.
* | - Modules/Setup.dist: Add the _blake2 moduledoko@ubuntu.com2016-10-111-0/+2
| |
* | Issue #28405: Fix compile error for _futuresmodule.c on Cygwin.INADA Naoki2016-10-101-1/+1
| | | | | | | | Patch by Masayuki Yamamoto.