Author vstinner
Recipients Arfrever, akitada, andybuckley, barry, belopolsky, carlos.velasco, catalin.iacob, christian.heimes, cstratak, doko, eitan.adler, eric.araujo, hroncok, ivazquez, jafo, jcea, lemburg, matejcik, mcepl, miss-islington, petr.viktorin, pillarsdotnet, piotr.dobrogost, tarek, vstinner
Date 2020-03-03.18:26:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Why "sys.python_libdir"?  Isn't that too public? A lot of similar path-related info is in sysconfig; why shouldn't it be there?

I replied in a previous comment:

"Matthias Klose asked to not add another sys attribute, but Jan Matějek explained that the option value is needed to import the sysconfig module. Moreover, the option value is needed in the site module and we are trying to avoid "import sysconfig" in site since it would slowdown Python startup time."

> How does "sys.python_libdir" work on other platforms?

On Windows, the variable is equal to "lib". It's equal to "lib" on all platforms, except if you use configure to override its value.

Does it reply to your question?
Date User Action Args
2020-03-03 18:26:50vstinnersetrecipients: + vstinner, lemburg, barry, doko, jafo, jcea, belopolsky, christian.heimes, matejcik, tarek, ivazquez, mcepl, eric.araujo, Arfrever, akitada, andybuckley, petr.viktorin, catalin.iacob, piotr.dobrogost, eitan.adler, cstratak, hroncok, miss-islington, pillarsdotnet, carlos.velasco
2020-03-03 18:26:50vstinnersetmessageid: <>
2020-03-03 18:26:50vstinnerlinkissue1294959 messages
2020-03-03 18:26:50vstinnercreate