In the sentence starting with Types whose methods need access to their module instance will be converted to heap types[...]
please emphasize (bold!) "whose methods need access to their module instance". Also emphasize this paragraph: "Static types that do not need module state access, and have no other reason to be converted, should stay static." I hadn't noticed the qualification in the first sentence and had assumed all types were to be converted, until I came across the second at the very end of the section (where it is easily overlooked by lazy readers :-). On Mon, Apr 11, 2022 at 6:33 AM Petr Viktorin <encu...@gmail.com> wrote: > Hello, > Please provide any feedback you might have on PEP 687 – Isolating > modules in the standard library: https://peps.python.org/pep-0687/ > > From recent discussions around “what should have a PEP”, it’s clear > that this should have been a PEP long ago. Better late than never, I guess! > > We submit this PEP to explain the changes, seek consensus on whether > they are good, propose the remaining changes, and set best practices for > new modules. > > There's a discussion thread on Discourse: > > https://discuss.python.org/t/pep-687-isolating-modules-in-the-standard-library/14824 > > > _______________________________________________ > Python-Dev mailing list -- python-dev@python.org > To unsubscribe send an email to python-dev-le...@python.org > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/python-dev@python.org/message/B3HYQIE4Z5WBJCC3FUZJZHXLM32I4BZA/ > Code of Conduct: http://python.org/psf/codeofconduct/ > -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/MOGERKXYWRSSM65L5MK3PQC6BO65GLJ4/ Code of Conduct: http://python.org/psf/codeofconduct/