Distinguishing Debian and Fedora

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
SCons has a way of distinguishing Windows, OSX, and Linux, but assumes
all Windows are the same, all OSX are the same and all Linux are the
same. Whilst assuming all Windows and all OSX are the same, trying to
assume all Linux are the same can be seriously problematic.

I wonder it it is time to replace the current way of distinguishing
platforms for an enum or two instead of using strings?

Enum and IntEnum are part of Python 3.4+ and there is the enum34
package to backport to Python 2.7.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc (application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlaeBzcACgkQ+ooS3F10Be9njwCcD6BVSB22vwGIlwzg65tyVZ3G
K1oAn1eoEEP7TUR53CiW+8F4l6dpHj50
=+I1B
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.