Boost logo

Boost-Build :

Subject: Re: [Boost-build] jam/python function calling
From: Anthony Foglia (AFoglia_at_[hidden])
Date: 2010-07-14 14:42:19

Steven Watanabe wrote:
> Python supports tuples in the argument list, so you could use
> def feature((name,), values, attributes = []):
> print name
> print values
> print attributes

Not in Python 3. I'm not saying you should aim for Python 3, but you
should probably refrain from using features that are removed.

(The appropriate code changes for this syntax are supposedly supported
by the conversion script though.)

Anthony Foglia
Princeton Consultants
(609) 987-8787 x233

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at