[Python-Dev] Re: Future PEP: Include Fine Grained Error Locations in Tracebacks

2021年5月09日 09:15:50 -0700

On Sat, 8 May 2021 21:59:49 +0100
Pablo Galindo Salgado <[email protected]> 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/NUOZW4KRZWPJS4Y77DKD3ZJN24YBHAJ4/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to