[issue7578] Behavior of operations on a closed file object is not documented correctly

2012-07-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Indeed. -- resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7578

[issue7578] Behavior of operations on a closed file object is not documented correctly

2012-07-22 Thread Kirubakaran Athmanathan
Kirubakaran Athmanathan pyb...@kirubakaran.com added the comment: Looks like this was fixed in 3.3 in the commit 72890:a22d94547570 Should this issue be closed? -- nosy: +kirubakaran ___ Python tracker rep...@bugs.python.org

[issue7578] Behavior of operations on a closed file object is not documented correctly

2010-01-01 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Note that one of the reasons for the slightly wishy-washy phrasing in the docs is to give other implementations a bit more freedom in the way way they handle these error cases. Agreed that the main reason is the one Antoine gave though - the

[issue7578] Behavior of operations on a closed file object is not documented correctly

2009-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I agree; though I would wish for a bit finer-grained I/O related exceptions... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7578 ___

[issue7578] Behavior of operations on a closed file object is not documented correctly

2009-12-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7578 ___ ___

[issue7578] Behavior of operations on a closed file object is not documented correctly

2009-12-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I agree; though I would wish for a bit finer-grained I/O related exceptions... I agree with that. It probably needs someone to shepherd the idea to python-dev so as to get it accepted. -- ___ Python

[issue7578] Behavior of operations on a closed file object is not documented correctly

2009-12-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Should all these ValueErrors be turned into IOErrors? -- nosy: +amaury.forgeotdarc, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7578

[issue7578] Behavior of operations on a closed file object is not documented correctly

2009-12-27 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I think we raise ValueError because that's already what 2.x does with plain file objects. Also, it's true that it's a programming error (using a closed file) and not really an IO error. Simplest would be to fix the docs for the io module, IMHO.

[issue7578] Behavior of operations on a closed file object is not documented correctly

2009-12-26 Thread Baptiste Lepilleur
Changes by Baptiste Lepilleur b...@users.sourceforge.net: -- title: Behavio of operations on a closed file object is not documented correctly - Behavior of operations on a closed file object is not documented correctly ___ Python tracker