On Sat, 8 May 2021 21:59:49 +0100 Pablo Galindo Salgado <pablog...@gmail.com> wrote: > > That could work, but in my personal opinion, I would prefer not to do > that as it complicates things and I think is overkill. > > Let me expand on this: > > I recognize the problem that -OO can be quite unusable if some of your > dependencies depend on docstrings and that It would be good to separate > this from that option, but I am afraid of the following: > > - New APIs in the marshal module and other places to pass down the extra > information to read/write or not the extra information. > - Complication of the pyc format with more entries in the header. > - Complication of the implementation. > > Given that the reasons to deactivate this option exist, but I expect them > to be very rare, I would prefer to maximize simplicity and maintainability.
Agreed with Pablo. Also, once we add a configuration option it becomes delicate to later remove it. Regards Antoine. _______________________________________________ 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/NUOZW4KRZWPJS4Y77DKD3ZJN24YBHAJ4/ Code of Conduct: http://python.org/psf/codeofconduct/