Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10086
___
___
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment:
,AC�ric Araujo writes:
Attaching a patch with your two suggestions.
Added file: http://bugs.python.org/file19264/fix10086.diff
Not quite, since I suggested
global_path.startswith(os.path.join(base, ))
instead of
Éric Araujo mer...@netwok.org added the comment:
Thanks for the fix, good catch! Do you want to write a patch to test_sysconfig
to add a test? Otherwise I’ll do it.
--
components: +Distutils2, Library (Lib)
versions: +3rd party, Python 2.7, Python 3.1
Éric Araujo mer...@netwok.org added the comment:
I wrote too fast, I thought your diff was for sysconfig itself, not
test_sysconfig.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10086
Éric Araujo mer...@netwok.org added the comment:
Attaching a patch with your two suggestions.
Two things worry me and prevent me from committing right now:
1) sysconfig was originally distutils.sysconfig, and some duplication remains.
Can’t this bug happen with distutils.sysconfig too?
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment:
It's with 'purelib' because my prefix /site matches /site-packages.
This fixes it for me, but maybe you should also assert that
global_path.startswith(os.path.join(base, )).
--- Lib/test/test_sysconfig.py~ 2010-09-20
+++
New submission from Hallvard B Furuseth h.b.furus...@usit.uio.no:
test_sysconfig on Python 3.2a3 fails with AssertionError:
'/home/sjef/.local/lib/python3.2/site-packages' !=
'/home/sjef/.local/lib/python3.2/home/sjef/.local-packages'
Python-3.2a3$ ./python Lib/test/regrtest.py -v
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - tarek
components: +Distutils -Tests
nosy: +eric.araujo, tarek
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10086
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report. Can you tell us what ./configure line you used before
running make? Or maybe you edited site.py or created a sitecustomize.py?
Tarek, Antoine: Is “Distutils” the right component for sysconfig bugs? (I
thought it would
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment:
./configure --prefix=/site on Ubuntu.
Unedited site.py.
I had Python3.2a2 installed, but removing it did
not make the test do anything different.
Nor did removing /home/sjef/.local/lib/python3.2,
which only contained an empty
10 matches
Mail list logo