Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Alexandre Detiste Newsgroups: linux.debian.maint.python Subject: Re: python-debian | remove some Python2 dead code (!131) Date: Sun, 17 Mar 2024 15:00:02 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Mar 17 13:56:48 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.209 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, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 X-Gm-Message-State: AOJu0YwweoFRNB5eNDiDy5zQ6sW+ejGlSryy7v20bh9/M5ND3BU2z36j 4OfFEwEZ2y24hW7RFF1nHgf97jgg53eiWJbs8lb0n6ZJiWvBKZd12f7qyDeXAGFER8NHpv1OzdN hXtYABljjYNHov3Ri2lP2Kmi2nRSQjvErW54= X-Google-SMTP-Source: AGHT+IFMjJd9LJgt+scNRJxWOetBddtfOAVu77F2d7O9Xf6qjlAxGXmkTLF8cSkjbfO3aGQXCHPSmVWJPotAvBtWMbs= X-Received: by 2002:a25:1f41:0:b0:dcb:b072:82d5 with SMTP id f62-20020a251f41000000b00dcbb07282d5mr7469553ybf.64.1710683790446; Sun, 17 Mar 2024 06:56:30 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/21607 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CADsTwjLho44h0pSAjZQChJ=dFrp2_ph-VV0BY7Wg+CAqSSpiDg@mail.gmail.com Approved: robomod@news.nic.it Lines: 20 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 17 Mar 2024 14:56:19 +0100 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.python:15605 Hi, Does anyone know some automated tool to convert Python2-style annotations into Python3-style ? python-debian $ grep '# type' -r | wc -l 1499 Greetings Le dim. 17 mars 2024 =C3=A0 13:46, Jelmer Vernoo=C4=B3 (@jelmer) a =C3=A9crit : > > Jelmer Vernoo=C4=B3 commented on a discussion: > > Yes, we should be able to migrate to modern type annotations - happy to r= eview PRs that make that change :) https://salsa.debian.org/python-debian-team/python-debian/-/merge_requests/= 131