Python ABI 标签中的 'm' 是什么意思?
What does the 'm' in a Python ABI tag mean?
PEP 425 解释了内置 python 发行版的兼容性标签格式,但没有详细解释 ABI 标签。
ABI 标签可以以字母 'd'、'm' 和 'u' 的组合结尾。例如,PEP 中解释说 'd' 表示带调试的 ABI,this answer 解释说 'u' 表示用 --enable-unicode=ucs4
编译的解释器,但我在任何地方都找不到 'm' 的含义。
根据 PEP 3149, m
indicates that the ABI in question is using the pymalloc
allocator:
Python implementations MAY include additional flags in the file name tag as appropriate. For example, on POSIX systems these flags will also contribute to the file name:
--with-pydebug
(flag: d
)
--with-pymalloc
(flag: m
)
--with-wide-unicode
(flag: u
)
PEP 425 解释了内置 python 发行版的兼容性标签格式,但没有详细解释 ABI 标签。
ABI 标签可以以字母 'd'、'm' 和 'u' 的组合结尾。例如,PEP 中解释说 'd' 表示带调试的 ABI,this answer 解释说 'u' 表示用 --enable-unicode=ucs4
编译的解释器,但我在任何地方都找不到 'm' 的含义。
根据 PEP 3149, m
indicates that the ABI in question is using the pymalloc
allocator:
Python implementations MAY include additional flags in the file name tag as appropriate. For example, on POSIX systems these flags will also contribute to the file name:
--with-pydebug
(flag:d
)--with-pymalloc
(flag:m
)--with-wide-unicode
(flag:u
)