Thread-less builds became unsupported in upstream commit a6a4dc816d68 ("bpo-31370: Remove support for threads-less builds (#3385)"), and as such this config option has been unrecognized since python3.7.