[issue7079] file_close() ignores return value of close_the_file

Antoine Pitrou report at bugs.python.org
Tue Apr 27 22:10:20 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

Your proposal looks reasonable.
Two things:
- your patch should include an unit test (see Lib/test/test_file2k.py)
- fileobject.c should use tabs for indentation, not spaces

And you're right, py3k doesn't have this problem.

----------
nosy: +pitrou, tim_one
versions:  -Python 2.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7079>
_______________________________________


More information about the Python-bugs-list mailing list