Antoine Pitrou <pit...@free.fr> added the comment: > Hmm, correct me if following understanding is wrong somewhere... > 1. File.close() is actually file_close(), and is calling close_the_file(). > 2. Returns immediately because local_fp == f->f_fp is already NULL. > The return value is None.
I don't understand why you say that. Why is f->f_fp already NULL while close() still hasn't been called? By the way, is it 2.6-specific or does it also happen on 2.7? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9295> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com