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

2012-07-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed. -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

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

2012-07-22 Thread Kirubakaran Athmanathan
Kirubakaran Athmanathan 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 __

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

2010-01-01 Thread Nick Coghlan
Nick Coghlan 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 ValueError is looking

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

2009-12-28 Thread Antoine Pitrou
Antoine Pitrou 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 tracker

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

2009-12-28 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

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

2009-12-28 Thread Georg Brandl
Georg Brandl added the comment: I agree; though I would wish for a bit finer-grained I/O related exceptions... -- ___ Python tracker ___ _

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

2009-12-27 Thread Antoine Pitrou
Antoine Pitrou 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-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Should all these ValueErrors be turned into IOErrors? -- nosy: +amaury.forgeotdarc, pitrou ___ Python tracker ___

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

2009-12-26 Thread Baptiste Lepilleur
Changes by Baptiste Lepilleur : -- 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