Patches item #1676135, was opened at 2007-03-07 23:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1676135&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bj�rn Lindqvist (sonderblade)
Assigned to: Nobody/Anonymous (nobody)
Summary: Remove trailing slash from --prefix

Initial Comment:
Two tests in test_inspect.py failed for me with the following traceback:

======================================================================
FAIL: test_stack (__main__.TestInterpreterStack)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_inspect.py", line 92, in test_stack
    (modfile, 16, 'eggs', ['    st = inspect.stack()\n'], 0))
AssertionError: ('/tmp/install//lib/python2.6/test/inspect_fodder.py', 16, 
'eggs', ['    st = inspect.stack()\n'], 0) != 
('/tmp/install/lib/python2.6/test/inspect_fodder.py', 16, 'eggs', ['    st = 
inspect.stack()\n'], 0)

This happened because I configured Python with "./configure 
--prefix=/tmp/install/" and autoconf automagically created paths such as 
${prefix}/lib so it got a double slash. 

Double slashes are completely harmless on Unix and test_inspect.py is probably 
wrong in comparing two paths like that. Nevertheless, they are ugly and I think 
it is worthwhile to eliminate them. So here is patch that does that by adding a 
"hack" to configure.in.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1676135&group_id=5470
_______________________________________________
Patches mailing list
Patches@python.org
http://mail.python.org/mailman/listinfo/patches

Reply via email to