On Thu, Jun 24, 2021 at 11:53:55PM -0400, Ricky Teachey wrote: > Would this feature allow me to declare str objects as not iterable in some > contexts? > > If so, +1.
While I'm glad to see some more positivity in this thread, alas, no, extension methods are not a mechanism for making strings non-iterable. Nor do they help with floating point inaccuracies, resolve problems with circular imports, or make the coffee *wink* Extension methods are a technology for extending classes with extra methods, not removing them. -- Steve _______________________________________________ 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/WQTGBCC3XJU32NMDSXG4TOSKBPCKVU5U/ Code of Conduct: http://python.org/psf/codeofconduct/