Multi thread reading a file
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Sat Jul 4 21:35:31 EDT 2009
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. Did you report it to the tracker?
--
Steven
More information about the Python-list
mailing list