Message120637
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.) |
|
Date |
User |
Action |
Args |
2010-11-06 16:25:33 | belopolsky | set | recipients:
+ belopolsky, vstinner, eric.araujo |
2010-11-06 16:25:31 | belopolsky | link | issue10335 messages |
2010-11-06 16:25:31 | belopolsky | create | |
|