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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to