[Patches] [ python-Patches-560311 ] os.uname() on Darwin space in machine
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 08 Jul 2002 06:52:08 -0700
Patches item #560311, was opened at 2002-05-24 22:50
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=560311&group_id=5470
Category: Distutils and setup.py
Group: Python 2.2.x
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Tim Carlson (timcarlson)
>Assigned to: Jack Jansen (jackjansen)
Summary: os.uname() on Darwin space in machine
Initial Comment:
os.uname() on Darwin (Mac OS X) returns a string for
"machine" of
"Power MacIntosh" which can cause problems. Getting rid
of the space might be a good thing
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2002-07-08 15:52
Message:
Logged In: YES
user_id=45365
os.uname() is simply a wrapper around the C library function of te same name. It returns "Power Macintosh" as the machine type.
For reasons I don't understand the C interface doesn't allow you to get at the "generic processor type" that is returned by "uname -p". This would probably be more useful (as the value is "powerpc"). But then, Linux gets it wrong, and returns "i686" for machine name and "unknown" for processor type, exactly the wrong way around.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2002-05-27 15:31
Message:
Logged In: YES
user_id=21627
There's no uploaded file! You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.
Please try again.
(This is a SourceForge annoyance that we can do
nothing about. :-( )
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=560311&group_id=5470