Hi, On Tue, Mar 30, 2010 at 1:20 PM, Emile Anclin <[email protected]> wrote: > + decode = stream.readline().decode > + line_generator = lambda: decode(encoding) > > instead of: > > + line_generator = lambda: > stream.readline().decode(encoding) > > > Can somebody explain me what happened ? > > Anyhow, Appended my new patch (we use func_noerror_* if we don't want the > message triggered)
No, this is not ok, because decode will always return first line. -- Alexander Artemenko (a.k.a. Svetlyak 40wt) Blog: http://aartemenko.com Photos: http://svetlyak.ru Jabber: [email protected] _______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
