On 15.08.24 12:11, Jerome BENOIT wrote:
Hi,
is there a reliable way to isolate Python2 idiosyncrasies in Python3
scripts ?
I guess that I am looking for Python scripts what checkbashisms(1) is
for shell scripts.
I have good experience with 2to3
(https://docs.python.org/3/library/2to3
On Thu, Aug 15, 2024 at 01:11:23PM +0200, Jerome BENOIT wrote:
> > > is there a reliable way to isolate Python2 idiosyncrasies in Python3
> > > scripts ?
> >
> > Do you mean code that still works in Python 3 but can be simplified?
> > Lots of linters do this
Hello Andrey, thanks for your reply.
On 15/08/2024 12:56, Andrey Rakhmatullin wrote:
On Thu, Aug 15, 2024 at 12:11:55PM +0200, Jerome BENOIT wrote:
is there a reliable way to isolate Python2 idiosyncrasies in Python3 scripts ?
Do you mean code that still works in Python 3 but can be
cal now. The tools that generate d/control could be trimmed
too.
Debian Code Search can help for both.
Greetings
Le jeu. 15 août 2024, 12:57, Andrey Rakhmatullin a écrit :
> On Thu, Aug 15, 2024 at 12:11:55PM +0200, Jerome BENOIT wrote:
> > is there a reliable way to isolate Python2 idiosy
On Thu, Aug 15, 2024 at 12:11:55PM +0200, Jerome BENOIT wrote:
> is there a reliable way to isolate Python2 idiosyncrasies in Python3 scripts ?
Do you mean code that still works in Python 3 but can be simplified?
Lots of linters do this in whole or in part, though I don't have
suggest
Hi,
is there a reliable way to isolate Python2 idiosyncrasies in Python3 scripts ?
I guess that I am looking for Python scripts what checkbashisms(1) is for shell
scripts.
Cheers,
Jerone
6 matches
Mail list logo