Boost logo

Boost-Build :

Subject: Re: [Boost-build] RFC: Boost.Build Python Prototype
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2016-11-16 01:54:22

On 16-Nov-16 12:06 AM, Stefan Seefeld wrote:
> On 15.11.2016 15:07, Stefan Seefeld wrote:
>> On 15.11.2016 14:49, Vladimir Prus wrote:
>>> On 15-Nov-16 6:45 PM, Stefan Seefeld wrote:
>>>> Are generators documented or discussed on a conceptual / abstract level
>>>> somewhere ?
>>> The file I've linked has fairly lengthy comment at the top that might
>>> be helpful.
>> Indeed, and I have started studying that. Do you have unit-tests or
>> something similar where I could see generator objects in action ?
> OK, I have found test/ and
> test/ Is there a fundamental reason why these
> tests have to involve Jam code ? In other words, could the tests work by
> calling the generator (Python) interface directly ? That would make it
> simpler to understand their functionality at an API level.

When these tests were written, there was no Python interface to call.
Yes, having unit tests for Python version of generators layer should
be possible and desirable.

- Volodya

Vladimir Prus

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