[issue19533] Unloading docstrings from memory if -OO is given

Sworddragon report at bugs.python.org
Sat Nov 9 17:24:18 CET 2013


Sworddragon added the comment:

> Do realize this is a one-time memory cost, though, because next execution will load from the .pyo and thus will never load the docstring into memory.

Except in 2 cases:

- The bytecode was previously generated with -O.
- The bytecode couldn't be written (for example permission issues or Python was invoked with -B).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19533>
_______________________________________


More information about the Python-bugs-list mailing list