Re: strange behaviour when writing a large amount of data on stdout

2017-04-11 Thread tlnarayana
On Thursday, November 24, 2005 at 8:06:34 PM UTC+5:30, bon...@gmail.com wrote: > Bengt Richter wrote: > > Depends on what you run ;-) Maybe how many times buggy apps die in unusual > > ways. > > Or worse, buggy drivers. Your car might have bad 4-wheel drive that you > > never used, > > so you tho

Re: strange behaviour when writing a large amount of data on stdout

2005-11-24 Thread [EMAIL PROTECTED]
Bengt Richter wrote: > Depends on what you run ;-) Maybe how many times buggy apps die in unusual > ways. > Or worse, buggy drivers. Your car might have bad 4-wheel drive that you never > used, > so you thought your car reliable ;-) > Sure, no casual toys are allowed. But this is true in general

Re: strange behaviour when writing a large amount of data on stdout

2005-11-24 Thread Bengt Richter
On 24 Nov 2005 03:22:26 -0800, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > >Bengt Richter wrote: >> If windows has been running a long time (a few days or a week may be long >> ;-) it >> may get fragmented in some smallish memory arena reserved for special things >> (I forgot >> what versio

Re: strange behaviour when writing a large amount of data on stdout

2005-11-24 Thread [EMAIL PROTECTED]
Bengt Richter wrote: > If windows has been running a long time (a few days or a week may be long ;-) > it > may get fragmented in some smallish memory arena reserved for special things > (I forgot > what versions, but I wouldn't be surprised if something still had s > specialized limit). > I kn

Re: strange behaviour when writing a large amount of data on stdout

2005-11-24 Thread Bengt Richter
On Wed, 23 Nov 2005 18:18:34 +0100, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote: >Manlio Perillo wrote: > >> > print data >> >> >> >> Traceback (most recent call last): >> >> File "xxx", line xxx, in ? >> >>print data >> >> IOError: [Errno 12] Not enough space >> > >> >errno 12 is ENOMEM (t

Re: strange behaviour when writing a large amount of data on stdout

2005-11-24 Thread Manlio Perillo
On Thu, 24 Nov 2005 10:24:02 +0100, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote: >Manlio Perillo wrote: > >> I have added a question mark... >> >> However: did you have installed SP1 or SP2? > >running XP without service packs is a really bad idea. you're not >telling me that you haven't updated, a

Re: strange behaviour when writing a large amount of data on stdout

2005-11-24 Thread Fredrik Lundh
Manlio Perillo wrote: > I have added a question mark... > > However: did you have installed SP1 or SP2? running XP without service packs is a really bad idea. you're not telling me that you haven't updated, are you? (the machines I tested on are all fully up to date) -- http://mail.python

Re: strange behaviour when writing a large amount of data on stdout

2005-11-24 Thread Manlio Perillo
On Thu, 24 Nov 2005 05:22:18 GMT, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: >On Wed, 23 Nov 2005 16:51:15 GMT, Manlio Perillo ><[EMAIL PROTECTED]> declaimed the following in >comp.lang.python: > >> So, it's seem to be a specific problem of Windows XP(?). >> > Pardon? I think the prior res

Re: strange behaviour when writing a large amount of data on stdout

2005-11-23 Thread Manlio Perillo
On Wed, 23 Nov 2005 18:21:45 +0100, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote: >Manlio Perillo wrote: > >> So, it's seem to be a specific problem of Windows XP(?). >> >> Nobody can test it on a Windows 98/2000 machine? > >works fine on assorted XP and 2000 boxes for me. > That's very strange. >i

Re: strange behaviour when writing a large amount of data on stdout

2005-11-23 Thread Fredrik Lundh
Manlio Perillo wrote: > So, it's seem to be a specific problem of Windows XP(?). > > Nobody can test it on a Windows 98/2000 machine? works fine on assorted XP and 2000 boxes for me. is the "n = 61409 + 1" stuff necessary, or do you get the same problem for all outputs over a given size ? even

Re: strange behaviour when writing a large amount of data on stdout

2005-11-23 Thread snoe
Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on win32 No problems on Windows 2000 Pro with 512MB of RAM -- http://mail.python.org/mailman/listinfo/python-list

Re: strange behaviour when writing a large amount of data on stdout

2005-11-23 Thread Grant Edwards
On 2005-11-23, Manlio Perillo <[EMAIL PROTECTED]> wrote: > On Wed, 23 Nov 2005 07:48:30 -0600, [EMAIL PROTECTED] wrote: > >>That code works here. >> >>Python2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on win32 >> >>It's Windows XP, Pentium 4, unknown amount of RAM. I'm running pyt

Re: strange behaviour when writing a large amount of data on stdout

2005-11-23 Thread Fredrik Lundh
Manlio Perillo wrote: > > print data > >> > >> Traceback (most recent call last): > >> File "xxx", line xxx, in ? > >>print data > >> IOError: [Errno 12] Not enough space > > > >errno 12 is ENOMEM (that is, the system did not have enough memory > >to finish an operation). > > However I th

Re: strange behaviour when writing a large amount of data on stdout

2005-11-23 Thread Manlio Perillo
On Wed, 23 Nov 2005 07:48:30 -0600, [EMAIL PROTECTED] wrote: >That code works here. > >Python2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on win32 > >It's Windows XP, Pentium 4, unknown amount of RAM. I'm running python.exe in a >console window. It also worked in IDLE. > >Jeff

Re: strange behaviour when writing a large amount of data on stdout

2005-11-23 Thread Manlio Perillo
On Wed, 23 Nov 2005 14:59:45 +0100, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote: >Manlio Perillo wrote: > >> Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] >> on win32, Windows XP >> >> I have this problem: >> > n = 61409 + 1 > data = 'x' * n >> > print data >> >>

Re: strange behaviour when writing a large amount of data on stdout

2005-11-23 Thread Fredrik Lundh
Manlio Perillo wrote: > Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] > on win32, Windows XP > > I have this problem: > n = 61409 + 1 data = 'x' * n > print data > > Traceback (most recent call last): > File "xxx", line xxx, in ? >print data > IOError: [

Re: strange behaviour when writing a large amount of data on stdout

2005-11-23 Thread jepler
That code works here. Python2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on win32 It's Windows XP, Pentium 4, unknown amount of RAM. I'm running python.exe in a console window. It also worked in IDLE. Jeff pgptwrbVpG8CR.pgp Description: PGP signature -- http://mail.python.or

Re: strange behaviour when writing a large amount of data on stdout

2005-11-23 Thread bruno at modulix
Manlio Perillo wrote: > Regards. > > On my system: > Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] > on win32, Windows XP > > I have this problem: > > n = 61409 + 1 data = 'x' * n > > print data > > > Traceback (most recent call last): > File "xxx", lin

strange behaviour when writing a large amount of data on stdout

2005-11-23 Thread Manlio Perillo
Regards. On my system: Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32, Windows XP I have this problem: >>> n = 61409 + 1 >>> data = 'x' * n >>> print data Traceback (most recent call last): File "xxx", line xxx, in ? print data IOError: [Errno 12] Not enou