On Tue, Mar 07, 2023 at 08:46:34AM +0000, José Matos wrote: > Simplest solution, remove all the 'rU' arguments for open in the > script. > > Rationale: 'r' is the read mode, default, 'U' is for the universal > newlines mode (for backwards compatibility; should not be used in new > code) [https://docs.python.org/2/library/io.html#io.open]. > > > The attached path does precisely that, removes all the 'rU' arguments > in `open`. I tested it with some random csv file (the Stocks file from > matplotlib) and the outcome is the same for python 2 and 3. Due to the > change required for me that is more than good enough validation. :-)
I committed the patch for your convenience. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel