diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-15 15:38:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-15 15:38:52 (GMT) |
commit | edad8eebeee3c99e324a7f1ac5073167c2b0b54d (patch) | |
tree | 51d1b1a41e635461c0f82cf8e754b2b8dd982b21 /Misc/NEWS.d | |
parent | 6545256df93ba54f811206107274cfa5a6d76b86 (diff) | |
download | cpython-edad8eebeee3c99e324a7f1ac5073167c2b0b54d.zip cpython-edad8eebeee3c99e324a7f1ac5073167c2b0b54d.tar.gz cpython-edad8eebeee3c99e324a7f1ac5073167c2b0b54d.tar.bz2 |
bpo-31949: Fixed several issues in printing tracebacks (PyTraceBack_Print()). (#4289)
* 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.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2017-11-05-16-11-07.bpo-31949.2yNC_z.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-11-05-16-11-07.bpo-31949.2yNC_z.rst b/Misc/NEWS.d/next/Core and Builtins/2017-11-05-16-11-07.bpo-31949.2yNC_z.rst new file mode 100644 index 0000000..029cb57 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2017-11-05-16-11-07.bpo-31949.2yNC_z.rst @@ -0,0 +1,9 @@ +Fixed several issues in printing tracebacks (PyTraceBack_Print()). + +* 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. |