On 6/25/2021 8:09 PM, Steven D'Aprano wrote:
Hi Thomas,
On Fri, Jun 25, 2021 at 09:06:58AM -0000, Thomas Grainger wrote:
I'd like invalid attribute assignment to be prevented at runtime
Are you making a specific request for ssl context objects, or a general
language-wide request that applies to all objects?
It seems like many of the suggestions are SSLContext specific. I don't
think we should be adding __slots__ or otherwise redefining the
interface to that object. Isn't this a general "problem" in python,
that's always been present? Why are we trying to address the problem
with this specific object? I suggest doing nothing, or else thinking big
and solve the general problem, if in fact it needs solving.
Eric
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/VOXGE4M6D25VROYCCOEJP75X4MVYDJXH/
Code of Conduct: http://python.org/psf/codeofconduct/