[issue35718] Cannot initialize the "force" command-option

Opher Shachar report at bugs.python.org
Fri Jan 11 11:01:27 EST 2019


New submission from Opher Shachar <ophers at gmail.com>:

When creating a custom Command (or sub-classing one) we cannot initialize in "initialize_options()" the "force" option to 1, because Command.__init__ resets it to None after the call to self.initialize_options().

----------
components: Distutils
messages: 333481
nosy: Opher Shachar, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: Cannot initialize the "force" command-option
type: behavior
versions: Python 2.7, Python 3.8

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


More information about the Python-bugs-list mailing list