Hi,

I was wondering if it is yet known what the right way to open text files
in P3K will be?

According to the docs the signature for open() is:

    open(filename[, mode[, bufsize]])

Is that going to stay the same and default to UTF-8 if "b" is not in the
mode (or if no mode is specified) and bytes if "b" is present?

Or will the signature change to match the one provided by codecs?

    codecs.open(filename, mode[, encoding[, errors[, buffering]]])

using the logic described above regarding mode?

Or some other way?

Thanks!

-- 
Mark Summerfield, Qtrac Ltd., www.qtrac.eu

_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to