Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80689

Re: ssl error with the python mac binary

Path csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <poalman@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:error': 0.03; '(python': 0.07; 'binary': 0.07; 'distributing': 0.07; 'versions.': 0.07; 'app,': 0.09; 'difference,': 0.09; 'differently.': 0.09; 'part,': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'abi': 0.16; 'abi,': 0.16; 'abis': 0.16; 'later)': 0.16; 'preserve': 0.16; 'prospect': 0.16; 'py2app': 0.16; 'targets': 0.16; 'subject:python': 0.16; 'extensions': 0.16; 'wrote:': 0.18; 'library': 0.18; 'bit': 0.19; 'app': 0.19; 'module': 0.19; 'trying': 0.19; 'later': 0.20; 'machine': 0.22; 'cc:addr:python.org': 0.22; 'paul': 0.24; 'versions': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; "i've": 0.25; 'compiled': 0.26; 'extension': 0.26; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'testing': 0.29; 'wonder': 0.29; 'newer': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'getting': 0.31; 'app.': 0.31; "they'll": 0.31; 'run': 0.32; 'quite': 0.32; '(including': 0.33; 'url:python': 0.33; 'running': 0.33; 'implemented': 0.33; 'mac': 0.33; 'older': 0.33; 'subject:the': 0.34; 'subject:with': 0.35; 'basic': 0.35; 'something': 0.35; 'good.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'building': 0.35; 'there': 0.35; 'version': 0.36; 'really': 0.36; 'c++': 0.36; 'installing': 0.36; 'url:listinfo': 0.36; 'thanks': 0.36; 'possible': 0.36; 'url:org': 0.36; 'virtual': 0.37; 'starting': 0.37; 'problems': 0.38; 'apple': 0.38; 'tools,': 0.38; 'that,': 0.38; 'little': 0.38; 'sure': 0.39; 'major': 0.40; 'release': 0.40; 'url:mail': 0.40; 'even': 0.60; 'future': 0.60; 'most': 0.60; 'break': 0.61; 'first': 0.61; 'save': 0.62; 'making': 0.63; 'guarantee': 0.63; 'happen': 0.63; 'more': 0.64; 'forward': 0.65; 'great': 0.65; 'safe': 0.72; 'article': 0.77; 'hacking.': 0.84; 'installer': 0.84; 'pain': 0.84; 'ppc': 0.84; 'this!': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=z7iKFmoz/It3hhy6hUiuuYbgIR+jRdDZOHPBIUNNHdk=; b=dXa88wx4D8rud5389OhjeTZLE9Zqlre+uV6ll4IOuUu3wgg49oW5DL/8+2qQ1PvXtf NZ34AhDIdRyNz+W0uXiR/XxWUroKEPKG+4vUp1Dd5Y18suyRsRyjAIzKq5K6b4wY0NNl 3zk3Befcm3LqfULM5Cr6WUH8pSQryT4qtCUZNQntf1nrMkYkGHo5tw/nwqLaOqGhft7U Z9WisaiJk9xg/cmxQj8of1XXD9+QKRzk6mfdJ1rfV2iuGp6x8sup2++N1rqkMJOzKr8E zPzhnWdtqNE5DuJl6f/zy5PjEEAdf8onHGJWFoMJUQUlgVXOzyvAQyu7axJTfr53rhys 6IWw==
MIME-Version 1.0
X-Received by 10.180.84.198 with SMTP id b6mr4735309wiz.41.1415891888591; Thu, 13 Nov 2014 07:18:08 -0800 (PST)
In-Reply-To <nad-1F1549.11520412112014@news.gmane.org>
References <CACgdh2iG9+cLjj7mZ7qeALQd==pCRknnv8i_EeRj6AHjvg3cRQ@mail.gmail.com> <nad-2467A6.14510210112014@news.gmane.org> <CACgdh2igu5JEeHEO4EVA6=TiqqvosX1z_CuQ=Ti5Axbf=LcVyQ@mail.gmail.com> <nad-1F1549.11520412112014@news.gmane.org>
Date Thu, 13 Nov 2014 15:18:08 +0000
Subject Re: ssl error with the python mac binary
From Paul Wiseman <poalman@gmail.com>
To Ned Deily <nad@acm.org>
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15779.1415891896.18130.python-list@python.org> (permalink)
Lines 61
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415891896 news.xs4all.nl 2933 [2001:888:2000:d::a6]:35582
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80689

Show key headers only | View raw


On 12 November 2014 19:52, Ned Deily <nad@acm.org> wrote:
> In article
> <CACgdh2igu5JEeHEO4EVA6=TiqqvosX1z_CuQ=Ti5Axbf=LcVyQ@mail.gmail.com>,
>  Paul Wiseman <poalman@gmail.com> wrote:
>> I'm currently using the installer with py2app to make a distributable
>> app that targets 10.5+ (including ppc). To save having more than one
>> build I use this for all downloads. Although I'm starting to consider
>> making a second 32/64 distributable. Are there many major drawbacks
>> for distributing this i386/ppc binary for all versions of OSX up 10.9
>> and 10.10?
>
> For a standalone app, not really.  The main difference is that, by using
> the older 10.5 ABI, a few functions in the os module are not available
> (if they were implemented first in OS X 10.6 or later) and/or they may
> work a little differently.  AFAIK, the most impactful difference, by
> far, is the OpenSSL version difference you have run into.  Up to now, I
> don't recall any compatibility problems with 10.5 ABI programs running
> on later versions of OS X or, for the most part, mixing extension
> modules compiled to later ABIs with a 10.5 Python, although there might
> be issues with mixing versions of C++ modules (Python and its standard
> library do not use C++ themselves).  But, of course, there's no
> guarantee that something won't break in a future release of OS X.  So
> far, so good.
>

Yea, I'm a bit worried that apple will break it on a future release- I
think I will start looking into making a second build. I wonder what
are the chances they'll make a 64bit only OSX one day?

>> That's great news! Thanks for this! I've always found building things
>> on mac a huge pain and wasn't much looking forward to the prospect of
>> trying to build a 32/ppc python build on a 64 bit 10.10 machine (would
>> that even be possible?).
>
> It's possible: I do it.  But I cheat a bit: I have 10.5 running in a
> virtual machine on a 10.10 host.  In theory, it's possible to build
> natively on 10.10.  The trick is getting a version of Xcode 3 installed
> on 10.10 since support for building ppc archs was removed in Xcode 4.  I
> also cheat a bit there: I happen to still have copies of Xcode 3.1.4 and
> 3.2.6 installed on 10.10 because I made sure to preserve them through
> upgrades from 10.6 days.  IIRC, directly installing the necessary
> components from 3.2.6 on newer systems would require some hacking.  Then
> you have to be really vigilant that the build never strays from the old
> SDK and tools, which is not something we claim to support at the moment.
> The VM approach is quite safe and reliable.
>

I never thought about a VM for this for some reason- I have a few as
well for basic testing on older OSX versions. I remember having to
re-enable ppc in later versions of Xcode
(http://stackoverflow.com/q/5333490/659346) when I was building some
extensions for the app. That was a bit of a pain.

Thanks for your help though! look forward to the 2.7.9 release :)

> --
>  Ned Deily,
>  nad@acm.org
>
> --
> https://mail.python.org/mailman/listinfo/python-list

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: ssl error with the python mac binary Paul Wiseman <poalman@gmail.com> - 2014-11-13 15:18 +0000

csiph-web