[Python-Dev] Re: python/dist/src/Lib subprocess.py,NONE,1.1

Fredrik Lundh fredrik at pythonware.com
Wed Oct 13 11:57:12 CEST 2004


Thomas Heller wrote:

> To be honest, I'm against code in the core that depends on whether
> pywin32 is installed or not.

>> does py2exe support "if 0" blocks?
>
> py2exe uses modulefinder to scan the byte code of compiled modules, and
> Python doesn't generate code for 'if 0' blocks, so, yes.

just one more question: is there a specific problem with win32all?  if this
is a general problem, how do you deal with other optional modules in the
standard library (e.g. _xmlrpclib) ?

</F> 





More information about the Python-Dev mailing list