Re: [Python-3000] optimizing [x]range

2007-07-30 Thread Johan Dahlin
Guido van Rossum wrote: [..] > > Were you drunk at the time? :-) No, I just remember that I made that mistake several times. [..] > > It seems to be used quite widely already; > > > > http://google.com/codesearch?hl=en&q=+%5E.*if%5Cs%2B.*%5Cs%2Bin%5Cs%2Brange%5C(.*%24&start=10&sa=N > > > > Sorr

Re: [Python-3000] optimizing [x]range

2007-07-28 Thread Johan Dahlin
Guido van Rossum wrote: > Do we really need another way to spell a <= x < b? FWIW, I'd say yes; I sometimes find it a bit difficult to remember how the operator should be placed, there are several possible ways of making a mistake, eg; a > x < b a < x > b a < x < b a > x > b Now, the

Re: [Python-3000] Wither PEP 335 (Overloadable Boolean Operators)?

2007-05-18 Thread Johan Dahlin
Guido van Rossum wrote: > While reviewing PEPs, I stumbled over PEP 335 ( Overloadable Boolean > Operators) by Greg Ewing. I am of two minds of this -- on the one > hand, it's been a long time without any working code or anything. OTOH > it might be quite useful to e.g. numpy folks. This kind of f

Re: [Python-3000] Requirements for a standard GUI library

2006-05-12 Thread Johan Dahlin
Antoine Pitrou wrote: > Le jeudi 11 mai 2006 à 10:00 -0600, Travis E. Oliphant a écrit : >> That sounds reasonable. As I said before, I like the idea of PyGUI. >> My main consternation is wxWindows. I'm not a big fan of how wxPython >> builds on top of wxWindows which builds on top of GTK whic

Re: [Python-3000] Requirements for a standard GUI library

2006-05-12 Thread Johan Dahlin
Travis E. Oliphant wrote: > Greg Ewing wrote: >> Travis E. Oliphant wrote: >>> The only thing I would wish different is to get rid of the PyGTK >>> dependency. I think PyGUI should be a wrapper directly on top of GNOME >> Perhaps you have Gnome and Gtk confused? Gnome is the >> desktop, Gtk is t

Re: [Python-3000] Add a standard GUI system

2006-04-29 Thread Johan Dahlin
Kay Schluehr wrote: > Bill Janssen schrieb: > >> I mentioned this a couple of weeks ago, and here it is again. >> >> The biggest wart in Python 2, the one that forces me to use another >> language, is the lack of a standard GUI. By standard, I mean that >> when you install Python on a system, the