[issue23746] sysconfg.is_python_build() is buggy

Anand B Pillai report at bugs.python.org
Mon Mar 23 10:50:07 CET 2015


Anand B Pillai added the comment:

On second thoughts, why have such a function if it works correctly only when executed from source Cpython folder using source CPython executable  and not otherwise ?

Cuz if I am calling it like that I already KNOW that I am in such an environment.

Possibly this is an internal function to be used by developers to find out if they are in such an environment.

IMHO Then -> make it private (not callable outside) or drop it altogether.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23746>
_______________________________________


More information about the Python-bugs-list mailing list