| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [3.6] bpo-33029: Fix signatures of getter and setter functions. (GH-10746) ↵ | Serhiy Storchaka | 2018-11-27 | 1 | -1/+2 |
| | | | | | | | (GH-10749) Fix also return type for few other functions (clear, releasebuffer). (cherry picked from commit d4f9cf5545d6d8844e0726552ef2e366f5cc3abd) | ||||
| * | bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077) | Miss Islington (bot) | 2018-09-10 | 1 | -14/+16 |
| | | | | | | | | | | | | The recursive frame pruning code always undercounted the number of elided frames by one. That is, in the "[Previous line repeated N more times]" message, N would always be one too few. Near the recursive pruning cutoff, one frame could be silently dropped. That situation is demonstrated in the OP of the bug report. The fix is to start the identical frame counter at 1. (cherry picked from commit d545869d084e70d4838310e79b52a25a72a1ca56) Co-authored-by: Benjamin Peterson <benjamin@python.org> | ||||
| * | [3.6] bpo-31949: Fixed several issues in printing tracebacks ↵ | Serhiy Storchaka | 2017-11-15 | 1 | -51/+51 |
| | | | | | | | | | | | | | (PyTraceBack_Print()). (GH-4289) (#4406) * Setting sys.tracebacklimit to 0 or less now suppresses printing tracebacks. * Setting sys.tracebacklimit to None now causes using the default limit. * Setting sys.tracebacklimit to an integer larger than LONG_MAX now means using the limit LONG_MAX rather than the default limit. * Fixed integer overflows in the case of more than 2**31 traceback items on Windows. * Fixed output errors handling.. (cherry picked from commit edad8eebeee3c99e324a7f1ac5073167c2b0b54d) | ||||
| * | Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception | Serhiy Storchaka | 2016-10-18 | 1 | -20/+26 |
| |\ | | | | | | | loss in PyTraceBack_Here(). | ||||
| | * | Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception | Serhiy Storchaka | 2016-10-18 | 1 | -20/+26 |
| | | | | | | | | | loss in PyTraceBack_Here(). | ||||
| * | | Avoid calling functions with an empty string as format string | Victor Stinner | 2016-09-06 | 1 | -2/+2 |
| | | | | | | | | | Directly pass NULL rather than an empty string. | ||||
| * | | Fix reference leak in tb_printinternal() | Victor Stinner | 2016-08-20 | 1 | -0/+2 |
| | | | | | | | | | Issue #26823. | ||||
| * | | Issue #26823: Abbreviate recursive tracebacks | Nick Coghlan | 2016-08-15 | 1 | -4/+32 |
| | | | | | | | | | | | | | | | | | Large sections of repeated lines in tracebacks are now abbreviated as "[Previous line repeated {count} more times]" by both the traceback module and the builtin traceback rendering. Patch by Emanuel Barry. | ||||
| * | | Issue #27336: Fix compilation failures --without-threads | Berker Peksag | 2016-06-17 | 1 | -1/+1 |
| | | | |||||
| * | | Rework _Py_DumpASCII() to make Coverity happy | Victor Stinner | 2016-03-23 | 1 | -8/+8 |
| | | | |||||
| * | | Issue #23848: Expose _Py_DumpHexadecimal() | Victor Stinner | 2016-03-23 | 1 | -8/+9 |
| | | | | | | | | | This function will be reused by faulthandler. | ||||
| * | | faulthandler now works in non-Python threads | Victor Stinner | 2016-03-16 | 1 | -2/+47 |
| | | | | | | | | | | | | | | | | | | | | | | | Issue #26563: * Add _PyGILState_GetInterpreterStateUnsafe() function: the single PyInterpreterState used by this process' GILState implementation. * Enhance _Py_DumpTracebackThreads() to retrieve the interpreter state from autoInterpreterState in last resort. The function now accepts NULL for interp and current_tstate parameters. * test_faulthandler: fix a ResourceWarning when test is interrupted by CTRL+c | ||||
| * | | Fix compilation error of traceback.c on Windows | Victor Stinner | 2016-03-16 | 1 | -3/+3 |
| | | | | | | | | | Issue #26564. | ||||
| * | | Enhance and rewrite traceback dump C functions | Victor Stinner | 2016-03-15 | 1 | -53/+56 |
| |/ | | | | | | | | | | | | | Issue #26564: * Expose _Py_DumpASCII() and _Py_DumpDecimal() in traceback.h * Change the type of the second _Py_DumpASCII() parameter from int to unsigned long * Rewrite _Py_DumpDecimal() and dump_hexadecimal() to write directly characters in the expected order, avoid the need of reversing the string. * dump_hexadecimal() limits width to the size of the buffer * _Py_DumpASCII() does nothing if the object is not a Unicode string * dump_frame() wrtites "???" as the line number if the line number is negative | ||||
| * | Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add. | Serhiy Storchaka | 2015-06-21 | 1 | -1/+1 |
| |\ | | | | | | | Patch by Michael Ensslin. | ||||
| | * | Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add. | Serhiy Storchaka | 2015-06-21 | 1 | -1/+1 |
| | | | | | | | | | Patch by Michael Ensslin. | ||||
| * | | Issue #23524: Replace _PyVerify_fd function with calls to ↵ | Steve Dower | 2015-04-12 | 1 | -0/+2 |
| | | | | | | | | | _set_thread_local_invalid_parameter_handler. | ||||
| * | | Issue #23836: Use _Py_write_noraise() to retry on EINTR in _Py_DumpTraceback() | Victor Stinner | 2015-04-01 | 1 | -8/+20 |
| | | | | | | | | | | | and _Py_DumpTracebackThreads(). Document also these functions to explain that the caller is responsible to call PyErr_CheckSignals(). | ||||
| * | | Merge 3.4 (traceback) | Victor Stinner | 2015-03-25 | 1 | -1/+8 |
| |\ \ | |/ | |||||
| | * | Issue #23571: If io.TextIOWrapper constructor fails in _Py_DisplaySourceLine(), | Victor Stinner | 2015-03-25 | 1 | -1/+8 |
| | | | | | | | | | close the binary file to fix a resource warning. | ||||
| * | | (Merge 3.4) 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 #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 #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 #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. | ||||
| * | | faulthandler: enhance dump_ascii() to escape also non-printable ASCII | Victor Stinner | 2014-10-03 | 1 | -4/+5 |
| | | | | | | | | | characters (U+0000..U+001f and U+007f). | ||||
| * | | Issue #22156: Fix "comparison between signed and unsigned integers" compiler | Victor Stinner | 2014-08-15 | 1 | -1/+1 |
| |/ | | | | warnings in the Python/ subdirectory. | ||||
| * | Fix _Py_DisplaySourceLine(), if PyTokenizer_FindEncodingFilename() fails, clear | Victor Stinner | 2013-12-19 | 1 | -0/+2 |
| | | | | | the exception to not call open() with an exception set. | ||||
| * | Issue #19512, #19515: remove shared identifiers, move identifiers where they | Victor Stinner | 2013-11-07 | 1 | -5/+6 |
| | | | | | | | | are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file. | ||||
| * | Issue #19512: add some common identifiers to only create common strings once, | Victor Stinner | 2013-11-06 | 1 | -1/+1 |
| | | | | | | | | instead of creating temporary Unicode string objects Add also more identifiers in pythonrun.c to avoid temporary Unicode string objets for the interactive interpreter. | ||||
| * | Issue 19306: Add extra hints to faulthandler stack dumps that they are ↵ | Guido van Rossum | 2013-10-21 | 1 | -8/+8 |
| | | | | | upside down. | ||||
| * | merge 3.3 | Benjamin Peterson | 2013-07-21 | 1 | -1/+1 |
| |\ | |||||
| | * | fix spacing | Benjamin Peterson | 2013-07-21 | 1 | -1/+1 |
| | | | |||||
| * | | merge 3.3 | Benjamin Peterson | 2013-07-21 | 1 | -2/+2 |
| |\ \ | |/ | |||||
| | * | let's not return NULL from functions that should return ints | Benjamin Peterson | 2013-07-21 | 1 | -2/+2 |
| | | | |||||
| * | | Check return value of lseek() in _Py_DisplaySourceLine(). | Christian Heimes | 2013-07-21 | 1 | -1/+7 |
| |\ \ | |/ | | | | | | | Also use portable SEEK_SET instead of 0. CID 1040639 | ||||
| | * | Check return value of lseek() in _Py_DisplaySourceLine(). | Christian Heimes | 2013-07-21 | 1 | -1/+7 |
| | | | | | | | | | | | Also use portable SEEK_SET instead of 0. CID 1040639 | ||||
| * | | Check return value of PyObject_AsFileDescriptor() in _Py_DisplaySourceLine() ↵ | Christian Heimes | 2013-07-20 | 1 | -0/+5 |
| |\ \ | |/ | | | | | | | | | for error CID 486768 | ||||
| | * | Check return value of PyObject_AsFileDescriptor() in _Py_DisplaySourceLine() ↵ | Christian Heimes | 2013-07-20 | 1 | -0/+5 |
| | | | | | | | | | | | | | for error CID 486768 | ||||
| * | | Issue #18408: Fix _Py_DisplaySourceLine() | Victor Stinner | 2013-07-15 | 1 | -1/+3 |
| | | | | | | | | | | | Report _Py_FindSourceFile() error, so the error is cleared; and clear io.open(filename) exception on failure. | ||||
| * | | Fix compilater warnings on Windows 64-bit | Victor Stinner | 2013-05-16 | 1 | -1/+1 |
| |/ | |||||
| * | Issue #15463: the faulthandler module truncates strings to 500 characters, | Victor Stinner | 2012-07-30 | 1 | -1/+1 |
| | | | | | instead of 100, to be able to display long file paths | ||||
| * | Issue #15365: Make traceback reporting ignore any errors when printing out | Kristján Valur Jónsson | 2012-07-19 | 1 | -1/+4 |
| | | | | | | the source line. Such errors can't be reported anyway. This makes error reporting work, even if the "io" module can't be loaded. | ||||
| * | Remove "#ifdef Py_UNICODE_WIDE": Python is now always wide | Victor Stinner | 2011-11-22 | 1 | -8/+2 |
| | | |||||
| * | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -4/+4 |
| | | |||||
| * | Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 | Victor Stinner | 2011-10-14 | 1 | -2/+1 |
| | | |||||
| * | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -4/+8 |
| | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
| * | traceback: fix dump_ascii() for string with kind=PyUnicode_WCHAR_KIND | Victor Stinner | 2011-10-05 | 1 | -3/+13 |
| | | |||||
| * | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -22/+39 |
| | | |||||
| * | Issue #9319: Include the filename in "Non-UTF8 code ..." syntax error. | Victor Stinner | 2011-04-04 | 1 | -3/+3 |
| | | |||||
| * | Issue #11393: _Py_DumpTraceback() writes the header even if there is no frame | Victor Stinner | 2011-04-01 | 1 | -7/+7 |
| | | |||||
