Message275119
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. |
|
Date |
User |
Action |
Args |
2016-09-08 19:15:24 | christian.heimes | set | recipients:
+ christian.heimes, janssen, vstinner, giampaolo.rodola, alex, ethan.furman, dstufft |
2016-09-08 19:15:24 | christian.heimes | set | messageid: <1473362124.25.0.600045361977.issue28025@psf.upfronthosting.co.za> |
2016-09-08 19:15:24 | christian.heimes | link | issue28025 messages |
2016-09-08 19:15:24 | christian.heimes | create | |
|