Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -2/+2 |
| | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
* | avoid reading unallocated memory when argc == 0 (closes #22633) | Benjamin Peterson | 2015-02-14 | 1 | -6/+9 |
| | |||||
* | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 1 | -13/+21 |
| | | | | and PyObject_AsWriteBuffer(). | ||||
* | revert lineno and col_offset changes from #16795 (closes #21295) | Benjamin Peterson | 2015-02-02 | 2 | -3917/+3908 |
| | |||||
* | Issue #23353: Fix the exception handling of generators in PyEval_EvalFrameEx(). | Victor Stinner | 2015-01-31 | 1 | -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 Storchaka | 2015-01-28 | 1 | -1/+3 |
| | |||||
* | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -1/+1 |
| | |||||
* | merge 3.3 (closes #23165) | Benjamin Peterson | 2015-01-04 | 1 | -3/+13 |
|\ | |||||
| * | merge 3.2 (closes #23165) | Benjamin Peterson | 2015-01-04 | 1 | -3/+13 |
| |\ | |||||
| | * | add some overflow checks before multiplying (closes #23165) | Benjamin Peterson | 2015-01-04 | 1 | -3/+13 |
| | | | |||||
* | | | merge 3.3 | Benjamin Peterson | 2015-01-01 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | merge 3.2 | Benjamin Peterson | 2015-01-01 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | update for copyright for 2015 | Benjamin Peterson | 2015-01-01 | 1 | -1/+1 |
| | | | |||||
| | * | Copyright year update, add version to licenses.v3.2.6rc1 | Georg Brandl | 2014-10-04 | 1 | -1/+1 |
| | | | |||||
| | * | Copyright update to 2013. | Georg Brandl | 2013-03-23 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #22518: Fixed integer overflow issues in "backslashreplace",v3.3.6rc1 | Serhiy Storchaka | 2014-10-04 | 1 | -2/+6 |
| | | | | | | | | | | | | "xmlcharrefreplace", and "surrogatepass" error handlers. | ||||
* | | | Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), | Victor Stinner | 2014-12-21 | 1 | -7/+41 |
| | | | | | | | | | | | | instead of reading /dev/urandom, to get pseudo-random bytes. | ||||
* | | | pop the loop block even for infinite while loops (closes #23048) | Benjamin Peterson | 2014-12-13 | 1 | -3/+2 |
| | | | |||||
* | | | Issue #18028: Fix aliasing issue in READ_TIMESTAMP() of ceval.c on x86_64, | Victor Stinner | 2014-12-12 | 1 | -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 Storchaka | 2014-12-05 | 2 | -8/+8 |
| | | | |||||
* | | | - Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is | Barry Warsaw | 2014-12-01 | 1 | -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 is | Barry Warsaw | 2014-12-01 | 1 | -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 Storchaka | 2014-12-01 | 3 | -3/+3 |
|/ / / | |||||
* | | | Issue #22453: Warn against the use of leaking macro PyObject_REPR(). | Serhiy Storchaka | 2014-11-18 | 1 | -10/+10 |
| | | | |||||
* | | | Issue #22193: Fixed integer overflow error in sys.getsizeof(). | Serhiy Storchaka | 2014-11-15 | 1 | -5/+10 |
| | | | | | | | | | | | | Fixed an error in _PySys_GetSizeOf declaration. | ||||
* | | | Issue #22762: Fix _Py_DisplaySourceLine(), clear the exception if | Victor Stinner | 2014-10-30 | 1 | -0/+1 |
| | | | | | | | | | | | | PyFile_GetLine() failed. Patch written by Xavier de Gaye. | ||||
* | | | Issue #21715: Extracted shared complicated code in the _io module to new | Serhiy Storchaka | 2014-10-08 | 1 | -0/+24 |
| | | | | | | | | | | | | _PyErr_ChainExceptions() function. | ||||
* | | | Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵ | Antoine Pitrou | 2014-10-08 | 1 | -0/+33 |
| | | | | | | | | | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon. | ||||
* | | | Issue #22518: Fixed integer overflow issues in "backslashreplace", | Serhiy Storchaka | 2014-10-04 | 1 | -2/+8 |
| | | | | | | | | | | | | "xmlcharrefreplace", and "surrogatepass" error handlers. | ||||
* | | | Fixed reference leak in the "backslashreplace" error handler. | Serhiy Storchaka | 2014-09-23 | 1 | -1/+3 |
| | | | |||||
* | | | Issue #4180: The warnings registries are now reset when the filters are ↵ | Antoine Pitrou | 2014-09-18 | 1 | -6/+35 |
| | | | | | | | | | | | | modified. | ||||
* | | | Issue #22166: clear codec caches in test_codecs | Nick Coghlan | 2014-09-15 | 1 | -0/+26 |
| | | | |||||
* | | | Closes #22258: Fix the the internal function set_inheritable() on Illumos. | Victor Stinner | 2014-09-02 | 1 | -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 implement | Serhiy Storchaka | 2014-08-14 | 1 | -32/+40 |
| | | | | | | | | | | | | some __sizeof__() methods. | ||||
* | | | Issue #22146: Fix typo in __build_class__ error message | Zachary Ware | 2014-08-05 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #21925: PyImport_Cleanup(): Remove unused parameter in | Victor Stinner | 2014-07-07 | 1 | -1/+1 |
| | | | | | | | | | | | | PySys_FormatStderr() call | ||||
* | | | Issue #21891: remove extraneous semicolon. | Ned Deily | 2014-07-01 | 1 | -1/+1 |
| | | | |||||
* | | | revert tstate_delete_common, since it's pretty much wrong | Benjamin Peterson | 2014-06-17 | 1 | -8/+1 |
| | | | |||||
* | | | remove extra call to tstate_delete_common (merge artifact) | Benjamin Peterson | 2014-06-17 | 1 | -3/+2 |
| | | | |||||
* | | | avoid a deadlock with the interpreter head lock and the GIL during finalization | Benjamin Peterson | 2014-06-17 | 1 | -0/+8 |
| | | | |||||
* | | | check if the thread is finalizing after retaking the GIL | Benjamin Peterson | 2014-06-17 | 1 | -0/+7 |
| | | | |||||
* | | | Issue #19362: Tweek len() doc and docstring to expand the indicated range of | Terry Jan Reedy | 2014-06-16 | 1 | -1/+1 |
| | | | | | | | | | | | | arguments. Original patch by Gareth Rees. | ||||
* | | | Issue #21226: fix a ref leak. | Eric Snow | 2014-05-29 | 1 | -0/+1 |
| | | | |||||
* | | | Issue #21523: Fix over-pessimistic computation of the stack effect of some ↵ | Antoine Pitrou | 2014-05-23 | 1 | -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 Hettinger | 2014-05-19 | 1 | -6/+10 |
| | | | | | | | | | | | | Patch provided by Berker Peksag. | ||||
* | | | Issue #21226: Set all attrs in PyImport_ExecCodeModuleObject. | Eric Snow | 2014-05-12 | 2 | -4268/+4287 |
| | | | |||||
* | | | Issue #21425: Fix flushing of standard streams in the interactive interpreter. | Antoine Pitrou | 2014-05-11 | 1 | -1/+2 |
| | | | |||||
* | | | Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout ↵ | Kristján Valur Jónsson | 2014-05-08 | 2 | -7/+7 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | argument in order to have the same resolution as pthreads condition variables. At the same time, it must be large enough to accept 31 bits of milliseconds, which is the maximum timeout value in the windows API. A PY_LONG_LONG of microseconds fullfills both requirements. This closes issue #20737 | ||||
| * | | The PyCOND_TIMEDWAIT must use microseconds for the timeout argument | Kristján Valur Jónsson | 2014-05-08 | 2 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | in order to have the same resolution as pthreads condition variables. At the same time, it must be large enough to accept 31 bits of milliseconds, which is the maximum timeout value in the windows API. A PY_LONG_LONG of microseconds fullfills both requirements. This closes issue #20737 | ||||
| * | | Issue #20404: reject non-text encodings early in TextIOWrapper. | Georg Brandl | 2014-03-02 | 1 | -21/+63 |
| | | |