In message <025ff4f1$0$20657$c3e8...@news.astraweb.com>, Steven D'Aprano wrote:
> On Sun, 05 Jul 2009 12:12:22 +1200, Lawrence D'Oliveiro wrote: > >> In message >> <1beffd94-cfe6-4cf6-bd48-2ccac8637...@j32g2000yqh.googlegroups.com>, ryles >> wrote: >> >>>>>> # Oh... yeah. I really *did* want 'is None' and not '== None' which >>>>>> # iter() will do. Sorry guys! >>> >>> Please don't let this happen to you too ;) >> >> Strange. others have got told off for using "== None" instead of "is >> None" >> <http://groups.google.co.nz/group/comp.lang.python/msg/a1f3170fa202af57>, >> and yet it turns out Python itself does exactly the same thing. > > That's not "strange", that's a bug. It's not a bug, as Gabriel Genellina has pointed out. -- http://mail.python.org/mailman/listinfo/python-list