[issue6114] distutils build_ext path comparison only based on strings

Éric Araujo report at bugs.python.org
Wed Sep 8 04:49:24 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

Thanks for the report and patch.

I just tested that When the executable itself is symlinked (not installed, just linked from an existing installation), sys.exec_prefix and sys.executable are different. This means that a unit test (to prevent regressions) will be easy to write with the helpers in test.test_support (2.7)/test.support (3.x)/distutils2.tests.support.

os.path.samefile is not supported on Windows before 3.2; I guess we’ll have to live with that bug and just document it :(

Do you want to add tests for this? I’ll do it if you don’t.

(Out of curiosity, why are there three signed-off-by lines? Is there a secret community of distutils bug fixers using git?)

----------
assignee: tarek -> eric.araujo
components: +Distutils2
keywords: +easy
nosy: +eric.araujo
stage:  -> unit test needed

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


More information about the Python-bugs-list mailing list