From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by sourceware.org (Postfix) with ESMTPS id 650713858403 for ; Mon, 25 Apr 2022 07:53:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 650713858403 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-xb2b.google.com with SMTP id f38so25548947ybi.3 for ; Mon, 25 Apr 2022 00:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=y2ma/faFNSAirg9MKEO3ZdGTBzXG/XZT6ypnTNrciLk=; b=OB/bJMFuygqJLEuuo7DMp0o30oWsfg0ptA/9doKjRHr50u/tZIb1FoDG+31mO3+B4O 3LijMEMHZsT8KzBj7dtZTgLlqGQWCAbjF5Y50Hvl2wxGtlOWFMSnz7+YfM2Ix+GGRJL+ JZzOHqoF9C4SeDqfmqny9Fj7BhwM3RTqoQoENHZWP1DzO3UMm3b0WpLL4LflREXT8Ulq c8T9K6cHDL1wTDcIWHHeV+TPlIvZ42EtpaTsPmhcA4zlXQtcqFgA5jr7+uh2r1P8NHr/ mx8eWg2e3LSQewvr1r88PBISR30ii980MASKN+dDOg3v5YNVGc7y8Bh3QAWYXf2Thbsm 5zgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=y2ma/faFNSAirg9MKEO3ZdGTBzXG/XZT6ypnTNrciLk=; b=1QLPA6eTJTibSzVh269AD7oZFu48dcNyIpqlQdsW0nSPfO/pIVf2ICh4CW2RlP9vTD vF5qeR4S/BnfyS3qhcW7n+B7JEQO9gxKs85jN52z+F8nUzBxHNzyCx6KpNzNosN9pumE BIF4HQctkcXOCNZfR0bansdJogo1e3YlIQVWcvkHPO7sawanzyuR4P9C5MyP1TVwNXhs 0MAChdfn1cVPOvc40fODTwyXFtcYRXsejw2yNs4DmzxkkGnZvOWUoZ5o3ucIelXZShMf 3ZmIVhXv3n29MgZwrkhq4zzlvNc436FDQ5xBL+HMs8MG03q7azq9F6BJg8cu+EcLZhLF IPKQ== X-Gm-Message-State: AOAM531y0V9xmpf+JPFzOcZ5s3zWYJO1drXF0eo+llVdu2rQSc+xyy55 vjJaTCV56G+v7wID8PcO8cvc9RpDp5acoWr9D90pHnF5 X-Google-Smtp-Source: ABdhPJzWmKXM54nXf/DymV2yUJK9FxrQ+WLKZk1QlkZWJVDjIi7GKpvL3rRixuJT7JYNFtTzrNfg7z8pTQwolhD++Gg= X-Received: by 2002:a25:8812:0:b0:633:7bd8:16ff with SMTP id c18-20020a258812000000b006337bd816ffmr14860594ybl.645.1650873198730; Mon, 25 Apr 2022 00:53:18 -0700 (PDT) MIME-Version: 1.0 References: <384791970.449384.1650869933309.JavaMail.zimbra@coherentlogix.com> In-Reply-To: <384791970.449384.1650869933309.JavaMail.zimbra@coherentlogix.com> From: marco atzeri Date: Mon, 25 Apr 2022 09:53:08 +0200 Message-ID: Subject: Re: Apparent regression bug from Python 3.8 to 3.9: can't launch scripts using absolute Windows paths To: Derek Foster Cc: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2022 07:53:20 -0000 On Mon, Apr 25, 2022 at 8:59 AM Derek Foster wrote: > > Hi, folks. > > I have been having problems with Python 3.9 packaged with Cygwin that I did not have with Python 3.8. > > Specifically, I am seeing the following: > > C:\example>copy con test.py > #!/usr/bin/env python3 > print('hello') > ^Z > > C:\example>c:\cygwin64\bin\python3.8 test.py > hello > > C:\example>c:\cygwin64\bin\python3.9 test.py > hello > > C:\example>c:\cygwin64\bin\python3.8 C:\example\test.py > hello > > C:\example>c:\cygwin64\bin\python3.9 C:\example\test.py > /usr/bin/python3.9: can't open file '/cygdrive/c/example/C:\example\test.py': [Errno 2] No such file or directory > > There is an open bug on CPython for this ( https://github.com/python/cpython/issues/90907 ), but the people there seem to think it's something that the Cygwin folks should probably address, and I haven't been able to find a corresponding Cygwin bug. > > What do I need to do to get this information to the appropriate team so that this bug can be fixed? Neither of the two is a bug. The usage of Windows style path is not guaranteed on any Cygwin package. Some programs handle it other don't Use "cygpath" to convert it. There is nothing specific on Python patches for Cygwin to handle it. More likely a upstream change disabled this "side" feature > Thanks for any information! Regards Marco