[issue19340] test_sysconfig.test_srcdir fails when sys.base_prefix=/

2013-10-23 Thread Sunny K
Changes by Sunny K sunfin...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file32314/test_sysconfig.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19340 ___

[issue19340] test_sysconfig.test_srcdir fails when sys.base_prefix=/

2013-10-23 Thread Sunny K
Changes by Sunny K sunfin...@gmail.com: -- nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19340 ___ ___ Python-bugs-list mailing list

[issue19340] test_sysconfig.test_srcdir fails when sys.base_prefix=/

2013-10-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch looks fine to me. -- nosy: +pitrou priority: normal - low stage: - patch review versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19340

[issue19340] test_sysconfig.test_srcdir fails when sys.base_prefix=/

2013-10-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset ef6eb5ce4f8e by Antoine Pitrou in branch '3.3': Issue #19340: Fix test_sysconfig when Python is built with an empty prefix. http://hg.python.org/cpython/rev/ef6eb5ce4f8e New changeset f797a14cbcfd by Antoine Pitrou in branch 'default': Issue

[issue19340] test_sysconfig.test_srcdir fails when sys.base_prefix=/

2013-10-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patched committed, thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19340

[issue19340] test_sysconfig.test_srcdir fails when sys.base_prefix=/

2013-10-21 Thread Sunny K
New submission from Sunny K: While working on issue7757, i noticed that test_srcdir fails when python is built with prefix . This is because in Lib/sysconfig.py, _safe_realpath() is called on srcdir which normalises //lib to /lib. In the test case, it is compared directly to the output of