Re: [Python-Dev] pthreads, fork, import, and execvp

2006-05-17 Thread Yair Chuchem
On 5/16/06, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: Rotem should simply avoid to fork() in the toplevel code of a module.this is not what happened.we called subprocess which itself called fork.as a subprocess bug this could be easily fixed by moving the import in "os._execve". we have made t

Re: [Python-Dev] total ordering.

2006-05-17 Thread Vladimir 'Yu' Stepanov
Jason Orendorff wrote: On 5/11/06, Vladimir 'Yu' Stepanov <[EMAIL PROTECTED]> wrote: If for Python-3000 similar it will be shown concerning types str(), int(), complex() and so on, and the type of exceptions will strongly vary, it will make problematic redefinition of behavior of function of sor

Re: [Python-Dev] MSVC 6.0 patch

2006-05-17 Thread Thomas Heller
Luke Dunstan wrote: > Hi, > > This patch submitted in March allows Python trunk to be built using MSVC 6: > > http://sourceforge.net/tracker/index.php?func=detail&aid=1457736&group_id=5470&atid=305470 > > It is not my patch but I am quite interested because the code changes are > also required

[Python-Dev] New string method - splitquoted

2006-05-17 Thread Dave Cinege
Very oftenmake that very very very very very very very very very often, I find myself processing text in python that when .split()'ing a line, I'd like to exclude the split for a 'quoted' item...quoted because it contains whitespace or the sep char. For example: s = ' Chan: 11 SNR: 2

Re: [Python-Dev] pthreads, fork, import, and execvp

2006-05-17 Thread Neal Norwitz
On 5/16/06, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > Nick Coghlan wrote: > > Broadening the ifdef to cover all posix systems rather than just AIX > > might be the right thing to do. > > As I said: I doubt it is the right thing to do. Instead, the lock > should get released in the child proces

Re: [Python-Dev] New string method - splitquoted

2006-05-17 Thread Heiko Wundram
Am Donnerstag 18 Mai 2006 06:06 schrieb Dave Cinege: > This is useful, but possibly better put into practice as a separate > method?? I personally don't think it's particularily useful, at least not in the special case that your patch tries to address. 1) Generally, you won't only have one chara