Author ronaldoussoren
Recipients barry-scott, ned.deily, r.david.murray, ronaldoussoren
Date 2020-10-23.19:33:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I've been using the scriptlet below to try to attempt to reproduce the problem. I'm not sure if this matches the way the program of the OP is set up.

The scriptlet below works for me without problems (macOS 10.15, Python 3.4 - 3.9).

This either means the problem has been fixed in the meantime (if it was an OS bug), or my script doesn't reproduce the problematic setup.

The traceback in the first message is due to LC_CTYPE=UTF-8 in the default shell environment on macOS, which wasn't recognised by for a long time. That issue has been fixed though.

# ----
import locale
import threading

def thread():
    print("thread locale:", locale.getlocale())

locale.setlocale(locale.LC_ALL, "en_US.UTF-8")

t = threading.Thread(target=thread)
Date User Action Args
2020-10-23 19:33:57ronaldoussorensetrecipients: + ronaldoussoren, barry-scott, ned.deily, r.david.murray
2020-10-23 19:33:57ronaldoussorensetmessageid: <>
2020-10-23 19:33:57ronaldoussorenlinkissue23797 messages
2020-10-23 19:33:57ronaldoussorencreate