This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients ocean-city, pitrou
Date 2010-07-18.18:33:15
SpamBayes Score 0.011500448
Marked as misclassified No
Message-id <1279477992.3213.8.camel@localhost.localdomain>
In-reply-to <1279474539.68.0.852084808182.issue9295@psf.upfronthosting.co.za>
Content
> 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?
History
Date User Action Args
2010-07-18 18:33:18pitrousetrecipients: + pitrou, ocean-city
2010-07-18 18:33:15pitroulinkissue9295 messages
2010-07-18 18:33:15pitroucreate