Re: [pypy-dev] "OSError: [Errno 10] No child processes"

2011-01-13 Thread Paolo Giarrusso
On Thu, Jan 13, 2011 at 13:43, Armin Rigo wrote: > Hi, > > On Thu, Jan 13, 2011 at 1:25 PM, Maciej Fijalkowski wrote: >>> close()ing this file automatically, but you should really close it >>> explicitly yourself in the first place".  Maybe it can even be written >>> in that sense in the error me

Re: [pypy-dev] "OSError: [Errno 10] No child processes"

2011-01-13 Thread Armin Rigo
Hi, On Thu, Jan 13, 2011 at 1:25 PM, Maciej Fijalkowski wrote: >> close()ing this file automatically, but you should really close it >> explicitly yourself in the first place".  Maybe it can even be written >> in that sense in the error message. > > How about a link to differencies between pypy a

Re: [pypy-dev] "OSError: [Errno 10] No child processes"

2011-01-13 Thread Maciej Fijalkowski
On Thu, Jan 13, 2011 at 2:12 PM, Armin Rigo wrote: > Hi Amaury, > > On Wed, Jan 12, 2011 at 2:49 AM, Paolo Giarrusso > wrote: >> I propose that PyPy keeps reporting the error for files opened in any >> write mode > > I would also think that it's better to keep reporting errors (and for > all fil

Re: [pypy-dev] "OSError: [Errno 10] No child processes"

2011-01-13 Thread Armin Rigo
Hi Amaury, On Wed, Jan 12, 2011 at 2:49 AM, Paolo Giarrusso wrote: > I propose that PyPy keeps reporting the error for files opened in any > write mode I would also think that it's better to keep reporting errors (and for all files instead of just write mode files). In my opinion, it would, if

Re: [pypy-dev] "OSError: [Errno 10] No child processes"

2011-01-11 Thread Paolo Giarrusso
On Tue, Jan 11, 2011 at 22:09, Amaury Forgeot d'Arc wrote: > 2011/1/11 Armin Rigo : >> The secondary problem that we have is what to do when file.__del__ >> gets an exception from calling close().  Is it ok to just ignore it? >> FWIW in CPython, file.__del__ also prints an error message if close()

Re: [pypy-dev] "OSError: [Errno 10] No child processes"

2011-01-11 Thread Amaury Forgeot d'Arc
2011/1/11 Armin Rigo : > The secondary problem that we have is what to do when file.__del__ > gets an exception from calling close().  Is it ok to just ignore it? > FWIW in CPython, file.__del__ also prints an error message if close() > raises an exception.  So from that point of view there is noth

Re: [pypy-dev] "OSError: [Errno 10] No child processes"

2011-01-11 Thread Armin Rigo
Hi Amaury, On Tue, Jan 11, 2011 at 4:41 PM, Amaury Forgeot d'Arc wrote: > It's probably related to our file.__del__ which does not silence > errors raised by close(). Indeed, it seems to be the case. Arnd, to answer the original question: there is a file that you are not explicitly closing, and

Re: [pypy-dev] "OSError: [Errno 10] No child processes"

2011-01-11 Thread Arnd Rechenburg
ut without success. Greetings, Arnd -Original Message- From: Amaury Forgeot d'Arc [mailto:amaur...@gmail.com] Sent: Dienstag, 11. Januar 2011 15:34 To: Arnd Rechenburg Cc: pypy-dev@codespeak.net Subject: Re: [pypy-dev] "OSError: [Errno 10] No child processes" Hi, 2011/1/11

Re: [pypy-dev] "OSError: [Errno 10] No child processes"

2011-01-11 Thread Amaury Forgeot d'Arc
Hi, 2011/1/11 Arnd Rechenburg : > Could someone help me to avoid the following exception? > > Exception "OSError: [Errno 10] No child processes" in method __del__ of > ', mode 'r' at 0x2b58059f05f8> ignored More context would be useful: which version of pypy are you using, what are you trying

[pypy-dev] "OSError: [Errno 10] No child processes"

2011-01-11 Thread Arnd Rechenburg
Hi, Could someone help me to avoid the following exception? Exception "OSError: [Errno 10] No child processes" in method __del__ of ', mode 'r' at 0x2b58059f05f8> ignored Thanks in advance, Arnd ___ pypy-dev@codespeak.net http://codespea