> The cost I'm concerned about is the runtime cost of worse code, because
> the compiler can't perform some optimizations due the constraints of
> providing the extended debug information.
Aah thanks for clarifying, I see what you mean now. In cases like this
where the compiler is making optimizations, I think it is perfectly
fine to just elide the column information. While it would be nice to
maintain accurate columns wherever possible, you shouldn't constrain
improvements and optimizations based on it. The traceback machinery
will simply not print out the carets in that case and everything
should just work smoothly.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-leave@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/EB24LA7L5C35QHQTFLB6QZX26E77O6QM/
Code of Conduct: http://python.org/psf/codeofconduct/