[Python-Dev] (#19562) Asserts in Python stdlib code (datetime.py)

Victor Stinner victor.stinner at gmail.com
Sun Nov 17 17:14:38 CET 2013


2013/11/16 Maciej Fijalkowski <fijall at gmail.com>:
> Can I see some writeup how -OO benefit embedded devices?

You get smaller .pyc files. In an embedded device, the whole OS may be
written in a small memory, something like 64 MB or smaller. Removing
doctrings help to fit in 64 MB.

I don't know if dropping "assert" statements is required on embedded device.

Victor


More information about the Python-Dev mailing list