[I18n-sig] Modified open() builtin (Re: Python Character Model)

Barry A. Warsaw barry@digicool.com
Mon, 12 Feb 2001 09:57:20 -0500

>>>>> "TE" == Tom Emerson <tree@basistech.com> writes:

    TE> What if it were possible to specify the "default" encoding at
    TE> configure time, while keeping the argument to open()
    TE> optional. Ruby does this, as does MySQL, so there *is*
    TE> precedent.

That's a little scary because then Python programs may cease to be
portable.  Moderately better would be an API to select the default
encoding at runtime, but that's still worrisome.