[New-bugs-announce] [issue36146] Refactor setup.py

STINNER Victor report at bugs.python.org
Thu Feb 28 10:37:34 EST 2019


New submission from STINNER Victor <vstinner at redhat.com>:

The detect_modules() method of setup.py became longer and longer over
the years. It is now 1128 lines long. It's way too long: it becomes
very hard to track the lifetime of a variable and many variables are
overriden on purpose or not. Shorter functions help to track the
lifetime of variables, ease review and reduce the number of bugs.

----------
components: Build
messages: 336841
nosy: vstinner
priority: normal
severity: normal
status: open
title: Refactor setup.py
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36146>
_______________________________________


More information about the New-bugs-announce mailing list