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 JelleZijlstra
Recipients JelleZijlstra
Date 2021-06-18.13:39:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624023559.66.0.0464260239119.issue44453@roundup.psfhosted.org>
In-reply-to
Content
https://docs.python.org/3/library/sysconfig.html#sysconfig.get_path says it returns None if the name is not found, but the implementation (https://github.com/python/cpython/blame/main/Lib/sysconfig.py) uses [] and will raise KeyError instead.

Noticed by @srittau in https://github.com/python/typeshed/pull/5659. I will submit a PR.
History
Date User Action Args
2021-06-18 13:39:19JelleZijlstrasetrecipients: + JelleZijlstra
2021-06-18 13:39:19JelleZijlstrasetmessageid: <1624023559.66.0.0464260239119.issue44453@roundup.psfhosted.org>
2021-06-18 13:39:19JelleZijlstralinkissue44453 messages
2021-06-18 13:39:19JelleZijlstracreate