diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-15 18:04:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-15 18:04:46 +0200 |
| commit | 3864248866d6224336c7be49670447cb4d125cd6 (patch) | |
| tree | 3b17aa9488ad298fa8b16c2b4271bef323479920 /Python/marshal.c | |
| parent | eb38367f20b05f2ad04a4833bceb369b5e78b1a3 (diff) | |
| download | cpython-git-3864248866d6224336c7be49670447cb4d125cd6.tar.gz | |
[3.6] bpo-31949: Fixed several issues in printing tracebacks (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)
Diffstat (limited to 'Python/marshal.c')
0 files changed, 0 insertions, 0 deletions
