commit | 72460fa68ba98f5aa94cdc842070884403c0fc73 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim@python.org> | Mon Sep 09 18:48:24 2013 -0500 |
committer | Tim Peters <tim@python.org> | Mon Sep 09 18:48:24 2013 -0500 |
tree | c35fa089da52dce5cb1f10c373ce19b9b90e76c8 | |
parent | b5e9ac9ec63f2d437515edd2cbce31c5774e9dbd [diff] |
Get "stopped" back into repr(Thread) when appropriate. 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.