Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pop_to function #26

Open
metasoarous opened this issue Mar 27, 2019 · 0 comments
Open

Add pop_to function #26

metasoarous opened this issue Mar 27, 2019 · 0 comments

Comments

@metasoarous
Copy link
Member

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?"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant