Re: CPython on the Web

2011-01-03 Thread astar
On Jan 2, 4:58 pm, pyt...@bdurham.com wrote:
> Azakai/Gerry,
>
> > Errors when using Firefox 3.6.3:
>


firefox 3.6.13 openbsd i386 4.8 -current
error console has some errors:

editor not defined
module not define
too much recursion

nothing interested happened on the web page, but wonderful project
anyway

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python creates "locked" temp dir

2010-12-08 Thread astar
Hi,

I recently got caught on tempfiles with respect  to
urllib.urlretrieve, which can create a tmpfile.  Ah, but the file
simply could not be found on the file system, even as root.  But
within the program that created the tmpfile, you could do useful
things with the tmpfile.  So the discussion in this thread is useful
to me in understanding the rules.  But having been given a clue by
someone else, I never did find any python library documentation that
was at all informative, even to the level of discourse in this
thread.

But here is a relevant question:  I wonder if a child process is the
*same* process as the parent for these purposes?

Thanks.

max
-- 
http://mail.python.org/mailman/listinfo/python-list


progamming approach review, child processes

2010-11-23 Thread astar
So I have not done much with child processes before.

I have an input of programs to be updated, a child process that does
the
compiles and links (with a log output to an individual file), and a
process wait
at the end.  Except the child process can hang (at the moment, the
problem that might show up is: waiting for
input).  At which point a convenience  becomes a  hinderance.

As it happens the idea of doing the compiles in parallel is supported
by the
ports system I am working with.  So I thought I could avoid the wait
syntax, do
a lot of children, save all the process hmm I am not sure what to call
the
pointers,  and after a while interrogate the process information to
see if all
the children got done.  At some point, I could think a child is hung
and maybe
do some useful reporting.  Realize that this might be the next day
because the
compiles might take a while.

Is this a reasonable approach?

Thank you for your consideration.

Possibly pointless information:

openbsd 4.8 workstation, packages, but using the port system, want
only to
compile packages I have installed.  There is a utility to tell me
which packages
are out of date.  And I really know  I could use pkg_add -u.  I did
some
attachments of the programs, but I suppose they will get scrubbed..

python is I think 2.6.5?



-- 
http://mail.python.org/mailman/listinfo/python-list