in reply to Re: Opening files in a loop
in thread Opening files in a loop

Sure, there are cases where two-argument open is mostly safe, but if you make a habit of using the three-argument form, you never have to consider whether the two-argument form is safe in any particular circumstance.