hgkw/__init__.py
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
Mon, 02 May 2011 10:11:18 +0200
branchstable
changeset 929 9bed13113742
parent 0 41c7e55cd9e9
permissions -rw-r--r--
prevent transient leaks of file handle by using new helper functions These leaks may occur in environments that don't employ a reference counting GC, i.e. PyPy. This implies: - changing opener(...).read() calls to opener.read(...) - changing opener(...).write() calls to opener.write(...) - changing open(...).read(...) to util.readfile(...) - changing open(...).write(...) to util.writefile(...) [ original upstream description ]