delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4A67ED57.3070300@users.sourceforge.net> |
Date: | Wed, 22 Jul 2009 23:55:51 -0500 |
From: | "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: python 2.6 |
References: | <49688D6D DOT 9060108 AT gmail DOT com> <496BEB8D DOT 60802 AT gmail DOT com> <20090113171258 DOT GA1104 AT tishler DOT net> <49792F5F DOT 5020409 AT users DOT sourceforge DOT net> <20090126152024 DOT GC8368 AT tishler DOT net> |
In-Reply-To: | <20090126152024.GC8368@tishler.net> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 26/01/2009 09:20, Jason Tishler wrote: > I don't know, but building Python 2.6 with openssl support causes the > treading related operations to core dump. Maybe this particular code > path tickles a problem in Cygwin? For some reason, Python 2.5.2 and 3.0 > do not exhibit the same behavior. It seems the correlation is that in 2.6, _ssl itself uses threads; in 2.5 it did not, but in 3.1 it does and those same tests pass, as they do if _ssl.dll is not present in 2.6. I don't know the cause but I did find an easy workaround: Forcefully disabling threads in _ssl.c by adding #undef WITH_THREAD immediately after #include "Python.h" creates a _ssl.dll that allows the tests to pass. While this may seem a bit crude, it's really the same situation that existed in 2.5, where the core is threaded and _ssl isn't thread-aware. As for updating Cygwin's python to 2.6, I see that 2.5 is the default version in stable and up, with 2.6/3.1 available only in experimental. I suggest we do similarly; leave the distro default at 2.5.4 (rebuilt for 1.7) and add non-default (IOW nothing non-versioned in /usr/bin) python2.6 and python3.1 packages for users to try. Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |