summaryrefslogtreecommitdiff
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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-031-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 Peterson2014-12-311-1/+1
|\ \ \ | |/ /
| * | merge 3.2Benjamin Peterson2014-12-311-1/+1
| |\ \ | | |/
| | * update for copyright for 2015Benjamin Peterson2014-12-311-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-191-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
| | |
* | | Issue #21925: PyImport_Cleanup(): Remove unused parameter inVictor Stinner2014-07-071-1/+1
| | | | | | | | | | | | PySys_FormatStderr() call
* | | Issue #21891: remove extraneous semicolon.Ned Deily2014-06-301-1/+1
| | |
* | | revert tstate_delete_common, since it's pretty much wrongBenjamin Peterson2014-06-171-8/+1
| | |
* | | remove extra call to tstate_delete_common (merge artifact)Benjamin Peterson2014-06-161-3/+2
| | |
* | | avoid a deadlock with the interpreter head lock and the GIL during finalizationBenjamin Peterson2014-06-161-0/+8
| | |
* | | check if the thread is finalizing after retaking the GILBenjamin Peterson2014-06-161-0/+7
| | |
* | | Issue #19362: Tweek len() doc and docstring to expand the indicated range ofTerry Jan Reedy2014-06-161-1/+1
| | | | | | | | | | | | arguments. Original patch by Gareth Rees.
* | | Issue #21226: fix a ref leak.Eric Snow2014-05-291-0/+1
| | |
* | | Issue #21523: Fix over-pessimistic computation of the stack effect of some ↵Antoine Pitrou2014-05-231-2/+6
| | | | | | | | | | | | | | | | | | | | | opcodes in the compiler. This also fixes a quadratic compilation time issue noticeable when compiling code with a large number of "and" and "or" operators.
* | | Issue 20620: Update the min()/max() docs for the new default argument.Raymond Hettinger2014-05-191-6/+10
| | | | | | | | | | | | Patch provided by Berker Peksag.
* | | Issue #21226: Set all attrs in PyImport_ExecCodeModuleObject.Eric Snow2014-05-122-4268/+4287
| | |
* | | Issue #21425: Fix flushing of standard streams in the interactive interpreter.Antoine Pitrou2014-05-111-1/+2
| | |