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 mattip
Recipients fxcoudert, mattip, miss-islington, ned.deily, ronaldoussoren
Date 2020-12-09.07:02:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607497352.37.0.418542881409.issue42504@roundup.psfhosted.org>
In-reply-to
Content
It seems the approach that "The code for sysconfig.get_config_var() has a pretty clear intent: it will try to cast its return value to an int." has been accepted as true even though other parts of the code assumed the returned value was a string, and the CPython code was updated appropriately. This is causing problems for downstream libraries like NumPy, see https://github.com/numpy/numpy/pull/17906. If CPython does not wish to reconsider this decision, it should at least be documented clearly via a type hint and/or in the documentation for sysconfig.get_config_var https://docs.python.org/3/library/sysconfig.html#sysconfig.get_config_var
History
Date User Action Args
2020-12-09 07:02:32mattipsetrecipients: + mattip, ronaldoussoren, ned.deily, miss-islington, fxcoudert
2020-12-09 07:02:32mattipsetmessageid: <1607497352.37.0.418542881409.issue42504@roundup.psfhosted.org>
2020-12-09 07:02:32mattiplinkissue42504 messages
2020-12-09 07:02:31mattipcreate