Bug 53930 - build-root path is compiled in
Summary: build-root path is compiled in
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: python
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mihai Ibanescu
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-09-21 23:09 UTC by Enrico Scholz
Modified: 2007-04-18 16:37 UTC (History)
0 users

Fixed In Version: 2.2.3-7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-02-04 23:43:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Enrico Scholz 2001-09-21 23:09:48 UTC
Description of Problem:

The build-root path is compiled into the .pyc and .pyo files. When printing
a traceback this path will be shown.


Version-Release number of selected component (if applicable):

python-2.2-0.3a


How Reproducible:

everytime

Steps to Reproduce:
1. cat <<"EOF" >test.py
import sys,traceback,xmlrpclib

try:
    xmlrpclib.dumps( ('foo', 'bar'), methodresponse=1 )
except:
    traceback.print_exc(file=sys.stdout)
EOF
2. python test.py


Actual Results:

Traceback (most recent call last):
  File "<stdin>", line 2, in ?
  File "/var/tmp/python-2.2-root/usr/lib/python2.2/xmlrpclib.py", line 737,
in dumps
    assert len(params) == 1, "response tuple must be a singleton"
AssertionError: response tuple must be a singleton


Expected Results:

no '/var/tmp/python-2.2-root' in the path of xmlrpclib.py

Comment 1 Trond Eivind Glomsrxd 2002-08-13 23:12:22 UTC
Still a problem.

Comment 2 Mihai Ibanescu 2002-10-21 21:43:35 UTC
Fixed in python-2.2.1-18.

Comment 3 Miloslav Trmac 2004-02-04 23:43:20 UTC
Fix confirmed in python-2.2.3-7.


Note You need to log in before you can comment on or make changes to this bug.