◐ Shell
clean mode source ↗

Message 104112 - Python tracker

Hello

You’re right, this idiom (new in 2.5, always enabled in 2.6) is now the recommended way of doing this. Note that the older code does close the file properly too, it’s just another way of doing it.

Would you like to provide a patch against the latest version of this file?
 
Regards