[sugar] Initial Security Patches

Simon McVittie simon.mcvittie
Tue Jul 31 12:18:44 EDT 2007


On Tue, 31 Jul 2007 at 17:59:41 +0200, Marco Pesenti Gritti wrote:
> Sounds good, would be nice if you could update the style guide...
> 
> http://wiki.laptop.org/go/Python_Style_Guide

Already there (inherited from PEP-8). """Comparisons to singletons like None
should always be done with 'is' or 'is not', never the equality operators."""
and """Also, beware of writing "if x" when you really mean "if x is not
None"""".

	Simon



More information about the Sugar-devel mailing list