Am Thu, 19 Mar 2020 18:53:46 -0400
schrieb Scott Kostyshak <[email protected]>:

> See attached patch regarding our development script cat.py. It fixes a
> Python 3 deprecation warning. However, I believe it changes behavior
> with Python 2. The script has a "python3" shebang line (see
> 3f03f0a447e), however that does not mean that it is not currently
> compatible with Python 2. Should I add a version check? i.e., use mode
> "rU" if Python 2, and mode "r" if Python 3?
> 
> Scott

For me the version check feels the safest way.

        Kornel

Attachment: pgph5pWC_lX6p.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to