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.

Author ronaldoussoren
Recipients fxcoudert, miss-islington, ned.deily, ronaldoussoren
Date 2020-12-03.18:53:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607021595.9.0.973677855257.issue42504@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-12-03 18:53:15ronaldoussorensetrecipients: + ronaldoussoren, ned.deily, miss-islington, fxcoudert
2020-12-03 18:53:15ronaldoussorensetmessageid: <1607021595.9.0.973677855257.issue42504@roundup.psfhosted.org>
2020-12-03 18:53:15ronaldoussorenlinkissue42504 messages
2020-12-03 18:53:15ronaldoussorencreate