How to Test GUI Apps for many Python X GUI toolkits

2012-06-03 Thread Mark Summerfield
Hi, There are many options for writing desktop GUI applications with Python and I'd like to explore some of them. However, to do this I need to be able to test various Python 3.x X GUI toolkit y.z combinations. With PyQt4 this is easy. (Example given at the end.) I'd like to be able to do the sa

Re: Tkinter deadlock on graceful exit

2012-06-03 Thread Matteo Landi
On Jun/02, Dennis Lee Bieber wrote: > On Sat, 2 Jun 2012 14:57:17 +0200, Matteo Landi > declaimed the following in gmane.comp.python.general: > > > > Lesson learned: never invoke Tkinter functions / methods outside the > > mainloop > > thread.. NEVER! > > > > Typically, that advice woul

Re: usenet reading

2012-06-03 Thread Colin Higwell
On Fri, 25 May 2012 15:38:55 -0700, Jon Clements wrote: > > Is there a server out there where I can get my news groups? I use to be > with an ISP that hosted usenet servers, but alas, it's no longer > around... > I use Albasani.net (free and very reliable), as well as gmane.org. Google Groups i

Re: usenet reading

2012-06-03 Thread Matej Cepl
On 03/06/12 13:59, Colin Higwell wrote: Google Groups is an abomination IMHO, and I find it much easier to read mailing lists via a newsreader. I highly recommend Pan, by the way. I am still surprised how good experience I have with reading news with Thunderbird. Yes, Pan is better, but it use

python View Controller for decoupled website architectures?

2012-06-03 Thread Alec Taylor
I'm developing a database (Model Controller) in Python (web2py) that exposes APIs in REST (HTTP)[CSV, XML, JSON] and RPC (XML, JSON). The client I'm developing in JavaScript to interface with my remote database via its API. Unfortunately JavaScript is rather troublesome when it comes to managin

Re: CPython 2.7: Weakset data changing size during internal iteration

2012-06-03 Thread Steven D'Aprano
On Fri, 01 Jun 2012 20:24:30 -0700, Temia Eszteri wrote: > On 02 Jun 2012 03:05:01 GMT, Steven D'Aprano > wrote: > >>I doubt that very much. If you are using threads, it is more likely your >>code has a race condition where you are modifying a weak set at the same >>time another thread is trying

Re: Use a locally built Tk for Python?

2012-06-03 Thread Steven D'Aprano
On Fri, 01 Jun 2012 09:34:41 -0700, Mark Summerfield wrote: > Hi, > > I have multiple Pythons locally installed so that I can test against > different versions. (On a 64-bit Debian stable system.) [...] > But when I run ~/opt/py32tkmod/bin/python3 tkinter-test.pyw the system > tk is being used no

Re: usenet reading

2012-06-03 Thread Neal Becker
Jon Clements wrote: > Hi All, > > Normally use Google Groups but it's becoming absolutely frustrating - not only > has the interface changed to be frankly impractical, the posts are somewhat > random of what appears, is posted and whatnot. (Ironically posted from GG) > > Is there a server out th

Re: Use a locally built Tk for Python?

2012-06-03 Thread David
Python uses the Tkinter wrapper around TCL/TK and it remains the same no matter how may versions of TCL/TK are installed. You will have to build Tkinter against whatever version you like and make sure that it gets installed in the /usr/lib64/python directory that you want. -- http://mail.pytho

Re: CPython 2.7: Weakset data changing size during internal iteration

2012-06-03 Thread Temia Eszteri
On 03 Jun 2012 16:20:11 GMT, Steven D'Aprano wrote: >And should I have known this from your initial post? I did discuss the matter with Terry Reedy, actually, but I guess since the newsgroup-to-mailing list mirror is one-way, there's no actual way you could've known. :/ Sigh, another problem out

Re: usenet reading

2012-06-03 Thread Peter Pearson
On Sat, 26 May 2012 16:05:23 +0100, duncan smith wrote: > On 25/05/12 23:38, Jon Clements wrote: [snip] >> Is there a server out there where I can get my news groups? > > If you don't mind paying a small fee there are several companies > providing usenet access such as http://www.newsdemon.com. (I

./configure

2012-06-03 Thread Janet Heath
Hi, I am trying to run the ./configure but I keep getting this: configure:2756: checking for --enable-universalsdk configure:2797: result: no configure:2806: checking for --with-universal-archs configure:2823: result: 32-bit configure:2980: checking MACHDEP configure:3129: result: darwin configu

Re: ./configure

2012-06-03 Thread Janet Heath
On Sunday, June 3, 2012 3:19:16 PM UTC-6, Janet Heath wrote: > Hi, > > I am trying to run the ./configure but I keep getting this: > > > configure:2756: checking for --enable-universalsdk > configure:2797: result: no > configure:2806: checking for --with-universal-archs > configure:2823: result:

Re: ./configure

2012-06-03 Thread Alain Ketterlin
Janet Heath writes: [...] > configure:3161: checking machine type as reported by uname -m > configure:3164: result: x86_64 > configure:3177: checking for --without-gcc > configure:3221: result: no > configure:3282: checking for gcc > configure:3312: result: no > configure:3375: checking for cc >

Re: usenet reading

2012-06-03 Thread Martin Schöön
On 2012-06-03, Peter Pearson wrote: > On Sat, 26 May 2012 16:05:23 +0100, duncan smith wrote: >> On 25/05/12 23:38, Jon Clements wrote: > [snip] >>> Is there a server out there where I can get my news groups? >> >> If you don't mind paying a small fee there are several companies >> providing usen

Re: ./configure

2012-06-03 Thread Chris Angelico
On Mon, Jun 4, 2012 at 7:19 AM, Janet Heath wrote: > configure:3534: error: no acceptable C compiler found in $PATH The configure script is used to build Python from source. To do that, you need a C compiler (such as gcc, which it went looking for a few lines earlier). Perhaps you want a binary d

Re: ./configure

2012-06-03 Thread Janet Heath
On Sunday, June 3, 2012 3:19:16 PM UTC-6, Janet Heath wrote: > Hi, > > I am trying to run the ./configure but I keep getting this: > > > configure:2756: checking for --enable-universalsdk > configure:2797: result: no > configure:2806: checking for --with-universal-archs > configure:2823: result:

Re: ./configure

2012-06-03 Thread Robert Kern
On 6/3/12 11:01 PM, Janet Heath wrote: Thanks Alain. I should have a compiler on my Mac OS X Lion. I am thinking that it isn't set in my $PATH variable. I don't know where the $PATH is set at. I will check to see if their is a binary. Lion does not come with a compiler out-of-box. You ha

Re: ./configure

2012-06-03 Thread Andrew Berg
On 6/3/2012 5:01 PM, Janet Heath wrote: > Thanks Alain. I should have a compiler on my Mac OS X Lion. I am thinking > that it isn't set in my $PATH variable. I don't know where the $PATH is set > at. I will check to see if their is a binary. There are always Windows and OS X binary installers

Re: ./configure

2012-06-03 Thread Benjamin Kaplan
> > Thanks Alain.  I should have a compiler on my Mac OS X Lion.  I am thinking > that it isn't set in my $PATH variable.  I don't know where the $PATH is set > at.  I will check to see if their is a binary. > -- > http://mail.python.org/mailman/listinfo/python-list You need to install the comma

Re: ./configure

2012-06-03 Thread Steven D'Aprano
On Sun, 03 Jun 2012 15:01:07 -0700, Janet Heath wrote: > Thanks Alain. I should have a compiler on my Mac OS X Lion. I am > thinking that it isn't set in my $PATH variable. I don't know where the > $PATH is set at. I will check to see if their is a binary. At the command line, run: echo $PAT

Re: ./configure

2012-06-03 Thread William R. Wing (Bill Wing)
On Jun 3, 2012, at 8:31 PM, Steven D'Aprano wrote: > On Sun, 03 Jun 2012 15:01:07 -0700, Janet Heath wrote: > >> Thanks Alain. I should have a compiler on my Mac OS X Lion. I am >> thinking that it isn't set in my $PATH variable. I don't know where the >> $PATH is set at. I will check to see

Re: ./configure

2012-06-03 Thread Janet Heath
On Jun 3, 6:31 pm, Steven D'Aprano wrote: > On Sun, 03 Jun 2012 15:01:07 -0700, Janet Heath wrote: > > Thanks Alain.  I should have a compiler on my Mac OS X Lion.  I am > > thinking that it isn't set in my $PATH variable.  I don't know where the > > $PATH is set at.  I will check to see if their

Installing Mailman

2012-06-03 Thread Janet Heath
checking for --with-python... no checking for python... /usr/bin/python checking Python interpreter... /usr/bin/python checking Python version... 2.7.1 checking Python's email package... ok checking Japanese codecs... ok checking Korean codecs... ok checking that Python has a working distutils... c

Re: Installing Mailman

2012-06-03 Thread Chris Rebert
On Sun, Jun 3, 2012 at 9:04 PM, Janet Heath wrote: > checking for --with-python... no > checking for python... /usr/bin/python > checking Python interpreter... /usr/bin/python > checking Python version... 2.7.1 > checking Python's email package... ok > checking Japanese codecs... ok > checking Kor

Re: Installing Mailman

2012-06-03 Thread Benjamin Kaplan
On Mon, Jun 4, 2012 at 12:49 AM, Chris Rebert wrote: > On Sun, Jun 3, 2012 at 9:04 PM, Janet Heath > wrote: >> checking for --with-python... no >> checking for python... /usr/bin/python >> checking Python interpreter... /usr/bin/python >> checking Python version... 2.7.1 >> checking Python's emai