Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #16010

Re: python-debian | remove some Python2 dead code (!131)

From Alexandre Detiste <alexandre.detiste@gmail.com>
Newsgroups linux.debian.maint.python
Subject Re: python-debian | remove some Python2 dead code (!131)
Date 2024-07-08 22:00 +0200
Message-ID <IY2GJ-KB3-9@gated-at.bofh.it> (permalink)
References (1 earlier) <IiZdo-hjWe-15@gated-at.bofh.it> <IiZdo-hjWe-17@gated-at.bofh.it> <IiZdo-hjWe-19@gated-at.bofh.it> <IiZdo-hjWe-11@gated-at.bofh.it> <IY2GJ-KB3-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Ha !

https://github.com/ilevkivskyi/com2ann



Le dim. 17 mars 2024 à 23:01, Thomas Goirand <zigo@debian.org> a écrit :
>
> On 3/17/24 14:56, Alexandre Detiste wrote:
> > Hi,
> >
> > Does anyone know some automated tool to convert Python2-style annotations
> > into Python3-style ?
> >
> > python-debian $ grep '# type' -r | wc -l
> > 1499
> >
> > Greetings
>
> You may try to run "sixer" which was written by a Python core developer,
> and used to convert all of OpenStack to python2 + 3 using six. Once it
> has found all the things that may use six, you can manually convert to
> *not* use six anymore. I did this multiple times, and it worked well for
> me at least.
>
> I hope this helps,
> Cheers,
>
> Thomas Goirand (zigo)
>

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: python-debian | remove some Python2 dead code (!131) Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-03-17 15:00 +0100
  Re: python-debian | remove some Python2 dead code (!131) Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-07-08 22:00 +0200

csiph-web