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/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?

Looks like a real bug to me. In fact it is already reported:
http://bugs.python.org/issue4604

--
Gabriel Genellina

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

Reply via email to