Author vstinner
Recipients vstinner
Date 2019-06-17.08:07:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Python 3.7 has been modified to always require threading support:


commit a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344
Author: Antoine Pitrou <>
Date:   Thu Sep 7 18:56:24 2017 +0200
    bpo-31370: Remove support for threads-less builds (#3385)
    * Remove Setup.config
    * Always define WITH_THREAD for compatibility.


In Python 3.8, the dummy_threading module is documented as:

"This module provides a duplicate interface to the threading module. It was meant to be imported when the _thread module was not provided on a platform.

Be careful to not use this module where deadlock might occur from a thread being created that blocks waiting for another thread to be created. This often occurs with blocking I/O."

And the doc starts with: "Deprecated since version 3.7: Python now always has threading enabled. Please use threading instead."

IMHO it's now time to remove this module.


I proposed to remove these modules today after I saw a bug on _dummy_thread: bpo-36688.
Date User Action Args
2019-06-17 08:07:53vstinnersetrecipients: + vstinner
2019-06-17 08:07:53vstinnersetmessageid: <>
2019-06-17 08:07:53vstinnerlinkissue37312 messages
2019-06-17 08:07:53vstinnercreate