This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients benjamin.peterson, bgomes, christian.heimes, draghuram, georg.brandl, lemburg, pavel.vinogradov, sapetnioc
Date 2008-07-03.09:43:30
SpamBayes Score 2.3071478e-10
Marked as misclassified No
Message-id <1215078213.37.0.67258210368.issue1322@psf.upfronthosting.co.za>
In-reply-to
Content
Please see the top of platform.py:

#    This module is maintained by Marc-Andre Lemburg <mal@egenix.com>.
#    If you find problems, please submit bug reports/patches via the
#    Python SourceForge Project Page and assign them to "lemburg".
#
#    Note: Please keep this module compatible to Python 1.5.2.

I wonder why the ticket wasn't assigned to me.

Regarding the patch: 

 * the dist() function has been superseded by linux_distribution().

 * the supported_dists argument is a documented feature of
linux_distributions(), so should not be removed

 * the Windows name normalization should not be removed (it fixes a bug
in Vista)

 * the change from using string functions to using string methods breaks
1.5.2 compatibility (*)

 * the _ETC_DIR global just makes things harder to read and there's no
apparent need for it

(*) It's probably time to drop 1.5.2 compatibility and only keep the
module compatible to Python 2.1, so this is not much of an issue.

Overall, I think it's better to define a fixed search order for the
release files than to try to figure out and parse random release files
that happen to match the release file RE.

For that to work, it would help a lot if you could provide the file name
and contents of various platform release files.
History
Date User Action Args
2008-07-03 09:43:33lemburgsetspambayes_score: 2.30715e-10 -> 2.3071478e-10
recipients: + lemburg, georg.brandl, draghuram, christian.heimes, sapetnioc, benjamin.peterson, pavel.vinogradov, bgomes
2008-07-03 09:43:33lemburgsetspambayes_score: 2.30715e-10 -> 2.30715e-10
messageid: <1215078213.37.0.67258210368.issue1322@psf.upfronthosting.co.za>
2008-07-03 09:43:32lemburglinkissue1322 messages
2008-07-03 09:43:30lemburgcreate