[issue18082] Inconsistent behavior of IOBase methods on closed files

2015-11-27 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue18082] Inconsistent behavior of IOBase methods on closed files

2015-08-05 Thread Martin Panter
Martin Panter added the comment: The documentation says “. . . calling any method (even inquiries) on a closed stream is undefined. Implementations may raise ValueError”. So IMO you shouldn’t rely on any particular success or failure beha

[issue18082] Inconsistent behavior of IOBase methods on closed files

2015-03-01 Thread Mark Lawrence
Mark Lawrence added the comment: Anybody? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue18082] Inconsistent behavior of IOBase methods on closed files

2014-06-12 Thread Mark Lawrence
Mark Lawrence added the comment: Could we have a response for the record please. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Pyth

[issue18082] Inconsistent behavior of IOBase methods on closed files

2013-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson, hynek, pitrou, stutzbach ___ Python tracker ___ ___ Python-bugs-list mailin

[issue18082] Inconsistent behavior of IOBase methods on closed files

2013-05-28 Thread Dwight Guth
New submission from Dwight Guth: Consider the following program: import io class A(io.IOBase): def __init__(self): self.x = 5 def read(self, limit=-1): self.x -= 1 if self.x > 0: return b"5" return b"" def seek(self, offset, whence=0): return 0 def wr