With the removal of the coroutine limit, I think that PEP 611 will be a lot easier to consider. Personally, I've gone from -1 to +0. But, with the class limit also being rather controversial, I think the PEP would benefit significantly from backing that up with some form of analysis on memory usage in existing code.
For example, in addition to the existing section "Total number of classes in a running interpreter", where it mentions a potential reduction in overhead on a Python object from 40 bytes to 16 bytes: I think this argument would be much stronger with an example of production code. You could perform a rough estimate on how much memory is currently being used on objects in the code example, and mention how much could be potentially saved by imposing the 1M class limit. In general though, I think adding some practical examples to the PEP and explaining how they could benefit from the limits would make it much more convincing. At the present moment, it might be a bit too abstract. On Wed, Dec 11, 2019 at 5:19 AM Mark Shannon <m...@hotpy.org> wrote: > Hi all, > > Thanks again for all your feedback on PEP 611. > So far the biggest pushback on limits has been for the number of > classes, line count and coroutines. > > Of those, I have been convinced that a limit on the number of coroutines > would the hardest to workaround. In addition the justification for > limiting coroutines is probably the weakest. > > Consequently, I'm dropping the limit on the number of coroutines from > the PEP. > > Cheers, > Mark. > _______________________________________________ > 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/6ESJKTW4CP42KWJVSEEYJABGU73T4UPA/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ 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/AK7XRUXJMFKGR6MKYHQM4HQGI57BZFMA/ Code of Conduct: http://python.org/psf/codeofconduct/