Skip to content

Add pop_to function #26

@metasoarous

Description

@metasoarous

The nestly.scons.SConsWrap.pop method allows you to specify a name argument, which indicates the nest level you would like to pop off (it being understood that you also pop off any and all nest levels between the current nest level and that specified by name). However, it would be convenient to additionally have a pop_to method (or some such; pop_till, whatev) which would pop off all nest levels, excluding the specified name. This allows you to somewhat more easily/consistently pop to a specific nest level, so that you can (e.g.) aggregate some data there, without having to jump through so many hoops about "which nest level is above the one I want to pop to?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions