如何在Mac上使用计算的goto(--with-computed-gotos)构建Python?

Since Python 3.2, Computed gotos are enabled by default: documentation

Computed gotos are now enabled by default on supported compilers (which are detected by the configure script). They can still be disabled selectively by specifying --without-computed-gotos.

但是,在Mac上,已安装的Python未启用计算的gotos。

# Tested on macOS 10.15.3, with pyenv installed Python 3.7, 3.8

>>> import sysconfig
>>> sysconfig.get_config_var('USE_COMPUTED_GOTOS')
0

我猜是因为所使用的编译器(默认为Clang)不支持此功能。反正有解决方法吗?