Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44058
| Date | 2013-04-22 14:52 +0200 |
|---|---|
| From | Antoon Pardon <antoon.pardon@rece.vub.ac.be> |
| Subject | Re: Ubuntu package "python3" does not include tkinter |
| References | (4 earlier) <5174b515$0$29872$c3e8da3$5496439d@news.astraweb.com> <kl2lk9$qnv$2@dont-email.me> <5174e407$0$29872$c3e8da3$5496439d@news.astraweb.com> <mailman.900.1366618110.3114.python-list@python.org> <5175005f$0$29872$c3e8da3$5496439d@news.astraweb.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.908.1366635188.3114.python-list@python.org> (permalink) |
Op 22-04-13 11:18, Steven D'Aprano schreef: > On Mon, 22 Apr 2013 03:08:24 -0500, Andrew Berg wrote: > >> Much of the stdlib doesn't rely on anything but the core interpreter. >> tkinter by itself is not the issue. As you said, the bindings are tiny. >> However, in order to be usable, it requires quite a few things - most >> notably X. On desktop Linux, this is already installed, but on server >> systems, it generally is not (or at least shouldn't be in most cases). >> Going back to my example of a web server using a Python-based framework, >> I'll repeat that there is no reason such a system should have X even >> installed in order to serve web pages. Even on a lean, mean server >> machine, CPython requires only a few extra libraries. Add tkinter, and >> suddenly you have to install a LOT of things. If you plan to actually >> use tkinter, this is fine. If not, you've just added a lot of stuff that >> you don't need. This adds unnecessary overhead in several places (like >> your package system's database). > I can't disagree with any of this, except to say that none of this > justifies having a separate package for Tkinter. Naturally if you don't > have X, Tcl won't work, and if Tcl won't work, Tkinter won't work and > should give an import error. But that doesn't imply that X must be a > dependency for Python. It's a dependency for having Tkinter *work*, but > not for *installing* Tkinter as part of the standard library. > > Hell, even if you have X installed, and Tcl, and the Tkinter packages, > importing tkinter can still fail, if Python wasn't built with the right > magic incantations for it to recognise that Tcl is installed. Then don't use a package system. The job of a package system is, that if you install something, it install all dependencies that are needed to make it work. And if, as the OP you thinks, python working, means tkinter working, not installing tcl and not installing X, is not an option. Your solution doesn't make sense in view of your earlier response where you argue tkinster should be installed because it is part of the standard combined with the advantage of having a standard library. But IMO a part of that standard library not working, is just as harmful as part of that standard library not being installed. From a user/programmer's point of view the result is the same. It is unusable.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Ubuntu package "python3" does not include tkinter lcrocker <lee@piclab.com> - 2013-04-19 10:17 -0700
Re: Ubuntu package "python3" does not include tkinter Joel Goldstick <joel.goldstick@gmail.com> - 2013-04-19 13:25 -0400
Re: Ubuntu package "python3" does not include tkinter lcrocker <leedanielcrocker@gmail.com> - 2013-04-19 10:30 -0700
Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-19 12:35 -0500
Re: Ubuntu package "python3" does not include tkinter lcrocker <leedanielcrocker@gmail.com> - 2013-04-19 10:42 -0700
Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-19 10:53 -0700
Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-19 13:05 -0500
Re: Ubuntu package "python3" does not include tkinter Sibylle Koczian <nulla.epistola@web.de> - 2013-04-20 18:10 +0200
Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-22 03:57 +0000
Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-21 21:10 -0700
Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-21 23:24 -0500
Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-21 21:34 -0700
Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-22 00:13 -0500
Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-22 07:36 +0100
Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-22 07:17 +0000
Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-22 03:08 -0500
Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-22 09:18 +0000
Re: Ubuntu package "python3" does not include tkinter Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-04-22 14:52 +0200
Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-23 00:22 +0000
Re: Ubuntu package "python3" does not include tkinter Chris Angelico <rosuav@gmail.com> - 2013-04-23 10:36 +1000
Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-23 04:03 +0000
Re: Ubuntu package "python3" does not include tkinter Chris Angelico <rosuav@gmail.com> - 2013-04-23 14:11 +1000
Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-22 19:47 -0500
Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-23 05:49 +0000
Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-23 02:33 -0500
Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-22 20:50 -0700
Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-23 07:57 +0100
Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-22 22:09 +0100
Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-22 23:30 +0000
Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-23 07:44 +0100
Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-23 05:01 -0700
Re: Ubuntu package "python3" does not include tkinter Bob Martin <bob.martin@excite.com> - 2013-04-23 07:33 +0100
Re: Ubuntu package "python3" does not include tkinter Chris Angelico <rosuav@gmail.com> - 2013-04-23 16:41 +1000
Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-23 07:48 +0100
Re: Ubuntu package "python3" does not include tkinter Chris Angelico <rosuav@gmail.com> - 2013-04-23 17:34 +1000
Re: Ubuntu package "python3" does not include tkinter lcrocker <leedanielcrocker@gmail.com> - 2013-04-22 04:18 -0700
Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-22 05:08 -0700
Re: Ubuntu package "python3" does not include tkinter Chris Angelico <rosuav@gmail.com> - 2013-04-22 23:07 +1000
Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-22 22:00 +0100
Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-22 07:35 +0100
Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-22 04:16 -0700
Re: Ubuntu package "python3" does not include tkinter Peter Otten <__peter__@web.de> - 2013-04-19 19:53 +0200
Re: Ubuntu package "python3" does not include tkinter Terry Jan Reedy <tjreedy@udel.edu> - 2013-04-19 14:42 -0400
Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-20 00:05 +0000
csiph-web