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 <rep...@bugs.python.org> <http://bugs.python.org/issue26541> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com