Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread Vito De Tullio
Jack Diederich wrote: > the square brackets always expect an int or a slice. true only for lists :) In [1]: mydict = {} In [2]: mydict[1,2,3] = 'hi' In [3]: print mydict[1,2,3] --> print(mydict[1,2,3]) hi -- By ZeD -- http://mail.python.org/mailman/listinfo/python-list

Re: Persistent failure of 'break' statement ( novice )

2009-06-13 Thread John Machin
On Jun 14, 12:27 pm, pdlem...@earthlink.net wrote: > On Sat, 13 Jun 2009 19:03:38 -0700 (PDT), John Machin > > > > wrote: > >On Jun 14, 10:20 am, pdlem...@earthlink.net wrote: > > >> Now no error message, but it will go on forever despite repeatedly > >> entering 0.  Have to get out with ctrl-c .

Re: Good books in computer science?

2009-06-13 Thread rustom
On Jun 14, 10:38 am, koranthala wrote: > Software Tools - Seems to be a classic - not sure whether I will buy. In that vein but more modern -- Art of Unix Programming by Eric Raymond (available online) Some of my old favorites: Intro to functional programming by Bird and Wadler TAOCP slightly more

Re: Exceptions and Object Destruction (was: Problem with apsw and garbage collection)

2009-06-13 Thread Mike Kazantsev
On Fri, 12 Jun 2009 18:33:13 -0400 Nikolaus Rath wrote: > Nikolaus Rath writes: > > Hi, > > > > Please consider this example: > [] > > I think I managed to narrow down the problem a bit. It seems that when > a function returns normally, its local variables are immediately > destroyed. Howev

Re: Good books in computer science?

2009-06-13 Thread koranthala
On Jun 14, 1:52 am, "Rhodri James" wrote: > On Sat, 13 Jun 2009 18:37:13 +0100, koranthala   > wrote: > > > > >> Code Complete and GOF are software engineering books but not really > >> CS books. > > > I understand and concur. Since I am a software engineer - coming in to > > software from a diff

Off-topic: Usenet archiving history (was Re: FW: [Tutor] Multi-Threading and KeyboardInterrupt)

2009-06-13 Thread Aahz
In article , Dennis Lee Bieber wrote: > > As for the use of X-Noarchive headers... Back before Google, most >NNTP servers had automatic expiration of messages (on my ISP at the >time, the binary groups expired after 24 hours!, most messages expired >after one or two weeks). I never used X-N

Re: Question about None

2009-06-13 Thread John O'Hagan
On Sat, 13 Jun 2009, John Yeung wrote: > On Jun 13, 5:22 pm, "Rhodri James" > > wrote: > > Such an understanding would be clearly wrong in the context > > in which we were talking (and denotational semantics is a > > branch of category theory, which is not specific to computer > > science if you d

Re: Persistent failure of 'break' statement ( novice )

2009-06-13 Thread pdlemper
On Sat, 13 Jun 2009 19:03:38 -0700 (PDT), John Machin wrote: >On Jun 14, 10:20 am, pdlem...@earthlink.net wrote: > >> Now no error message, but it will go on forever despite repeatedly >> entering 0.  Have to get out with ctrl-c .     > >>            Frusting: I'm missing something fundamental. D

Re: Persistent failure of 'break' statement ( novice )

2009-06-13 Thread John Machin
On Jun 14, 10:20 am, pdlem...@earthlink.net wrote: > Now no error message, but it will go on forever despite repeatedly > entering 0.  Have to get out with ctrl-c .     >            Frusting: I'm missing something fundamental. Dave WB3DWE After you hit the zero key, do you hit the Enter key? If

Re: Persistent failure of 'break' statement ( novice )

2009-06-13 Thread Xavier Ho
I don't see any error in that code except the fact HTML ate one space from the code you pasted. It worked fine and perfectly as expected, even with print(num) present. I think you have either a run-time environment problem, or an editor encoding problem. Try a different editor, and/or different wa

Re: preferring [] or () in list of error codes?

2009-06-13 Thread Ben Finney
Mel writes: > The immutability makes it easier to talk about the semantic meanings. > After you do > > event_timestamp = (2009, 06, 04, 05, 02, 03) > there's nothing that can happen to the tuple to invalidate > > (year, month, day, hour, minute, second) = event_timestamp > even though, as

Persistent failure of 'break' statement ( novice )

2009-06-13 Thread pdlemper
Thanks Mark & Rhodri. Neither works. I'm using Notepad2 as editor. Don't use the tab. Each space counted with spacebar & recounted. Rewrote the block from scratch as new script and eliminated the print line in the loop. Now no error message, but it will go on forever despite repeatedly entering

Re: Exceptions and Object Destruction (was: Problem with apsw and garbage collection)

2009-06-13 Thread Aahz
In article <873aa5m6ae@vostro.rath.org>, Nikolaus Rath wrote: > >I think I managed to narrow down the problem a bit. It seems that when >a function returns normally, its local variables are immediately >destroyed. However, if the function is left due to an exception, the >local variables rema

Distributed computing & sending the interpreter

2009-06-13 Thread Jeremy Cowles
Hi all, I'm working on a distributed computing project (PyMW and BOINC) where we are sending Python scripts to client machines. Currently, we make two very unlikely assumptions: that Python 2.5 is installed and that the interpreter is available on the PATH. We are looking at our options to remove

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread Piet van Oostrum
> kj (k) wrote: >k> Switching from Perl here, and having a hard time letting go... >k> Suppose I have an "array" foo, and that I'm interested in the 4th, 8th, >k> second, and last element in that array. In Perl I could write: >k> my @wanted = @foo[3, 7, 1, -1]; >k> I was a bit surprised

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread kj
In kj writes: >OK, I see: if Python allowed foo[3,7,1,-1], then foo[3] would be >ambiguous: does it mean the fourth element of foo, or the tuple >consisting of this element alone? I suppose that's good enough >reason to veto this idea... Hmmm, come to think of it, this argument is weaker than

Re: Question about None

2009-06-13 Thread Piet van Oostrum
> Paul Rubin (PR) wrote: >PR> Paul Rubin writes: >>> crash, or something like that. None is a value which in Haskell has a >PR> I got ahead of myself, of course I meant Python (the *next* sentence >PR> was going to mention Haskell

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread Brian Quinlan
MRAB wrote: Brian Quinlan wrote: kj wrote: In Nick Craig-Wood writes: However I can't think of the last time I wanted to do this - array elements having individual purposes are usually a sign that you should be using a different data structure. In the case I was working with, was a stand

Re: frustrating failure of 'break' statement ( novice )

2009-06-13 Thread Rhodri James
On Sat, 13 Jun 2009 22:48:43 +0100, wrote: In my programs the 'break' fails to work. I've studied the docs for 3.0 and Programming in Python, neither of which are illuminating. Simplest example : while True : num = int(input()) print(num) if num == 0 : break print('done')

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread MRAB
Brian Quinlan wrote: kj wrote: In Nick Craig-Wood writes: However I can't think of the last time I wanted to do this - array elements having individual purposes are usually a sign that you should be using a different data structure. In the case I was working with, was a stand-in for the v

Re: frustrating failure of 'break' statement ( novice )

2009-06-13 Thread Mark Dickinson
On Jun 13, 10:48 pm, pdlem...@earthlink.net wrote: > In my programs the 'break' fails to work.  I've studied the docs for > 3.0 and Programming in Python, neither of which are illuminating. > Simplest example : > > while True : >     num = int(input()) >     print(num) >     if num == 0 : >        

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread Brian Quinlan
kj wrote: In Nick Craig-Wood writes: However I can't think of the last time I wanted to do this - array elements having individual purposes are usually a sign that you should be using a different data structure. In the case I was working with, was a stand-in for the value returned by some_

Re: Question about None

2009-06-13 Thread John Yeung
On Jun 13, 5:22 pm, "Rhodri James" wrote: > Such an understanding would be clearly wrong in the context > in which we were talking (and denotational semantics is a > branch of category theory, which is not specific to computer > science if you don't mind).  If None is nothing, then it can't > be a

frustrating failure of 'break' statement ( novice )

2009-06-13 Thread pdlemper
In my programs the 'break' fails to work. I've studied the docs for 3.0 and Programming in Python, neither of which are illuminating. Simplest example : while True : num = int(input()) print(num) if num == 0 : break print('done') SyntaxError : invalid syntax( pointing t

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread John Yeung
On Jun 13, 3:59 pm, Arnaud Delobelle wrote: > kj writes: > > Are these the most idiomatically pythonic forms?  Or am > > I missing something better? > > You're missing operator.itemgetter: > > >>> from operator import itemgetter > >>> foo = "spam & eggs" > >>> itemgetter(3, 7, 1, -1)(foo) > > ('m

Generating a unique filename in the face of unicode filename

2009-06-13 Thread skip
In my lockfile module I generate a unique name like so: self.path = path self.lock_file = os.path.abspath(path) + ".lock" self.hostname = socket.gethostname() self.pid = os.getpid() if threaded: name = threading.current_thread().get_name() tname = "%s-" % quote(

Re: Question about None

2009-06-13 Thread Rhodri James
On Sat, 13 Jun 2009 21:25:28 +0100, John Yeung wrote: > But mathematically speaking, it's intuitive that > "nothing" would match any type. Completely wrong.  The concept you're thinking of in denotational semantics is called "bottom", but bottom is not a value that functions can compute and

Re: How to insert string in each match using RegEx iterator

2009-06-13 Thread John S
On Jun 10, 12:13 am, "504cr...@gmail.com" <504cr...@gmail.com> wrote: > By what method would a string be inserted at each instance of a RegEx > match? > > For example: > > string = '123 abc 456 def 789 ghi' > newstring = ' INSERT 123 abc INSERT 456 def INSERT 789 ghi' > > Here's the code I started

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread kj
In Nick Craig-Wood writes: >However I can't think of the last time I wanted to do this - array >elements having individual purposes are usually a sign that you should >be using a different data structure. In the case I was working with, was a stand-in for the value returned by some_match.group

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread kj
In Jack Diederich writes: >There is only so much room in the syntax for common cases before you >end up with ... perl (no offense intended, I'm a perl monk[1]). The >Python grammar isn't as context sensitive or irregular as the perl >grammar so mylist[1,2,3] so the "1,2,3" tuple is always in

Re: Lexical scope: converting Perl to Python

2009-06-13 Thread Rhodri James
On Sat, 13 Jun 2009 06:02:53 +0100, Andrew Savige wrote: What is the Pythonic equivalent of Perl's lexical scope, as illustrated by the code snippet above? The useful (to you) pythonic answer depends rather a lot on why you want to do something like that. While you've been given several po

Re: Good books in computer science?

2009-06-13 Thread Rhodri James
On Sat, 13 Jun 2009 18:37:13 +0100, koranthala wrote: Code Complete and GOF are software engineering books but not really CS books. I understand and concur. Since I am a software engineer - coming in to software from a different background - what I am looking for is self- improvement book

Re: Question about None

2009-06-13 Thread John Yeung
On Jun 13, 1:49 pm, Paul Rubin wrote: > John Yeung writes: > > Because you might want None to behave as though it were > > nothing at all. > > Sure, you might also want strings to behave as if they > were ints, but wishing doesn't make it so. I'm not saying that the

Re: Lexical scope: converting Perl to Python

2009-06-13 Thread John S
On Jun 13, 8:29 am, Nick Craig-Wood wrote: > 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; > >   return $private_hash{$param}; > >

https post request

2009-06-13 Thread Travis Altman
i'm trying to make a https post request, i'm following the example linked below. http://www.java2s.com/Tutorial/Python/0420__Network/SendinganHTTPPOSTRequestfromaPythonScript.htm i'm trying to make the https post request to netflix.com, below is my code 1 import httplib 2 3 # def statement

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread Arnaud Delobelle
kj writes: > Switching from Perl here, and having a hard time letting go... > > Suppose I have an "array" foo, and that I'm interested in the 4th, 8th, > second, and last element in that array. In Perl I could write: > > my @wanted = @foo[3, 7, 1, -1]; > > I was a bit surprised when I got this

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread Brian Quinlan
kj wrote: Switching from Perl here, and having a hard time letting go... Suppose I have an "array" foo, and that I'm interested in the 4th, 8th, second, and last element in that array. In Perl I could write: my @wanted = @foo[3, 7, 1, -1]; Could you explain your use case? It could be that

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread Nick Craig-Wood
kj wrote: > > > Switching from Perl here, and having a hard time letting go... > > Suppose I have an "array" foo, and that I'm interested in the 4th, 8th, > second, and last element in that array. In Perl I could write: > >my @wanted = @foo[3, 7, 1, -1]; > > I was a bit surprised whe

Re: Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread Jack Diederich
On Sat, Jun 13, 2009 at 2:11 PM, kj wrote: > > > Switching from Perl here, and having a hard time letting go... > > Suppose I have an "array" foo, and that I'm interested in the 4th, 8th, > second, and last element in that array.  In Perl I could write: > >  my @wanted = @foo[3, 7, 1, -1]; > > I wa

Re: Good books in computer science?

2009-06-13 Thread Nathan Stoddard
On Sat, 13 Jun 2009 08:49:52 -0700, koranthala wrote: > Hi all, > I do understand that this is not a python question and I apologize > for that straight up. > But I am a full time follower of this group and I have seen very > very brilliant programmers and solutions. > I also want to b

Perl's @foo[3,7,1,-1] ?

2009-06-13 Thread kj
Switching from Perl here, and having a hard time letting go... Suppose I have an "array" foo, and that I'm interested in the 4th, 8th, second, and last element in that array. In Perl I could write: my @wanted = @foo[3, 7, 1, -1]; I was a bit surprised when I got this in Python: >>> wanted

Re: moving Connection/PipeConnection between processes

2009-06-13 Thread Randall Smith
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 imported. That spawner process is respon

Re: Question about None

2009-06-13 Thread Paul Rubin
Paul Rubin writes: > crash, or something like that. None is a value which in Haskell has a I got ahead of myself, of course I meant Python (the *next* sentence was going to mention Haskell). The corresponding concept in Haskell is called Nothing, which lives in a t

Re: Question about None

2009-06-13 Thread Paul Rubin
John Yeung writes: > Because you might want None to behave as though it were nothing at all. Sure, you might also want strings to behave as if they were ints, but wishing doesn't make it so. > But mathematically speaking, it's intuitive that "nothing" would match > any type. Completely wrong.

Re: Good books in computer science?

2009-06-13 Thread koranthala
> Code Complete and GOF are software engineering books but not really > CS books. I understand and concur. Since I am a software engineer - coming in to software from a different background - what I am looking for is self- improvement books for a software engineer. This can include both CS and So

Re: Question about None

2009-06-13 Thread John Yeung
On Jun 13, 2:29 am, Steven D'Aprano wrote: > Paul LaFollette wrote: > > 3) (this is purely philosophical but I am curious) > > Would it not be more intuitive if > > isinstance(None, ) returned true? > > Good grief no!!! > > None is an object. It has a type, NoneType. It's *not* a > string, or a fl

Re: Good books in computer science?

2009-06-13 Thread Paul Rubin
koranthala writes: > Which are the classic books in computer science which one should > peruse? > I have (a) Code Complete (b) GOF (c) Art of programming. > > Art of programming was too tough for me - and I couldnt understand > much. The other two were good books - I understood and i

Re: Question about None

2009-06-13 Thread Terry Reedy
Steven D'Aprano wrote: [ snip excellent discussion of proper use of assert] The third bug (the nitpick) is a bug in the API: you name the argument "nxt" with no e, but in the error message, you call it "next" with an e. The fact that any intelligent person should be able to guess what parameter

Re: Good books in computer science?

2009-06-13 Thread python
Timeless classics - highly recommended: Software Tools by Plaugher Mythical Man Month by Brooks Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: uncompress base64-gzipped string

2009-06-13 Thread Scott David Daniels
Niels Egberts wrote: On Sat, Jun 13, 2009 at 4:38 AM, John Machin wrote: ... And thanks for the tip on struct.unpack I managed to get a list of integers to work with. You might make do with array.fromstring (perhaps using .byteswap afterwards) to get your numbers if you are talking more than a

Good books in computer science?

2009-06-13 Thread koranthala
Hi all, I do understand that this is not a python question and I apologize for that straight up. But I am a full time follower of this group and I have seen very very brilliant programmers and solutions. I also want to be a good programmer - so this question. Which are the classic

Re: Python 3.1 Release Candidate 2

2009-06-13 Thread Khalid
On Jun 13, 5:46 pm, Benjamin Peterson wrote: > On behalf of the Python development team, I'm happy to announce the second > release candidate of Python 3.1. > > Python 3.1 focuses on the stabilization and optimization of the features and > changes that Python 3.0 introduced.  For example, the new

Re: preferring [] or () in list of error codes?

2009-06-13 Thread Mel
Gunter Henriksen wrote: [ ... ] > I guess to me, fundamentally, the interpretation of > tuple as a sequence whose elements have semantic meaning > implicitly defined by position is a relatively abstract > intrepretation whose value is dubious relative to the > value of immutability, since it seems

[RELEASED] Python 3.1 Release Candidate 2

2009-06-13 Thread Benjamin Peterson
On behalf of the Python development team, I'm happy to announce the second release candidate of Python 3.1. Python 3.1 focuses on the stabilization and optimization of the features and changes that Python 3.0 introduced. For example, the new I/O system has been rewritten in C for speed. File sys

Re: Making the case for repeat

2009-06-13 Thread K4NTICO
On 13 juin, 14:15, Steven D'Aprano wrote: > Boris Borcic wrote: > > This reminds me of an early programming experience that left me with a > > fascination. At a time where code had to fit in a couple dozens kilobytes, > > I once had to make significant room in what was already very tight and > > t

Re: Exceptions and Object Destruction (was: Problem with apsw and garbage collection)

2009-06-13 Thread Piet van Oostrum
> Nikolaus Rath (NR) wrote: >NR> Is there a way to have the obj variable (that is created in dostuff()) >NR> destroyed earlier than at the end of the program? As you can see, I >NR> already tried to explicitly call the garbage collector, but this does >NR> not help. The exact time of the des

Re: Multi-Threading and KeyboardInterrupt

2009-06-13 Thread Mike Kazantsev
On Sat, 13 Jun 2009 04:42:16 -0700 (PDT) koranthala wrote: > Are there other videos/audio like this? I am learning more from these > videos than by experience alone. Indeed, it is a very interesting presentation, but I'm afraid I've stumbled upon it just as you did, but on concurrency-sig mailin

Re: Lexical scope: converting Perl to Python

2009-06-13 Thread Nick Craig-Wood
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; > return $private_hash{$param}; >    } >  } >  print public_fn("A");    # good:  print

Re: Making the case for repeat

2009-06-13 Thread Steven D'Aprano
Boris Borcic wrote: > This reminds me of an early programming experience that left me with a > fascination. At a time where code had to fit in a couple dozens kilobytes, > I once had to make significant room in what was already very tight and > terse code. Code factoring *did* provide the room in

Re: Lexical scope: converting Perl to Python

2009-06-13 Thread I V
On Fri, 12 Jun 2009 22:02:53 -0700, Andrew Savige wrote: > Notice that this code uses Perl's lexical scope to hide the > %private_hash variable, but not the public_fn() function. You might try: def public_fn(param): private_hash = publicfn.private_hash return private_hash[param]

Re: Multi-Threading and KeyboardInterrupt

2009-06-13 Thread koranthala
On Jun 13, 10:25 am, Mike Kazantsev wrote: > On Thu, 11 Jun 2009 22:35:15 -0700 > Dennis Lee Bieber wrote: > > > > > On Thu, 11 Jun 2009 08:44:24 -0500, "Strax-Haber, Matthew (LARC-D320)" > > declaimed the following in > > gmane.comp.python.general: > > > > I sent this to the Tutor mailing list

Re: CAD file format specifications?

2009-06-13 Thread Anthra Norell
Andres Acosta wrote: HI there Anthara have you checked out www.Blender.org, It is open source and accepts a lot of your formats. for import and export. Anrdres Anthra Norell wrote: Hi, Anyone working with CAD who knows about numeric data entry? I have 3d coordinates of a construction site on

Re: install Python-2.4.4 from source (parallel to existing Python-2.6)

2009-06-13 Thread Simon
Christian Heimes wrote: Simon schrieb: Christian Heimes wrote: Simon wrote: I installed Python-2.4.4.tar.bz2 from python.org, using gcc-4.3 (within openSUSE 11.1 x86_64) via 'make altinstall'. First, I tried to configure with the following flags: --prefix=/opt/python-24 --enable-framework --w

Re: uncompress base64-gzipped string

2009-06-13 Thread Niels Egberts
On Sat, Jun 13, 2009 at 4:38 AM, John Machin wrote: > | >>> guff[:100] > | '\x1b\x00\x00\x00\x1b\x00\x00\x00\x1b\x00\x00\x00 [snip] > > What a long journey: parse xml, base64 decode, gunzip, > and you're still not home; next stop is struct.unpack ... > > HTH, > John Thanks for the help! I dont thi

Re: How should I compare two txt files separately coming from windows/dos and linux/unix

2009-06-13 Thread Piet van Oostrum
> Emile van Sebille (EvS) wrote: >EvS> On 6/11/2009 12:09 AM higer said... >>> Tool can certainly be used to compare two files,but I just want to >>> compare them using Python code. >>> >EvS> difflib? If I understand correctly the OP just wanted to know whether two files were equal, not wh

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

Re: moving Connection/PipeConnection between processes

2009-06-13 Thread Mike Kazantsev
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 imported. That spawner process is > responsible for creati

moving Connection/PipeConnection between processes

2009-06-13 Thread Randall Smith
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 imported. That spawner process is responsible for creating new processes and giving a proxy to the parent process. (