Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typo in comment | Martin Panter | 2016-06-10 | 1 | -1/+1 |
| | |||||
* | Fix typo in code comment | Martin Panter | 2016-06-04 | 1 | -1/+1 |
| | |||||
* | Issue #27076: Doc, comment and test function name spelling fixes | Martin Panter | 2016-05-26 | 2 | -2/+2 |
| | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N" | Serhiy Storchaka | 2016-05-20 | 1 | -42/+68 |
| | | | | format unit. | ||||
* | Issue #26874: Simplify the divmod docstring. | Zachary Ware | 2016-04-28 | 1 | -1/+1 |
| | | | | Now it actually matches the prose docs. | ||||
* | Issue #26874: Make divmod docstring and full doc match | Zachary Ware | 2016-04-28 | 1 | -1/+1 |
| | |||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 2 | -2/+2 |
| | |||||
* | Issue #4806: Avoid masking TypeError when *-unpacking a generator | Martin Panter | 2016-01-31 | 1 | -2/+4 |
| | | | | Based on patch by Hagen Fürstenau. | ||||
* | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -2/+2 |
| | | | | This affects documentation and code comments. | ||||
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 3 | -4/+4 |
| | | | | in places where Py_DECREF was used. | ||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 4 | -5/+5 |
| | |||||
* | Issue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++. | Serhiy Storchaka | 2016-03-03 | 1 | -1/+1 |
| | | | | Patch by Jeroen Demeyer. | ||||
* | Issue #22836: Keep exception reports sensible despite errors | Martin Panter | 2016-02-28 | 2 | -3/+15 |
| | |||||
* | Issue #25698: Importing module if the stack is too deep no longer replaces | Serhiy Storchaka | 2016-02-10 | 1 | -7/+25 |
| | | | | imported module with the empty one. | ||||
* | Issue #26198: Fixed error messages for some argument parsing errors. | Serhiy Storchaka | 2016-02-07 | 1 | -12/+21 |
| | | | | | Fixed the documented about buffer overflow error for "es#" and "et#" format units. | ||||
* | code_richcompare() now uses the constants types | Victor Stinner | 2016-01-22 | 1 | -47/+6 |
| | | | | | | | | | Issue #25843: When compiling code, don't merge constants if they are equal but have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now correctly compiled to two different functions: f1() returns 1 (int) and f2() returns 1.0 (int), even if 1 and 1.0 are equal. Add a new _PyCode_ConstantKey() private function. | ||||
* | Issue24733 - Remove unreachable code in traceback.c | Senthil Kumaran | 2016-01-05 | 1 | -4/+0 |
| | |||||
* | 2016 will be another year of writing copyrighted code | Benjamin Peterson | 2016-01-01 | 1 | -1/+1 |
| | |||||
* | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -8/+5 |
| | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 3 | -7/+4 |
| | | | | macro Py_SETREF. | ||||
* | Issue #25678: Copy buffer objects to null-terminated strings. | Serhiy Storchaka | 2015-11-20 | 1 | -5/+16 |
| | | | | | | | | Avoid buffer overreads when int(), long(), float(), and compile() are passed buffer objects. Similar code is removed from the complex() constructor, where it was not reachable. Patch backported from issue #24802 by Eryk Sun. | ||||
* | Issue #25003: os.urandom() doesn't use getentropy() on Solaris because | Victor Stinner | 2015-10-01 | 1 | -4/+8 |
| | | | | | getentropy() is blocking, whereas os.urandom() should not block. getentropy() is supported since Solaris 11.3. | ||||
* | remove tabs from ceval.c (closes #24895) | Benjamin Peterson | 2015-08-20 | 1 | -173/+173 |
| | |||||
* | check return value of PyString_FromStringAndSize for NULL (closes #24734) | Benjamin Peterson | 2015-07-27 | 1 | -1/+4 |
| | | | | Patch by Pankaj Sharma. | ||||
* | 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. |