[issue1941] 2.6 stdlib using with statement

Christian Heimes report at bugs.python.org
Sat Jan 26 23:27:35 CET 2008


Christian Heimes added the comment:

Benjamin Peterson wrote:
> Sorry, but what does that mean? All tests are passing with the changes.

Tests aren't a proof for correctness. A failing test proofs either an
error in the implementation or in the test suite. The reverse "all tests
are passing => everything is fine" is not a valid assumption.

Every change must be carefully studied. with open(name) as fp is fine in
almost every case but other cases may not.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1941>
__________________________________


More information about the Python-bugs-list mailing list