Patches item #1352731, was opened at 2005-11-10 01:19
Message generated for change (Comment added) made by daishiharada
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1352731&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: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: daishi harada (daishiharada)
Assigned to: M.-A. Lemburg (lemburg)
Summary: Small upgrades to platform.platform()

Initial Comment:
This patch updates platform.platform() to recognize
some more Linux distributions. In addition, for RedHat-like
distributions, will use the contents of the /etc/<release-file>
to determine distname.

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

>Comment By: daishi harada (daishiharada)
Date: 2006-10-09 23:22

Message:
Logged In: YES 
user_id=493197

Thanks for the response.

If by "break" you mean that for redhat-like
distros the output of `python platform.py`
would no longer necessarily be the same after
the patch is applied, yes, that's true.

However, that was the primary motivation for
the patch - the current platform.py wasn't
sufficiently discriminating for my purposes.

In particular, the current platform.py ignores
the first "field" of the contents of
/etc/redhat-release, which I believe for
ROCKS was the only portion which was changed
from the redhat version on which it was based.



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

Comment By: M.-A. Lemburg (lemburg)
Date: 2006-10-09 18:31

Message:
Logged In: YES 
user_id=38388

Sorry for the late reply. I must have missed the initial SF
mail.

I've had a look at the patch, but I'm not sure whether it
can be accepted: wouldn't it break already recognized
RedHat-like platforms ?



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

Comment By: daishi harada (daishiharada)
Date: 2005-11-10 01:23

Message:
Logged In: YES 
user_id=493197

assigning to lemberg as suggested in the file.

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

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

Reply via email to