[email protected] wrote:

> Our old data acquisition unit still uses the old Macintosh (OS9 and older)
> LF-
> only line terminators.  This patch adds the U flag to the file read
> commands so
> that python will handle this special case.  It should also allow python to
> properly handle windows terminators on Linux and vise-versa.  (Both worked
> for me on my Linux box pre-patch, so you may be specifically looking for a
> carriage
> return somewhere.  I didn't test the mac/windows terminators that much to
> see
> if the behavior was correct.  All my data is in the MAC format.  I can
> confirm
> that this works correctly for me with my LF-only data files.  I did check
> that the other two still seem to work post-patch.)

Thanks for the patch. It looks good. I've applied it for the next release.

Jeremy




_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à