[Python-Dev] [Python-checkins] cpython: Issue #11223: Add threading._info() function providing informations about the (original) (raw)

Terry Reedy tjreedy at udel.edu
Wed Apr 20 23:47:45 CEST 2011


On 4/20/2011 12:57 PM, Benjamin Peterson wrote:

On 4/19/2011 5:59 PM, victor.stinner wrote:

Issue #11223: Add threading.info() function providing informations about the thread implementation.

How about using a structseq ala sys.floatinfo or sys.longinfo? (In fact, we might want to put this in sys.)

sys.thread_info strikes me as a good idea too. The only thing required should be 'name' with '' at the default indicating no threading.

-- Terry Jan Reedy



More information about the Python-Dev mailing list