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


Groups > comp.lang.python > #78628

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!217.188.199.168.MISMATCH!takemy.news.telefonica.de!telefonica.de!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'open-source': 0.04; 'third-party': 0.04; 'yet.': 0.04; 'shipped': 0.05; 'subject:Python': 0.06; '64-bit': 0.07; 'binary': 0.07; 'apis': 0.09; 'decision.': 0.09; 'default.': 0.09; 'imply': 0.09; 'matplotlib': 0.09; 'option,': 0.09; 'present,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tcl/tk': 0.09; 'things,': 0.09; 'windows,': 0.09; 'python': 0.11; 'wrote': 0.14; "wouldn't": 0.14; 'windows': 0.15; '64-bit,': 0.16; 'bugs.': 0.16; 'cocoa-based': 0.16; 'ideally,': 0.16; 'imo,': 0.16; 'macs': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'scope.': 0.16; 'surprises': 0.16; 'tcl': 0.16; 'tk.': 0.16; 'windows?': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'unlike': 0.19; 'version.': 0.19; 'sponsor': 0.20; 'seems': 0.21; 'header:User- Agent:1': 0.23; 'earlier': 0.24; 'versions': 0.24; 'source': 0.25; 'subject:/': 0.26; 'header:X-Complaints-To:1': 0.27; 'point': 0.28; "we'd": 0.29; 'thus': 0.29; 'newer': 0.30; 'went': 0.31; 'cocoa': 0.31; 'libraries': 0.31; 'ok.': 0.31; 'there.': 0.32; 'compatible': 0.32; 'extend': 0.32; 'python.org': 0.32; 'option': 0.32; 'run': 0.32; 'open': 0.33; 'actively': 0.33; 'older': 0.33; 'totally': 0.33; 'moment': 0.34; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'really': 0.36; 'charset:us-ascii': 0.36; 'possible': 0.36; 'so,': 0.37; 'easily': 0.37; 'problems': 0.38; 'apple': 0.38; 'depends': 0.38; 'e.g.': 0.38; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'fact': 0.38; 'that,': 0.38; 'recent': 0.39; 'does': 0.39; 'though,': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'users': 0.40; 'release': 0.40; 'even': 0.60; 'middle': 0.60; 'most': 0.60; 'break': 0.61; 'providing': 0.61; 'first': 0.61; 'back': 0.62; 'complete': 0.62; 'making': 0.63; 'such': 0.63; 'decided': 0.64; 'our': 0.64; 'provide': 0.64; 'more': 0.64; 'license': 0.66; 'series': 0.66; 'promise': 0.68; 'respect': 0.70; 'advertising': 0.74; 'received:204': 0.75; 'article': 0.77; 'skip:n 40': 0.81; '8.4': 0.84; 'facto': 0.84; 'fortunately,': 0.84; 'generous,': 0.84; 'installer': 0.84; 'received:204.14': 0.84; 'usage.': 0.84; 'viable': 0.84; 'reasons,': 0.91; 'releases.': 0.91; 'ports': 0.93; 'serious': 0.97
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk
Date Thu, 02 Oct 2014 15:08:50 -0700
References <locf10$td8$1@ger.gmane.org> <nad-D2DDCB.14070824062014@news.gmane.org> <m0gps5$4r5$1@ger.gmane.org> <nad-40CB03.10344701102014@news.gmane.org> <m0jciu$hoi$1@ger.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 204.14.154.216
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
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.14566.1412287747.18130.python-list@python.org> (permalink)
Lines 61
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1412287747 news.xs4all.nl 2954 [2001:888:2000:d::a6]:33999
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:78628

Show key headers only | View raw


In article <m0jciu$hoi$1@ger.gmane.org>,
 "Peter Tomcsanyi" <tomcsanyi@slovanet.sk> wrote:
> "Ned Deily" <nad@acm.org> wrote in message 
> news:nad-40CB03.10344701102014@news.gmane.org...
> > The python.org 3.4.x series of installers will likely never change from
> > linking with Tk 8.5 by default.  That would break a number of important
> > third-party Python packages that supply binary distributions built for
> > the python.org OS X pythons, like matplotlib.
> I respect your decision.
> But it surprises me because the Windows version of Python 3.4.1 already 
> comes with Tcl/Tk 8.6. Does it mean that there are no such problems with 
> matplotlib etc. in Windows?

The main issue is that, unlike MS and Windows, Apple has long shipped 
versions of Tcl and Tk with OS X.  As I understand it, Apple even helped 
sponsor the writing of the newer Cocoa-based Tk that would also work on 
64-bit systems after they decided to not extend the older Carbon APIs to 
64-bit, making the original OS X native Carbon-based Tk problematic on 
newer Macs and releases of OS X.  When the Cocoa Tk was first shipped 
with OS X 10.6, Tk 8.6 hadn't been released yet so they went with a 
backport to 8.5 and, for whatever reasons, Apple has been very slow to 
upgrade their 8.5.x Tk since then and have not shipped a 8.6 version 
yet.  That leaves us in a bit of a quandary for the python.org 
installers.  Ideally, we'd just like to continue to depend on an 
Apple-supplied version but even the most recent releases of OS X ship 
with serious bugs.  Fortunately, it's been possible and long been our 
practice to ship the python.org installers Pythons built in such a way 
that, at run time, they will automatically use a compatible third-party 
Tcl and Tk, if present, otherwise fall back to the system version.  By 
far, the leading third-party distributor of Tcl/Tk is ActiveState and 
they are actively involved in the development and maintenance of Tcl and 
Tk.  But, their releases are not open-source and have a license that, 
while generous, do not permit totally unrestricted usage.  Thus it is 
problematic to depend totally on their releases. So, to really support 
Tk 8.6, the only viable option at the moment would be for us to ship our 
own versions of Tk, like the Windows installer does.  But it wouldn't be 
acceptable, IMO, to force other projects and users to migrate to 8.6 in 
the middle of a release cycle, e.g. 3.4.x or 2.7.x.  Providing it as an 
option, though, would be OK.

> I think that one of the point when advertising Python is that it works 
> accross the platforms, so keeping one platform (mac) "behind" for months 
> seems to me going against the multiplatform promise of Python...

I don't think we mean to imply that all of the third-party libraries 
that Python is able to use are the same across all platforms.  It 
depends on the platform and the practices there.  The fact is that Tk 
8.5 is still the de facto standard for OS X 10.6+ and Tk 8.4 is the de 
facto standard for OS X 10.5 and earlier systems, because that's what 
Apple has shipped.  And that's why matplotlib et al and we still ship 
binary installers for OS X with 8.5 support.  Third-party open source 
packages distributors, like MacPorts or Anaconda, can more easily move 
to newer versions of things, like Tk 8.6, because they provide complete 
solutions for many applications and libraries: they have ports for 
matplotlib, numpy, pythonx.x, Tk, and all other dependencies.  The 
python.org installers have a much more limited scope.

-- 
 Ned Deily,
 nad@acm.org

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


Thread

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Ned Deily <nad@acm.org> - 2014-10-02 15:08 -0700
  Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Christian Gollwitzer <auriocus@gmx.de> - 2014-10-03 08:57 +0200
    Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Ned Deily <nad@acm.org> - 2014-10-03 12:55 -0700
      Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Kevin Walzer <kw@codebykevin.com> - 2014-10-03 17:16 -0400
        Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Ned Deily <nad@acm.org> - 2014-10-03 22:53 -0700
          Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Christian Gollwitzer <auriocus@gmx.de> - 2014-10-05 21:26 +0200
            Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Ned Deily <nad@acm.org> - 2014-10-05 13:33 -0700

csiph-web