Multi thread reading a file

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sun Jul 5 05:52:22 EDT 2009


In message <025ff4f1$0$20657$c3e8da3 at 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-2ccac8637796 at 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.




More information about the Python-list mailing list