• Tim Peters's avatar
    Get "stopped" back into repr(Thread) when appropriate. · 72460fa6
    Tim Peters yazdı
    Due to recent changes, a Thread doesn't know that it's over before
    someone calls .join() or .is_alive().  That meant repr(Thread)
    continued to include "started" (and not "stopped") before one of
    those methods was called, even if hours passed since the thread
    ended.
    
    Repaired that.
    72460fa6
test_threading.py 33.7 KB