[New-bugs-announce] [issue26541] Add stop_after parameter to setup()

Memeplex report at bugs.python.org
Fri Mar 11 12:56:37 EST 2016

New submission from Memeplex:

The current implementation offers a stop_after parameter for run_setup() but not for setup(). This design has some shortcomings:

1. It couples the possibility to stop setup after some phase to the fact that the setup function resides in another file. But the feature is also useful when directly invoking setup (for example, if you want to tweak the dist before running it).

2. The other parameters to run_setup are already parameters to setup. It would be more consistent to make all three parameters common to both methods.

3. Arguably messy global variable manipulation to communicate run_setup and setup.

components: Distutils
messages: 261588
nosy: dstufft, eric.araujo, memeplex
priority: normal
severity: normal
status: open
title: Add stop_after parameter to setup()
type: enhancement
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list