[Python-Dev] Freeze hacks

Martin von Loewis loewis@informatik.hu-berlin.de
Wed, 18 Jul 2001 18:29:27 +0200 (MEST)

> The Python compiler itself. 'if 0: import whatever' does
> not generate any byte code. Modulefinder (used by freeze,
> py2exe, and Gordon's installer) checks the compiled byte code
> for import statements.

Ah, thanks for the explanation. I'll consider it in my patch.