Re: close has no effect on Mac OSX Python 3.0

2008-12-09 Thread resi147
On 9 Dez., 07:51, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Mon, 08 Dec 2008 20:09:23 -0200, resi147 <[EMAIL PROTECTED]> escribió: > > > I'm wondering if it's really a bug since it's so trivial: > > > fp = open('/etc/se

close has no effect on Mac OSX Python 3.0

2008-12-08 Thread resi147
I'm wondering if it's really a bug since it's so trivial: fp = open('/etc/services') ct = fp.read(1048) print(ct[-80:], end='') fp.close() ct = fp.read(17) print(ct) the second read should fail, but happily continues reading the file. Really a bug? As said in the subject,