On Feb 11, 2012, at 5:10 PM, Eric Snow wrote: > So something like this: > > import functools, builtins > open = builtins.open = functools.partial(open, encoding="ascii", > errors="surrogateescape") We could pack it in and call it something like "python2open". :-)