delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/09/29/02:13:42

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43962385C6FE
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1695968021;
bh=8fJQOeFzPtwe49JrU3h47hrMaVD+t9j2hQ9jaqXB98k=;
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=U1cs5uUVJVaiTU3dsOTeZEx0kkxXqhkGO2vTjsv013LOhJdkaqn8rjgYfEAm/N5Fr
z14G/S4Vu1nza/QA+Z/RKc5O1ucG9ksnRskaQJW/2gD/kP+iB4qNVf++XU6uIBpOxs
1lE628DO5+SUqzulZ0nJa5MxILQNrYLpddmyQlUc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C04723858C78
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1695968005; x=1696572805;
h=content-transfer-encoding:in-reply-to:from:references:newsgroups:to
:content-language:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=J/nKH3AE053dlS+XAak21LRsmfsnEkBwXlUDuXm48BY=;
b=UeY5eAoYgalsrvrSbcVgmCY2ahkPrZVYiggMPFB083WneefoyWIQ2jysjHqrFrUR20
7ToAf4JsLlkdhjmmjmgS3UXw6rvfInkjS8sHtxEhrSxKdpQ1DlenLi6DsLwBdCpkE3vM
sDwkRRe9Cof272sS1grBa7dHbbgOgdDu1UatIF082pHcr8rRBma6nu0aqac8vS6/2HPN
m7NIXUzaThVGBwE21zNsA9x9mRPGK+YzmGF5gtQeHk4j/uN5v6ufbXYaRYl3gG+FEsUp
ycbE+TeID/d+UAy8/n4kwkWMz0u+qIZgCZUBbZxlykCWKO1ON0phfflJQ3eVKIe05jc1
n8Tg==
X-Gm-Message-State: AOJu0YzPKQsFkYVhg4Kq+Ypurc5MSdNGuQva2hHB4ZvvAWSdD+0rIej8
wFee4LKuVS22BcXRJgxQn/FZTlUyx1ak8Q==
X-Google-Smtp-Source: AGHT+IF7Vnqd/bFyxRAOU5qyVUxPEw4/VFcKa8EvcLD+GUVovNG8dWsJvYZ4b+wqyce7Gh8rQFoLTQ==
X-Received: by 2002:a17:902:d501:b0:1c3:19d6:3559 with SMTP id
b1-20020a170902d50100b001c319d63559mr5823265plg.1.1695968004547;
Thu, 28 Sep 2023 23:13:24 -0700 (PDT)
Message-ID: <30dc455f-b1c4-5aae-ee3c-40de4768b841@gmail.com>
Date: Fri, 29 Sep 2023 15:13:16 +0900
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
To: cygwin AT cygwin DOT com
Newsgroups: gmane.os.cygwin
References: <CAHdXvFqMT3_2XQufPS-jrRYQfKp-U-VPEz=LcdHngc_DwX7kFQ AT mail DOT gmail DOT com>
In-Reply-To: <CAHdXvFqMT3_2XQufPS-jrRYQfKp-U-VPEz=LcdHngc_DwX7kFQ@mail.gmail.com>
X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP 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 <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: jojelino via Cygwin <cygwin AT cygwin DOT com>
Reply-To: jojelino <jojelino AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 9/22/2023 3:39 PM, Mesibo Technical via Cygwin wrote:
> Any idea why Cygwin is using the .dll extension instead of the .pyd
> extension as recommended by Python's official documentation?

$ grep "_SUFFIX=" /usr/lib/python3.9/config-3.9-x86_64-cygwin/Makefile
SHLIB_SUFFIX=   .dll
EXT_SUFFIX=     .cpython-39-x86_64-cygwin.dll

Your speculation is quite weird, Normally you don't have no problem 
loading extension module without suffix in python. and paragraph like 
(eg,) is regarded as neither exhaustive or authoritative.

How about look through source code of distutils,setuptools,cpython 
instead of complaining about software without any warranty(according to 
PSF license)?


-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019