On Fri, Mar 20, 2020 at 12:29:34PM +0100, Kornel Benko wrote:
> Am Thu, 19 Mar 2020 18:53:46 -0400
> schrieb Scott Kostyshak :
>
> > 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.
Am Thu, 19 Mar 2020 18:53:46 -0400
schrieb Scott Kostyshak :
> 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
2. Should I add a version check? i.e., use mode
"rU" if Python 2, and mode "r" if Python 3?
Scott
From 3e81b02a659d8bc64823e9b4a292e88bb230aec0 Mon Sep 17 00:00:00 2001
From: Scott Kostyshak
Date: Thu, 19 Mar 2020 18:22:16 -0400
Subject: [PATCH] cat.py: fix Python deprecat