From: stephan b. <st...@s1...> - 2004-12-31 17:00:26
|
On Friday 31 December 2004 17:57, stephan beal wrote: > i can understand the throwing of an IOError, but LogicError seems a > bit too strict. > > Why not just make it a no-op for 2nd+ close()? To make a real-life analogy: when closing a closed door, we don't actually change it's state. It's a no-op. Nobody is surprised enough to say, "hey! That's illogical!" -- ----- st...@s1... http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts |