Re: Lexical scope: converting Perl to Python

2009-06-13 Thread jenifer adam
On Jun 13, 10:44 am, Mike Kazantsev wrote: > On Fri, 12 Jun 2009 22:02:53 -0700 (PDT) > > > > > > Andrew Savige wrote: > > I'd like to convert the following Perl code to Python: > > >  use strict; > >  { > >    my %private_hash = ( A=>42, B=>69 ); > >    sub public_fn { > > my $param = shift

Re: moving Connection/PipeConnection between processes

2009-06-13 Thread jenifer adam
On Jun 13, 1:11 pm, Mike Kazantsev wrote: > On Sat, 13 Jun 2009 02:23:37 -0500 > > > > > > Randall Smith wrote: > > I've got a situation in which I'd like to hand one end of a pipe to > > another process.  First, in case you ask why, a spawner process is > > created early before many modules are

Re: Help AIX 5.3 build on Python-3.1a2

2009-06-13 Thread jenifer adam
On Apr 26, 2:14 pm, Jeroen Ruigrok van der Werven wrote: > -On [20090425 19:17], Aahz (a...@pythoncraft.com) wrote: > > >In article > >, > > wrote: > >>"Include/token.h", line 42.9: 1506-213 (S) Macro name TILDE cannot be > >>redefined. > >>"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is d

Re: Can't run PyQt apps with MacPython

2009-06-13 Thread jenifer adam
On May 13, 8:53 pm, Morad wrote: > I recently got a new MacBook Pro with Leopard, and would like to > develop using Python and PyQt. I installed the latest QtSDK, updated > MacPython to V 2.5.4 and then proceeded to install SIP and PyQt as > described in Mark Summerfield's book on PyQt Programming

Re: distutils extension configuration problem

2009-06-13 Thread jenifer adam
On May 27, 2:10 am, Ron Garret wrote: > I'm trying to build PyObjC on an Intel Mac running OS X 10.5.7.  The > build is breaking because distutils seems to want to build extension > modules as universal binaries, but some of the libraries it depends on > are built for intel-only, i.e.: > > [...@mi