[issue15164] add platform.uname() namedtuple interface?

2012-06-24 Thread Larry Hastings
Larry Hastings added the comment: Done! And just in time for... something! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement ___ Python tracker __

[issue15164] add platform.uname() namedtuple interface?

2012-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 344b06318aca by Larry Hastings in branch 'default': Issue #15164: Change return value of platform.uname() from a http://hg.python.org/cpython/rev/344b06318aca -- nosy: +python-dev ___ Python tracker

[issue15164] add platform.uname() namedtuple interface?

2012-06-24 Thread Larry Hastings
Larry Hastings added the comment: Third diff, incorporating all of Georg's suggestions. -- Added file: http://bugs.python.org/file26138/larry.platform.unamedtuple.3.diff ___ Python tracker

[issue15164] add platform.uname() namedtuple interface?

2012-06-24 Thread Larry Hastings
Larry Hastings added the comment: Docs fixed, new unit tests for namedtuple interface added. -- Added file: http://bugs.python.org/file26137/larry.platform.unamedtuple.2.diff ___ Python tracker ___

[issue15164] add platform.uname() namedtuple interface?

2012-06-24 Thread Larry Hastings
Larry Hastings added the comment: Patch isn't ready, no doc changes. But code review can happen. -- keywords: +patch Added file: http://bugs.python.org/file26136/larry.platform.unamedtuple.1.diff ___ Python tracker

[issue15164] add platform.uname() namedtuple interface?

2012-06-24 Thread Georg Brandl
New submission from Georg Brandl : Followup to #15118. See rev 75b818d7c50d -- the patch converted a usage of platform.uname(), which errored out on Mac. Since os.uname() is supposed to be the "low-level" interface, it suggests that platform.uname() should also return an attribute-rich object