Author vstinner
Recipients guettli, serhiy.storchaka, vstinner
Date 2018-11-19.11:32:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Maybe the Python documentation can be enhanced to document functions which are known to have a side-effect "process-wide" vs "thread-safe" functions. For example, signal.pthread_sigmark() affects the current thread, wheras locale.setlocale() is process-wide.

See "POSIX Safety Concepts" of the glibc:

Example with setlocale, "MT-Unsafe":
Date User Action Args
2018-11-19 11:32:26vstinnersetrecipients: + vstinner, guettli, serhiy.storchaka
2018-11-19 11:32:26vstinnersetmessageid: <>
2018-11-19 11:32:26vstinnerlinkissue35275 messages
2018-11-19 11:32:26vstinnercreate