title: Python thread name doesn't show up on ps or htop
body: <p>When I set the name for a Python thread, it doesn't show up on htop or ps. The ps output only shows <code>python</code> as the thread name. Is there any way to set a thread name so that it shows up on system reports like them?</p>
  <pre><code>from threading import Thread
  import time
  
  
  def sleeper():
      while True:
          time.sleep(10)
          print &quot;sleeping&quot;
  
  t = Thread(target=sleeper, name=&quot;Sleeper01&quot;)
  t.start()
  t.join()
  </code></pre>
  <p><code>ps -T -p {PID}</code> output</p>
  <pre><code>  PID  SPID TTY          TIME CMD
  31420 31420 pts/30   00:00:00 python
  31420 31421 pts/30   00:00:00 python
  </code></pre>