X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF9A4385802E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1701107866; bh=RcKQOD4sX8dXT0Kd+v6kGxu/3gR4wr0yQm0RoRZendk=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=eC3fa2PW6Ly/5VUcIFHVR0hoslQXWekhfpdynjNi8QgS0Xs/OccIWabqHeDhOEDo0 LM9D8Qo4/2YbaQHUJduVR5dw6ldLdUEMXPff8LYZs5AMTHcQA5+RMwWY8dzdWvQDjT 7b1qtcPI8oBUL1ZIerpeuEUEFqPGJuqGxm91yjRI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B9B42385AE4F ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B9B42385AE4F ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701107829; cv=none; b=wZCjNONvniIJ7XPy8j8rYKWYFrM40BWUBliqi/EcAlgB58G2hFElZcBCEMMs136zlo8bjfoZ5w1PUIMJTHoW4Kkh1HFQUbb/JjSu4yNgq/IB7S5Q1QIM2J9s3qSli8Sd9hHgJs1tjU0n7KlN6Y4oaWqeujcr5Y+YaNdSwTkkGvg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701107829; c=relaxed/simple; bh=3Tahy4Hcay61Up1lbTAEMJ+N/XXcf/9hCuhxk0jgnpU=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=IjpaN25kh/KwFAobVzRdzVa94yGnFpYQYrw/kXqywX1E5W+XMlL8xINAK6iBODium3/IUWyow4BGMHGDDHSJOpMhQDXuJjvXzJyhO1TWotA7FA0jwEJUWrtJY2lHYPlAe8+ZBWvN1uQPpCvjo89TcoZF2qtEV0ZNI8g/7GRWXe4= ARC-Authentication-Results: i=1; server2.sourceware.org X-ASG-Debug-ID: 1701107826-24039d196d107ea10001-w5GHUG X-Barracuda-Envelope-From: moss AT cs DOT umass DOT edu X-Barracuda-RBL-Trusted-Forwarder: 128.119.240.136 Message-ID: <61890855-1393-9adc-2cf1-348732a25995@cs.umass.edu> X-Barracuda-RBL-Trusted-Forwarder: 192.168.50.223 Date: Mon, 27 Nov 2023 12:57:07 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: Python C Extension Module loading issue on Cygwin Content-Language: en-US X-ASG-Orig-Subj: Re: Python C Extension Module loading issue on Cygwin To: Marco Atzeri , cygwin AT cygwin DOT com References: <29a20f4b-aea5-4823-8d07-59d3d49e1a19 AT gmail DOT com> In-Reply-To: <29a20f4b-aea5-4823-8d07-59d3d49e1a19@gmail.com> X-Barracuda-Connect: mailsrv.cs.umass.edu[128.119.240.136] X-Barracuda-Start-Time: 1701107826 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at cs.umass.edu X-Barracuda-Scan-Msg-Size: 1271 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.117340 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Eliot Moss via Cygwin Reply-To: Eliot Moss Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" On 11/27/2023 12:49 PM, Marco Atzeri via Cygwin wrote: > On 22.09.2023 08:39, Mesibo Technical via Cygwin wrote: >> This issue is about Python on Cygwin not using the recommended module extension. > [cut] >> Any idea why Cygwin is using the .dll extension instead of the .pyd >> extension as recommended by Python's official documentation? >> Additionally, is there a way to know during runtime the specific >> extension used by a particular version of Python, without having to >> make assumptions based on the system type? > > Cygwin is Unix on Windows, so the dll extension is equivalent > to the so extension on Linux/Unix. > I am almost sure that we are not modifying the source code for this specific issue. But I could be wrong Allow me to add that Cygwin is not a virtual machine in the sense of WSL (Windows Subsystem for Linux), VirtualBox, etc. Rather, it consists of a dll library that does a pretty good job mapping POSIX library functions to Windows ones, and large collections of programs and libraries that have been ported to the Cygwin environment, including X windows. In any case, this means that it follows Windows linking conventions and object formats. HTH understand why tings are as they are. Regards - Eliot Moss -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple