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 christian.heimes
Recipients alex, christian.heimes, dstufft, ethan.furman, giampaolo.rodola, janssen, vstinner
Date 2016-09-08.19:15:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473362124.25.0.600045361977.issue28025@psf.upfronthosting.co.za>
In-reply-to
Content
I tried:

class SSLContext(_SSLContext):
    ...

    @property
    def options(self):
        return Options(super().options)

    @options.setter
    def options(self, value)
        super().options = value
    #          ^^^^^
    #          This fails with an AttributeError

    # it would be cool to have something like this:
    options = MagicEnumWrapper(Options)


About the shorter names, I'm worried that it might confuse people. The long names have been module constants for a long time.
History
Date User Action Args
2016-09-08 19:15:24christian.heimessetrecipients: + christian.heimes, janssen, vstinner, giampaolo.rodola, alex, ethan.furman, dstufft
2016-09-08 19:15:24christian.heimessetmessageid: <1473362124.25.0.600045361977.issue28025@psf.upfronthosting.co.za>
2016-09-08 19:15:24christian.heimeslinkissue28025 messages
2016-09-08 19:15:24christian.heimescreate