diff options
author | Victor Stinner <vstinner@python.org> | 2025-01-17 13:55:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 13:55:43 (GMT) |
commit | d7f703d54d64c5a380f43e2363c439f7dab0d09d (patch) | |
tree | a0673002140047189152d7ee29077f78f0c770e7 /Lib/pydoc.py | |
parent | 76856ae1659dbba066e51f353b31cb7cf0a8a5fe (diff) | |
download | cpython-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