命名约定:'m'在libpython3.5m.dylib中的含义是什么

Stu*_*erg 7 python

我将python版本3.5安装到非系统目录.libpython的名称是:libpython3.5m.dylib.m名字中的最后一个字是什么意思?

Stu*_*erg 8

后缀是指python库的ABI细节.在这种情况下,m表示--with-pymalloc在编译python解释器时使用的.其他可能的后缀字符包括:d(--with-pydebug)和u(--with-wide-unicode).

有关扩展模块的ABI标记的更多详细信息,请参见PEP 3149.