[Scons-users] Is this a feature or a bug…

Gary Oberbrunner garyo at oberbrunner.com
Tue Aug 21 11:04:18 EDT 2012


On Tue, Aug 21, 2012 at 10:44 AM, Russel Winder <russel at winder.org.uk> wrote:

> Just asking the question prior to putting in a bug report, just in case

> I have missed something…

>

> Command(XXX, YYY, [AAA, BBB])

>

> i.e. the action sequence is a list, works fine. However,

>

> Command(XXX, YYY, (AAA, BBB))

>

> is reported as an error, i.e. a tuple is not acceptable where a list is.

>

> To say this doesn't violate the Principle of Least Surprise would be to

> violate the Principle of Least Surprise.


I can't see any particular reason we shouldn't support tuples as well
as lists there, although actually doing it might be complicated.

--
Gary


More information about the Scons-users mailing list