[issue21125] traceback.extract_tb says "quadruple" when it means "tuple"

2014-04-01 Thread Glenn Maynard
New submission from Glenn Maynard: https://docs.python.org/2/library/traceback.html "A “pre-processed” stack trace entry is a quadruple (filename, line number, function name, text) representing the information that is usually printed for a stack trace." There's no such thing

[issue14073] allow per-thread atexit()

2013-11-25 Thread Glenn Maynard
Glenn Maynard added the comment: This would be useful. It shouldn't be part of atexit, since atexit.register() from a thread should register a process-exit handler; instead, something like threading.(un)register_atexit(). If called in a thread, the calls happen when run() returns; if c

[issue10278] add time.wallclock() method

2011-01-13 Thread Glenn Maynard
Glenn Maynard added the comment: I agree with Victor: Python should provide a function to supply monotonic time, which is what's really wanted for measuring time deltas. Far too many applications incorrectly use the system clock for this, and Python makes this worse by not providin