Re: converting Python2 to Python3

2022-01-31 Thread Mike Kupfer
The Wanderer wrote: > On 2022-01-30 at 23:01, Mike Kupfer wrote: > > > FWIW, here are my notes from converting a couple small private scripts: > > > > * Note that 2to3 does not change the shebang line. And the actual > > command in Debian10 [and 11] is 2to3-2.7. > > This is in the 'python

Re: converting Python2 to Python3

2022-01-31 Thread The Wanderer
On 2022-01-30 at 23:01, Mike Kupfer wrote: > The Wanderer wrote: > >> In my case, I started with the last Debian package version before the >> removal, imported the source package into git, dropped the debian/ >> directory because that doesn't belong in the upstream codebase, ran the >> '2to3' to