Message275131
Huh. Well, for property this works:
@property
def options(self):
return Options(_SSLContext.options.__get__(self))
@options.setter
def options(self, value):
_SSLContext.options.__set__(self, Options.OP_ALL)
Sure is ugly, though.
I think there's a PEP about making super() work with descriptors... Ah, PEP447 (not sure it's the same issue, though.) |
|
| Date |
User |
Action |
Args |
| 2016-09-08 19:57:14 | ethan.furman | set | recipients:
+ ethan.furman, janssen, vstinner, giampaolo.rodola, christian.heimes, alex, dstufft |
| 2016-09-08 19:57:14 | ethan.furman | set | messageid: <[email protected]> |
| 2016-09-08 19:57:14 | ethan.furman | link | issue28025 messages |
| 2016-09-08 19:57:14 | ethan.furman | create | |
|