STINNER Victor <vstin...@python.org> added the comment:

> 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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue1294959>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to