[Distutils] zc.buildout: bootstrap.py script

René Fleschenberg rene at fleschenberg.net
Wed Mar 31 00:08:44 CEST 2010


Hi,

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/20100331/f06f9f28/attachment.pgp>


More information about the Distutils-SIG mailing list