Emanuel Barry added the comment: Alright, I think this works now. No more magic number, just some regex as well as checking that the number is in range(sys.getrecursionlimit()-50, sys.getrecursionlimit()) :)
---------- Added file: http://bugs.python.org/file43866/short_tracebacks_7.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26823> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com