This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Sworddragon
Recipients Sworddragon
Date 2013-11-09.06:54:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383980059.61.0.697157457336.issue19533@psf.upfronthosting.co.za>
In-reply-to
Content
Using -OO on a script will remove the __doc__ attributes but the docstrings will still be in the process memory. In the attachments is an example script which demonstrates this with a docstring of ~10 MiB (opening the file in an editor can need some time). Calling "python3 -OO test.py" will result in a memory usage of ~16 MiB on my system (Linux 64 Bit) while test.__doc__ is None.
History
Date User Action Args
2013-11-09 06:54:19Sworddragonsetrecipients: + Sworddragon
2013-11-09 06:54:19Sworddragonsetmessageid: <1383980059.61.0.697157457336.issue19533@psf.upfronthosting.co.za>
2013-11-09 06:54:19Sworddragonlinkissue19533 messages
2013-11-09 06:54:19Sworddragoncreate