Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added the const qualifier for char* argument of Py_EnterRecursiveCall(). | Serhiy Storchaka | 2015-06-21 | 1 | -1/+1 |
| | |||||
* | Fixed indentation of Python examples in C comments. | Serhiy Storchaka | 2015-06-10 | 1 | -2/+2 |
| | |||||
* | sync opcode prediction code with python 3 | Benjamin Peterson | 2015-06-01 | 1 | -10/+4 |
| | |||||
* | Issue #19543: Emit deprecation warning for known non-text encodings. | Serhiy Storchaka | 2015-05-31 | 1 | -27/+182 |
| | | | | | | | | | | Backported issues #19619: encode() and decode() methods and constructors of str, unicode and bytearray classes now emit deprecation warning for known non-text encodings when Python is ran with the -3 option. Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the internal codec marking system added to emit deprecation warning for known non-text encodings at stream construction time when Python is ran with the -3 option. | ||||
* | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), | Serhiy Storchaka | 2015-05-30 | 1 | -22/+21 |
| | | | | | PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly. | ||||
* | backport computed gotos (#4753) | Benjamin Peterson | 2015-05-28 | 3 | -230/+854 |
| | |||||
* | Issue #24102: Fixed exception type checking in standard error handlers. | Serhiy Storchaka | 2015-05-18 | 1 | -8/+9 |
| | |||||
* | Issue #23998: PyImport_ReInitLock() now checks for lock allocation error | Christian Heimes | 2015-04-19 | 1 | -1/+5 |
| | |||||
* | Issue #23115: os.urandom() now releases the GIL when the getentropy() is used | Victor Stinner | 2015-03-30 | 1 | -6/+14 |
| | | | | (OpenBSD 5.6+). | ||||
* | Issue #23781: Add private helper function _PyErr_ReplaceException() that | Serhiy Storchaka | 2015-03-30 | 1 | -0/+20 |
| | | | | | corresponds _PyErr_ChainExceptions() in Python 3 to help porting patches from Python 3. | ||||
* | Issue #23458: On POSIX, the file descriptor kept open by os.urandom() is now | Victor Stinner | 2015-02-24 | 1 | -0/+9 |
| | | | | set to non inheritable | ||||
* | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -3/+5 |
| | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
* | Issue #23115: Fixed compilation on OpenBSD (Py_MIN is not defined in 2.7). | Serhiy Storchaka | 2015-02-16 | 1 | -1/+1 |
| | |||||
* | avoid reading unallocated memory when argc == 0 (closes #22633) | Benjamin Peterson | 2015-02-14 | 1 | -1/+2 |
| | |||||
* | update for copyright for 2015 | Benjamin Peterson | 2015-01-01 | 1 | -1/+1 |
| | |||||
* | use getentropy when available (backport of 75ede5bec8db) (closes #23115) | Benjamin Peterson | 2014-12-26 | 1 | -6/+35 |
| | |||||
* | 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. | ||||
* | Removed duplicated words in in comments and docs. | Serhiy Storchaka | 2014-12-01 | 3 | -3/+3 |
| | |||||
* | Issue #21963: backout issue #1856 patch (avoid crashes and lockups when | Antoine Pitrou | 2014-11-21 | 3 | -22/+3 |
| | | | | | | daemon threads run while the interpreter is shutting down; instead, these threads are now killed when they try to take the GIL), as it seems to break some existing code. | ||||
* | Issue #22453: Fexed reference leaks when format error messages in ceval.c. | Serhiy Storchaka | 2014-11-18 | 2 | -10/+22 |
| | | | | Warn against the use of leaking macro PyObject_REPR(). | ||||
* | Issue #22193: Fixed integer overflow error in sys.getsizeof(). | Serhiy Storchaka | 2014-11-15 | 1 | -4/+9 |
| | | | | Fixed an error in _PySys_GetSizeOf declaration. | ||||
* | Fixed compilation error introduced in 3f7519f633ed (issue #22518). | Serhiy Storchaka | 2014-10-04 | 1 | -2/+1 |
| | |||||
* | Issue #22518: Fixed integer overflow issues in "backslashreplace" and | Serhiy Storchaka | 2014-10-04 | 1 | -2/+12 |
| | | | | "xmlcharrefreplace" error handlers. | ||||
* | Fixed reference leak in the "backslashreplace" error handler. | Serhiy Storchaka | 2014-09-23 | 1 | -1/+3 |
| | |||||
* | PEP 466: backport persistent urandom fd (closes #21305) | Benjamin Peterson | 2014-08-28 | 2 | -16/+79 |
| | | | | Patch from Alex Gaynor. | ||||
* | Issue #22193: Added private function _PySys_GetSizeOf() needed to implement | Serhiy Storchaka | 2014-08-14 | 1 | -33/+42 |
| | | | | some __sizeof__() methods. | ||||
* | remove casts | Benjamin Peterson | 2014-08-10 | 1 | -4/+4 |
| | |||||
* | restore runtime exec test (#21591) | Benjamin Peterson | 2014-08-10 | 1 | -0/+9 |
| | |||||
* | Issue #21591: Handle exec backwards compatibility in the AST builder. | Dirkjan Ochtman | 2014-07-29 | 2 | -9/+12 |
| | | | | | | | Instead of deferring until runtime. This makes sure we hit the right conditions in dealing with unqualified exec statements. Reviewed by Victor Stinner. Test follows in a later commit. | ||||
* | correct ref counting of default_action (closes #22017) | Benjamin Peterson | 2014-07-20 | 1 | -0/+1 |
| | |||||
* | add missing 'because' (closes #22008) | Benjamin Peterson | 2014-07-18 | 1 | -1/+1 |
| | | | | Patch from A Kaptur. | ||||
* | revert tstate_delete_common, since it's pretty much wrong | Benjamin Peterson | 2014-06-17 | 1 | -8/+1 |
| | |||||
* | avoid a deadlock with the interpreter head lock and the GIL during finalization | Benjamin Peterson | 2014-06-17 | 1 | -1/+8 |
| | |||||
* | check if the thread is finalizing after retaking the GIL | Benjamin Peterson | 2014-06-17 | 1 | -0/+7 |
| | |||||
* | avoid crashes and lockups from daemon threads during interpreter shutdown ↵ | Benjamin Peterson | 2014-06-17 | 3 | -3/+16 |
| | | | | (#1856) | ||||
* | 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 #19656: Running Python with the -3 option now also warns about | Serhiy Storchaka | 2014-06-01 | 1 | -5/+17 |
| | | | | non-ascii bytes literals. | ||||
* | 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 #20437: Fixed 43 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 2 | -4/+2 |
| | |||||
* | fix error check | Benjamin Peterson | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | update copyright year | Benjamin Peterson | 2014-01-01 | 1 | -1/+1 |
| | |||||
* | Issue #16404: Add checks for return value of PyInt_FromLong() in | Serhiy Storchaka | 2013-12-17 | 1 | -0/+4 |
| | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder. | ||||
* | Fixed leak in sys.flags initialization. | Serhiy Storchaka | 2013-12-17 | 1 | -0/+1 |
| | |||||
* | Issue #19638: Raise ValueError instead of crashing when converting billion ↵ | Mark Dickinson | 2013-11-26 | 1 | -17/+48 |
| | | | | character strings to float. | ||||
* | Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the | Christian Heimes | 2013-10-22 | 1 | -0/+5 |
| | | | | Python executable and not removed by the linker's optimizer. | ||||
* | Closes #15213: update comment for _PyOS_URandom | Georg Brandl | 2013-10-06 | 1 | -2/+3 |
| | |||||
* | #18839: document that sys.exit() will not accept a non-integer numeric value ↵ | Ezio Melotti | 2013-08-26 | 1 | -1/+1 |
| | | | | as exit status. | ||||
* | Issue #13461: Fix a crash in the TextIOWrapper.tell method and in the "replace" | Serhiy Storchaka | 2013-08-20 | 1 | -1/+1 |
| | | | | error handler on 64-bit platforms. Patch by Yogesh Chaudhari. | ||||
* | Issue #18756: Improve error reporting in os.urandom() when the failure is ↵ | Antoine Pitrou | 2013-08-16 | 1 | -2/+6 |
| | | | | due to something else than /dev/urandom not existing. |