← 输入框|bugs.python.org|刷新

➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 ronaldoussoren
收信人 fxcoudert, miss-islington, ned.deily, ronaldoussoren
日期 2020-12-03.18:53:15
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1607021595.9.0.973677855257.issue42504@roundup.psfhosted.org>
In-reply-to
内容
The value *for this key* is a dot separated sequence of integer labels in a string. The limit of that is a single integer label that could be converted to a Python int. 

With the current patch get_config_var('MACOSX_DEPLOYMENT_TARGET') mostly returns a string, but sometimes an integer.  And the last part is new behaviour, which means existing consumers of this won't be prepared to handle a non-string value (other than None).

I'll probably create an alternative PR this weekend.


sysconfig converts config values that look like integers to python ints because that's often useful, but in this case it isn't. This part of the code base is old and has not very well defined semantics.
历史
日期 用户 动作 参数
2020-12-03 18:53:15ronaldoussoren修改recipients: + ronaldoussoren, ned.deily, miss-islington, fxcoudert
2020-12-03 18:53:15ronaldoussoren修改messageid: <1607021595.9.0.973677855257.issue42504@roundup.psfhosted.org>
2020-12-03 18:53:15ronaldoussoren链接issue42504 messages
2020-12-03 18:53:15ronaldoussoren创建