Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #16010
| Path | csiph.com!tncsrv06.tnetconsulting.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Alexandre Detiste <alexandre.detiste@gmail.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: python-debian | remove some Python2 dead code (!131) |
| Date | Mon, 08 Jul 2024 22:00:01 +0200 |
| Message-ID | <IY2GJ-KB3-9@gated-at.bofh.it> (permalink) |
| References | <IiZdo-hjWe-13@gated-at.bofh.it> <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> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon Jul 8 19:50:03 2024 |
| Old-Return-Path | <alexandre.detiste@gmail.com> |
| X-Amavis-Spam-Status | No, score=-7.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| X-Gm-Message-State | AOJu0YygxA9H1EvbmL2P0XKWZ8RRFTrzAO+9vZgm47MpoQwTx8hkR4Ep mOeHroUf2VuLQMYORO9gsHAJd9C7whYW9HtX0WckQykdVpf8zF1nHpufKOdJnAU/1FKbkQRg1ZN CkGCD6fCuXB7mQgx9DUsk87hgv5E= |
| X-Google-SMTP-Source | AGHT+IHXdzMkq94i+/zhGX5Eq8BY2zncwi4aqY0aAFuMdIFLB0oSnm6TBvUnetdnEZWyXlNjCiCfCCSTxveBdM2iHZ8= |
| X-Received | by 2002:a25:d08f:0:b0:e03:ab1d:dd43 with SMTP id 3f1490d57ef6-e041b05fa79mr876896276.24.1720468184984; Mon, 08 Jul 2024 12:49:44 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/22046 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/CADsTwjJ=vWxfz0OyyReh-HUk9qGuSYZ6DH8-PhzSkjzB6w-N8w@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 32 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | Debian Python <debian-python@lists.debian.org> |
| X-Original-Date | Mon, 8 Jul 2024 21:49:34 +0200 |
| X-Original-Message-ID | <CADsTwjJ=vWxfz0OyyReh-HUk9qGuSYZ6DH8-PhzSkjzB6w-N8w@mail.gmail.com> |
| X-Original-References | <reply-05ec3b7e2595b1db4465205e913b831b@salsa.debian.org> <merge_request_67245@salsa.debian.org> <note_469116@salsa.debian.org> <note_474368@salsa.debian.org> <CADsTwjLho44h0pSAjZQChJ=dFrp2_ph-VV0BY7Wg+CAqSSpiDg@mail.gmail.com> <60bb832a-2425-4183-900b-70b131c5a485@debian.org> |
| Xref | csiph.com linux.debian.maint.python:16010 |
Show key headers only | 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 | Next — Previous in thread | Find similar | Unroll 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