[issue37120] Provide knobs to disable session ticket generation on TLS 1.3
Nathaniel Smith
report at bugs.python.org
Wed Jun 5 02:33:51 EDT 2019
Nathaniel Smith <njs at pobox.com> added the comment:
> Regarding your comment on client_context.num_ticket getter: IMHO it's not a good idea to raise an exception on attribute access. It may break introspection.
Hmm, I see what you mean.
Basically my intuition is: it's a bit weird to make the attribute's existence "sort of" depend on whether it's a client or server context. It would make sense to me to have it entirely disappear on client contexts (from __dir__, read-access, and write-access), and it would make sense to me to have it always be present, just a no-op. But having it present, and almost the same as on server contexts, except that assigning to it fails... that feels a little weird.
----------
status: pending -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37120>
_______________________________________
More information about the Python-bugs-list
mailing list