Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'third-party': 0.04; 'interpreter': 0.05; 'subject:Python': 0.06; 'interpreter.': 0.07; 'tkinter': 0.07; 'extends': 0.09; 'matplotlib': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'creates': 0.14; 'cares': 0.16; 'preexisting': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'summary,': 0.16; 'tcl': 0.16; 'think.': 0.16; 'tkinter.': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'library': 0.18; 'not,': 0.20; 'header:User-Agent:1': 0.23; 'helpful': 0.24; 'suggested': 0.26; 'subject:/': 0.26; 'header:X-Complaints-To:1': 0.27; 'program,': 0.31; 'code': 0.31; 'embedding': 0.31; 'this.': 0.32; 'extend': 0.32; 'stuff': 0.32; 'open': 0.33; 'actual': 0.34; 'agree': 0.35; 'but': 0.35; 'library.': 0.36; 'charset:us-ascii': 0.36; 'christian': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'more': 0.64; 'research,': 0.68; 'wish': 0.70; 'therefore': 0.72; 'received:204': 0.75; 'article': 0.77; 'christian.': 0.84; 'received:204.14': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Deily Subject: Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Date: Sun, 05 Oct 2014 13:33:30 -0700 References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1412541228 news.xs4all.nl 2862 [2001:888:2000:d::a6]:42096 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:78723 In article , Christian Gollwitzer wrote: [... much good stuff deleted ... ] > wish is a type A program, it creates an interpreter and therefore must > link to the actual library. So is Tkinter. But Tkagg is not, it extends > a preexisting interpreter. Thanks, Christian. That's a good summary, I think. After some more research, I agree with your conclusion that the stubs library approach does not apply to the case of embedding Tcl ("type A") which is what Python tkinter does. As far as matplotlib or PIL/Pillow or other third-party packages that may extend Tck/Tk, it might be helpful to open an issue with suggested code on the various projects' issue trackers if someone cares to pursue this. -- Ned Deily, nad@acm.org