summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2025-01-17 13:55:43 (GMT)
committerGitHub <noreply@github.com>2025-01-17 13:55:43 (GMT)
commitd7f703d54d64c5a380f43e2363c439f7dab0d09d (patch)
treea0673002140047189152d7ee29077f78f0c770e7 /Lib/pydoc.py
parent76856ae1659dbba066e51f353b31cb7cf0a8a5fe (diff)
downloadcpython-d7f703d54d64c5a380f43e2363c439f7dab0d09d.zip
cpython-d7f703d54d64c5a380f43e2363c439f7dab0d09d.tar.gz
cpython-d7f703d54d64c5a380f43e2363c439f7dab0d09d.tar.bz2
gh-59705: Implement _thread.set_name() on Windows (#128675)
Implement set_name() with SetThreadDescription() and _get_name() with GetThreadDescription(). If SetThreadDescription() or GetThreadDescription() is not available in kernelbase.dll, delete the method when the _thread module is imported. Truncate the thread name to 32766 characters. Co-authored-by: Eryk Sun <eryksun@gmail.com>
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions