This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, eric.araujo, vstinner
Date 2010-11-06.16:25:31
SpamBayes Score 5.3717426e-06
Marked as misclassified No
Message-id <AANLkTinUMFiTi2kDGZsJXTtzof++04hERd+rUMU-n8v5@mail.gmail.com>
In-reply-to <1289060115.97.0.384816250075.issue10335@psf.upfronthosting.co.za>
Content
On Sat, Nov 6, 2010 at 12:15 PM, Éric Araujo <report@bugs.python.org> wrote:
..
>> so "tokenize.open()" sounds attractive.
> Agreed, even though the docstring of tokenize does talk about Python code.

I still like "tokenize.open()" more, but for the sake of completeness
of discussion, what about open(.., encoding="fromcookie")?  (I know,
tokenize.detect_encoding() also looks for an utf-8 BOM, so
"fromcookie" can be improved.)
History
Date User Action Args
2010-11-06 16:25:33belopolskysetrecipients: + belopolsky, vstinner, eric.araujo
2010-11-06 16:25:31belopolskylinkissue10335 messages
2010-11-06 16:25:31belopolskycreate