[Distutils] zc.buildout: bootstrap.py script

René Fleschenberg rene at fleschenberg.net
Mon Mar 29 19:20:20 CEST 2010


The code in bootstrap.py doesn't use the if __name__ == "__main__" idiom. 
This can lead to funny behaviour if it is imported for some reason (I 
stumbled upon this in conjunction with nose).

Is there a reason for not checking for __name__ == "__main__", or should 
this be changed?

René Fleschenberg

Am Stadtgarten 28, 45276 Essen, Germany
Phone: +49 1577 170 7363
E-Mail: rene at fleschenberg.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100329/be4a2a1e/attachment.pgp>

More information about the Distutils-SIG mailing list