> - self.initfp(f) > + try: > + self.initfp(f) > + except: > + if self._i_opened_the_file: > + f.close() > + raise Do you really want a bare except? Would a try/finally approach work here? Raymond