This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Opher Shachar
Recipients Opher Shachar, dstufft, eric.araujo
Date 2019-01-11.19:19:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547234353.02.0.413056014326.issue35718@roundup.psfhosted.org>
In-reply-to
Content
(from the PR11526)
In this build_py subclass I initialize force to 1, but when reaching byte_compile() we find out it was reset to None.

from setuptools.command.build_py import build_py as _build_py

class build_py(_build_py):
    def initialize_options(self):
        _build_py.initialize_options(self)
        self.force = 1
        self.compile = 1

    def byte_compile(self, files):
        # self.compile == 1
        # self.force == None
        _build_py.byte_compile(self, files)
        # do stuff...
History
Date User Action Args
2019-01-11 19:19:15Opher Shacharsetrecipients: + Opher Shachar, eric.araujo, dstufft
2019-01-11 19:19:13Opher Shacharsetmessageid: <1547234353.02.0.413056014326.issue35718@roundup.psfhosted.org>
2019-01-11 19:19:13Opher Shacharlinkissue35718 messages
2019-01-11 19:19:12Opher Shacharcreate