[Python-Dev] PEP 454 - tracemalloc - accepted

Antoine Pitrou solipsis at pitrou.net
Fri Nov 22 01:38:22 CET 2013


On Fri, 22 Nov 2013 09:17:14 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
> 
> Skipping saving _source under -OO would probably be a good thing, but
> otherwise it's a public API with the usual backwards compatibility
> guarantees.

I think skipping saving _source under -OO should be a bugfix. It's
terribly weird and suboptimal to remove docstrings but keep the
source code of namedtuple instances in some obscure attributes.

Regards

Antoine.




More information about the Python-Dev mailing list