On Fri, Jan 22, 2010 at 9:22 AM, Michael Foord <fuzzy...@voidspace.org.uk>wrote:
> On 22/01/2010 14:18, Karen Tracey wrote: > > > The doc here: > http://docs.python.org/3.1/library/functions.html?highlight=open#open just > calls it default encoding and clarifies that is "whatever > locale.getpreferredencoding() returns". > > > Heh, so we have two different encoding mechanisms both called "default > encoding". One is always utf-8 in Python 3 and one is platform dependent... > Great. :-) > Well to be fair the the doc is describing the default value for the parameter named encoding, so its reference to "default encoding" should not be extrapolated to mean the default encoding for Python 3 overall. I worded that sentence above poorly. But yes, it is easy to get confused here. Karen
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com