Bug 14610 - sys.platform == 'linux-i386'
Summary: sys.platform == 'linux-i386'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: python
Version: 6.2
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Matt Wilson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-07-25 11:38 UTC by Dimitri Papadopoulos
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-07-25 11:38:22 UTC


Attachments (Terms of Use)

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.



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