On Wed, Dec 11, 2019 at 2:14 AM Mark Shannon <m...@hotpy.org> wrote: > > If the status quo were the result of considered decision, then it would > of course need considerable justification. > If, as is the case here, the status quo is a result of historical > accident and/or implementation details, then I think a weaker > justification is OK. >
Whoa. The lack of limits in the status quo (no limits on various things except indirectly, through available memory) is most definitely the result of an intentional decision. "No arbitrary limits" was part of Python's initial design philosophy. We didn't always succeed (parse tree depth and call recursion depth come to mind) but that was definitely the philosophy. It was in contrast to other languages that did have arbitrary limits (e.g. Pascal's 255-char limit on strings, or C's machine-dependent integer size) and in several cases the implementation went through great lengths to avoid limits (e.g. we could have avoided a lot of dynamic memory (re)allocation if we'd limited line lengths or file sizes). You have an extreme need to justify why we should change now. "An infinite number of potential optimizations" does not cut it. -- --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/EYV2CCV55UC7Z2EVG4DRTFUVH3WRHWNB/ Code of Conduct: http://python.org/psf/codeofconduct/