Patches item #1352731, was opened at 2005-11-10 02:19 Message generated for change (Comment added) made by lemburg 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 Private: No 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: M.-A. Lemburg (lemburg) Date: 2006-11-09 08:49 Message: Logged In: YES user_id=38388 I'm currently working on an updated version of platform.py that will include part of this patch, patch #1563842 for IronPython and better support for Jython. ---------------------------------------------------------------------- Comment By: Martin v. Löwis (loewis) Date: 2006-11-09 06:21 Message: Logged In: YES user_id=21627 Marc-Andre, would you rather accept or reject this patch, because of the incompatibility? ---------------------------------------------------------------------- Comment By: daishi harada (daishiharada) Date: 2006-10-10 01: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 20: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 02: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
