mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
When an option is changed on a command object, calling ensure_finalized for a second time will not run finalize_options again, because ensure_finalized is a no-op the second time. By resetting the finalized attribute, we can be sure that whatever computation takes place in finalize_options will happen again. (In test_command_clean, I removed two lines that were a no-op.) |
||
|---|---|---|
| .. | ||
| command | ||
| compiler | ||
| pypi | ||
| tests | ||
| __init__.py | ||
| _trove.py | ||
| compat.py | ||
| config.py | ||
| create.py | ||
| database.py | ||
| depgraph.py | ||
| dist.py | ||
| errors.py | ||
| fancy_getopt.py | ||
| install.py | ||
| manifest.py | ||
| markers.py | ||
| metadata.py | ||
| run.py | ||
| util.py | ||
| version.py | ||