Bug 14610

Summary: sys.platform == 'linux-i386'
Product: [Retired] Red Hat Linux Reporter: Dimitri Papadopoulos <dimitri.papadopoulos>
Component: pythonAssignee: Matt Wilson <msw>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-07-25 11:38:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dimitri Papadopoulos 2000-07-25 11:38:21 UTC
Hi,

You seem to have patched python so that sys.platform is 'linux-i386'
instead of 'linux2'.
Although I can understand why this patch was applied, it breaks too many
scripts.
Please remove this patch and use platform.py instead if you need detailed
information
on the platform.

Regards,
Dimitri

Comment 1 Matt Wilson 2001-01-27 02:28:39 UTC
This is no patch.  You pass MACHDEP=linux-$RPM_ARCH into the configure program.
 The sys.platform is for adding on to paths to find the platform specific
directories.  Its value should not be depended on.