Re: [Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2

2008-12-21 Thread Scott Dial
Stijn De Weirdt wrote: > but the following code gives a segfault instead of an IOerror > fname='test123' > f=open(fname,'w') > f.read() I've tracked this down to r67740: """ Issue #1706039: Support continued reading from a file even after EOF was hit. """ Looking at the diff, I question the corr

Re: [Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2

2008-12-21 Thread Scott Dial
[email protected] wrote: > Did this not happen with 2.5.2? I have 2.5.1 and 2.5.2 and it produces an IOError, just as it should. So this was indeed introduced by 2.5.3. -Scott -- Scott Dial [email protected] [email protected] ___ Python-Dev mailin

Re: [Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2

2008-12-21 Thread Christian Heimes
[email protected] schrieb: > Stijn> any hints what might cause this (or how i can figure it out). i > Stijn> have a coredump, but have no clue what to look for. > > I can reproduce it on my Mac. The croak happens while it is attempting to > raise the exception about a bad file descriptor. U

Re: [Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2

2008-12-21 Thread skip
Stijn> any hints what might cause this (or how i can figure it out). i Stijn> have a coredump, but have no clue what to look for. I can reproduce it on my Mac. The croak happens while it is attempting to raise the exception about a bad file descriptor. Unfortunately, in PyErr_Restore th