delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/10/04/07:50:38

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 594BocHE1454447
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 594BocHE1454447
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=kMo53wtS
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B4EA43857015
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1759578637;
bh=nXNEX7p46SJCRHrNfjIgtCMZSuREAJtyG4Ze2gNmsP8=;
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=kMo53wtS+xYoEhWwx8Ylp6MUCtwdPcZktlD9/41V3VBlH8bWhZQ+d2fWBdDGPry0j
2ParyR+A9+UjyEvNmwhNfhGR48yARfwabnyddEWHn7rmMVVFrH7LNDyOJpgWTMWGy3
jeJoBP52rUsgKa1mAaXB8C+dytX/70txSH/K+tBY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3BABD3858D32
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3BABD3858D32
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1759578613; cv=none;
b=Kn98FH9A9854OQUmQFyGQs52qpram3n7M8FJc2yI/0+/jUf31rXlRWc+njiz4+lqRSnn1fw7OqS1YwiTwW5WczZavRrhL5gbuC+9GMOEbkwi0v2UCMiDo6Ce58XWcehYPo1K8NFiS/spw2eT+SzPw0h9Ni7Pl1mzY/zbSZDSyJE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1759578613; c=relaxed/simple;
bh=q7E+QMjRBd95Xis9RUmizoX4SBs33lFfyM4VZ6jZM5E=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=MEec+TaMdFEmNYBKsRrNZ6D5gjwQ3yDatFXZNKEfcXlnT4PaBpH10l3nKBHEwObGLrFsHz0sTUeJWd47igdIKQNbH5NseoxVMDZmmEEFVq4CGIeL8C9QTIDLQHeaSW73b4V9ELqmfA+81zke5aipXXOyG6p3oXlyy4mpEiGnKPE=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3BABD3858D32
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1759578612; x=1760183412;
h=content-transfer-encoding:in-reply-to:from:content-language
:references:to:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=LlPchuMMIzAcLCdYA18GZXW07x6IJQQBUcrdRfQRFm8=;
b=FRsOUcmyNEHNBtsDylDz92b4SmiEbO3eiN6TcmN3lU3zjJl7717vRvbr3PR+RO8uvo
fd0YwxohkGMYr6HLgycyBSdAvH8vjjUpPFVPX35iYmxCddfvPKiUucx+eYxDerJHqpMj
Nh3iu9fIUg5fkxyK4wV7IGckMqXLcCnmvHwvH7tEd8bY/7Aif0rlCbOrk1n+qJmRpN0s
StawEqfG+fql8Mc2msrawDz0aU9y3JVJq+0uNBBRp+1/QnMLkcaxfSCsKkSeABNE77dH
FK9jilk/T4txiKk6sds2NdWKM62XRWMaaHG1YRDNac/EWd+unDgOzm+BMT+uX74tYEEB
IWlQ==
X-Forwarded-Encrypted: i=1;
AJvYcCW8j7lg89spY99xIC/VnKEKicEuGJDUwqxlqzY4m9Vro1j3sicFKijapo2wXshoVYAPQDQLCqU=@cygwin.com
X-Gm-Message-State: AOJu0Yxf3KkYZ8VosbL+U+jvK1SWlja6qJl0LQXU37OVbyn+LlZW6sU9
ZAaik8N3eoYgy6feh9nk8YQ501lGycxUprqpRssYIgtRMrd0vzr3A8LU3h2U2w==
X-Gm-Gg: ASbGncs8uT+IvC0aZgqy0yVO4kC9kmOwhntEMUO3q8cfQimI6Do0vhcxEt22WaD1rx7
vLqPhQCXcyfAPRsw5ch6eTXcPSUzG6Rn9RGrdxYvUxtYdM7fzrHSBQCP8s1k+PV8cyEMrrHnOnB
4+stld004QNhjMG4M5wE4VmuVxR45Dsa6AZ4spZaeVAbWNdI977sPHk1Mx5iQlaBbZ2SJAHJIcN
CJAGVUASUmG7OTz97a1Wql7xa0zvC+2etYmhvnWjIexEIt+YNi7dI0FKrJwg5Nl/3Q4j8vnJGeU
+GNigyRSDZgMCG3zpkyiEBEBLbaKBMs7KuYbbbmqK2leXUEf56KrHL+XvjqZBgQxFwyiBYUyynd
tbd5OJgsnieEjX/Lv8rS8Wg0MW3VEHZl7JhmLg0NDwYmDD53z32a15cOOC1wxr0QTEqWWM1XbUa
Zn8XxNwsh1RjXQ4GasiCZewdr11x4dbasvVwOH
X-Google-Smtp-Source: AGHT+IHsYc7Vffyh8bPVAH/mhmLHiejOqj7vsiDkQHOjpekPTA0CUvp57tG6GFlK+bHdD1HoYFzMzA==
X-Received: by 2002:a17:907:3d9f:b0:b3e:b226:5bba with SMTP id
a640c23a62f3a-b49c23431famr775890666b.15.1759578611659;
Sat, 04 Oct 2025 04:50:11 -0700 (PDT)
Message-ID: <3f33dcbd-4e31-45b1-8464-acad512bb0e6@gmail.com>
Date: Sat, 4 Oct 2025 13:50:09 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Patch for recent Python versions
To: Keith Thompson <Keith DOT S DOT Thompson AT gmail DOT com>,
The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <CAAHpriPC=UC87AGBmLyJBV497uNTZfERP2cj8_H16YuYcN1oAQ AT mail DOT gmail DOT com>
In-Reply-To: <CAAHpriPC=UC87AGBmLyJBV497uNTZfERP2cj8_H16YuYcN1oAQ@mail.gmail.com>
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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On 27/04/2025 04:37, Keith Thompson via Cygwin wrote:
> I see that Cygwin only supports Python 3.9.16 (or 3.9.18 as a test
> version), which is a couple of years old.
> 
> I'm sure there's work to support newer versions, but I don't know
> the details.
> 
> I've succesfully built 3.13.3 and 3.14.0a7 from source, with the
> patch at the bottom of this email.
> 
> There are still some issues, including lack of support for asyncio
> due to the missing epoll API.  (And I'm curious why clockid_t is
> defined as unsigned long; it seems like overkill.)
> 
> Hope this is helpful.
> 
> commit c1e99d313386789d201a38c68f6d962f60324ace (v3.13.3_cygwin)
> Author: Keith Thompson <Keith DOT S DOT Thompson AT gmail DOT com>
> Date:   2025-04-26 16:16:27 -0700
> 
>      clockid_t is unsigned long on Cygwin
> 
> diff --git Modules/timemodule.c Modules/timemodule.c
> index 49626d32fd3..a08fbfb57cc 100644
> --- Modules/timemodule.c
> +++ Modules/timemodule.c
> @@ -189,6 +189,8 @@ time_clockid_converter(PyObject *obj, clockid_t *p)
>       long long clk_id = PyLong_AsLongLong(obj);
>   #elif defined(__DragonFly__)
>       long clk_id = PyLong_AsLong(obj);
> +#elif defined(__CYGWIN__)
> +    unsigned long clk_id = PyLong_AsUnsignedLong(obj);
>   #else
>       int clk_id = PyLong_AsInt(obj);
>   #endif
> 

Thanks.

I will look on it

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