summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* shorten capsule name macro; it doesn't need to be so longBenjamin Peterson2015-05-071-4/+4
|
* merge 3.3 (#24096)Benjamin Peterson2015-05-031-10/+27
|\
| * be more robust against the filters list changing under us (closes #24096)Benjamin Peterson2015-05-031-6/+16
| |
* | remove dead *-import checking code (closes #24049)Benjamin Peterson2015-04-241-31/+0
| |
* | Issue #23998: PyImport_ReInitLock() now checks for lock allocation errorChristian Heimes2015-04-191-1/+5
|\ \ | |/
| * Issue #23998: PyImport_ReInitLock() now checks for lock allocation errorChristian Heimes2015-04-191-1/+5
| |
* | Fixed error message for the "u#" format code.Serhiy Storchaka2015-04-191-3/+4
| |
* | Issue #22977: Fixed formatting Windows error messages on Wine.Serhiy Storchaka2015-04-021-2/+2
| | | | | | | | Patch by Martin Panter.
* | Issue #22585: os.urandom() now releases the GIL when the getentropy() is usedVictor Stinner2015-03-301-6/+14
| | | | | | | | (OpenBSD 5.6+).
* | Issue #23571: If io.TextIOWrapper constructor fails in _Py_DisplaySourceLine(),Victor Stinner2015-03-251-1/+8
| | | | | | | | close the binary file to fix a resource warning.
* | Issue #23571: Fix reentrant call to Py_FatalError()Victor Stinner2015-03-251-17/+28
| | | | | | | | | | | | Flushing sys.stdout and sys.stderr in Py_FatalError() can call again Py_FatalError(). Add a reentrant flag to detect this case and just abort at the second call.
* | Issue #23571: Py_FatalError() now tries to flush sys.stdout and sys.stderrVictor Stinner2015-03-241-4/+26
| | | | | | | | | | It should help to see exceptions when stderr if buffered: PyErr_Display() calls sys.stderr.write(), it doesn't write into stderr file descriptor directly.
* | Issue #23571: Enhance Py_FatalError()Victor Stinner2015-03-241-13/+60
| | | | | | | | | | | | | | | | | | * Display the current Python stack if an exception was raised but the exception has no traceback * Disable faulthandler if an exception was raised (before it was only disabled if no exception was raised) * To display the current Python stack, call PyGILState_GetThisThreadState() which works even if the GIL was released
* | Fixes incorrect use of GetLastError where errno should be used.Steve Dower2015-03-141-6/+6
| |
* | Issue #23192: Fixed generator lambdas. Patch by Bruno Cauet.Serhiy Storchaka2015-03-111-2/+2
| |
* | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka2015-02-161-2/+2
| | | | | | | | overflows. Added few missed PyErr_NoMemory().
* | avoid reading unallocated memory when argc == 0 (closes #22633)Benjamin Peterson2015-02-141-6/+9
| |
* | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-021-13/+21
| | | | | | | | and PyObject_AsWriteBuffer().
* | revert lineno and col_offset changes from #16795 (closes #21295)Benjamin Peterson2015-02-022-3917/+3908
| |
* | Issue #23353: Fix the exception handling of generators in PyEval_EvalFrameEx().Victor Stinner2015-01-311-3/+4
| | | | | | | | | | | | | | At entry, save or swap the exception state even if PyEval_EvalFrameEx() is called with throwflag=0. At exit, the exception state is now always restored or swapped, not only if why is WHY_YIELD or WHY_RETURN. Patch co-written with Antoine Pitrou.
* | Fixed memory leak in marshal.Serhiy Storchaka2015-01-281-1/+3
| |
* | Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-1/+1
| |
* | merge 3.3 (closes #23165)Benjamin Peterson2015-01-041-3/+13
|\ \ | |/
| * merge 3.2 (closes #23165)Benjamin Peterson2015-01-041-3/+13
| |\
| | * add some overflow checks before multiplying (closes #23165)Benjamin Peterson2015-01-041-3/+13
| | |
* | | merge 3.3Benjamin Peterson2015-01-011-1/+1
|\ \ \ | |/ /
| * | merge 3.2Benjamin Peterson2015-01-011-1/+1
| |\ \ | | |/
| | * update for copyright for 2015Benjamin Peterson2015-01-011-1/+1
| | |
| | * Copyright year update, add version to licenses.v3.2.6rc1Georg Brandl2014-10-041-1/+1
| | |
| | * Copyright update to 2013.Georg Brandl2013-03-231-1/+1
| | |
| * | Issue #22518: Fixed integer overflow issues in "backslashreplace",v3.3.6rc1Serhiy Storchaka2014-10-041-2/+6
| | | | | | | | | | | | "xmlcharrefreplace", and "surrogatepass" error handlers.
* | | Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),Victor Stinner2014-12-211-7/+41
| | | | | | | | | | | | instead of reading /dev/urandom, to get pseudo-random bytes.
* | | pop the loop block even for infinite while loops (closes #23048)Benjamin Peterson2014-12-131-3/+2
| | |
* | | Issue #18028: Fix aliasing issue in READ_TIMESTAMP() of ceval.c on x86_64,Victor Stinner2014-12-121-3/+5
| | | | | | | | | | | | when Python is configure with --with-tsc. Patch written by Christian Heimes.
* | | Issue #22581: Use more "bytes-like object" throughout the docs and comments.Serhiy Storchaka2014-12-052-8/+8
| | |
* | | - Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile isBarry Warsaw2014-12-011-3611/+3612
|\ \ \ | | | | | | | | | | | | | | | | asked to compile a source file containing multiple dots in the source file name.
| * | | - Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile isBarry Warsaw2014-12-011-3611/+3612
| | | | | | | | | | | | | | | | | | | | asked to compile a source file containing multiple dots in the source file name.
* | | | Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-013-3/+3
|/ / /
* | | Issue #22453: Warn against the use of leaking macro PyObject_REPR().Serhiy Storchaka2014-11-181-10/+10
| | |
* | | Issue #22193: Fixed integer overflow error in sys.getsizeof().Serhiy Storchaka2014-11-151-5/+10
| | | | | | | | | | | | Fixed an error in _PySys_GetSizeOf declaration.
* | | Issue #22762: Fix _Py_DisplaySourceLine(), clear the exception ifVictor Stinner2014-10-301-0/+1
| | | | | | | | | | | | PyFile_GetLine() failed. Patch written by Xavier de Gaye.
* | | Issue #21715: Extracted shared complicated code in the _io module to newSerhiy Storchaka2014-10-081-0/+24
| | | | | | | | | | | | _PyErr_ChainExceptions() function.
* | | Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵Antoine Pitrou2014-10-081-0/+33
| | | | | | | | | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon.
* | | Issue #22518: Fixed integer overflow issues in "backslashreplace",Serhiy Storchaka2014-10-041-2/+8
| | | | | | | | | | | | "xmlcharrefreplace", and "surrogatepass" error handlers.
* | | Fixed reference leak in the "backslashreplace" error handler.Serhiy Storchaka2014-09-231-1/+3
| | |
* | | Issue #4180: The warnings registries are now reset when the filters are ↵Antoine Pitrou2014-09-181-6/+35
| | | | | | | | | | | | modified.
* | | Issue #22166: clear codec caches in test_codecsNick Coghlan2014-09-151-0/+26
| | |
* | | Closes #22258: Fix the the internal function set_inheritable() on Illumos.Victor Stinner2014-09-021-14/+34
| | | | | | | | | | | | | | | | | | This platform exposes the function ioctl(FIOCLEX), but calling it fails with errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls back to the slower fcntl() (F_GETFD and then F_SETFD).
* | | Issue #22193: Added private function _PySys_GetSizeOf() needed to implementSerhiy Storchaka2014-08-141-32/+40
| | | | | | | | | | | | some __sizeof__() methods.
* | | Issue #22146: Fix typo in __build_class__ error messageZachary Ware2014-08-051-1/+1
| | |