SIGN IN SIGN UP

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.
S
Serhiy Storchaka committed
edad8eebeee3c99e324a7f1ac5073167c2b0b54d
Parent: 6545256
Committed by GitHub <noreply@github.com> on 11/15/2017, 3:38:52 PM