[New-bugs-announce] [issue4282] (Python3) The profile module deesn't understand the character set definition
Takafumi SHIDO
report at bugs.python.org
Sat Nov 8 03:49:32 CET 2008
New submission from Takafumi SHIDO <takafumi at shido.info>:
The profile module of Python3 deesn't understand the character set of
the script.
When a profile is executed (like $python -m profile -o prof.dat foo.py)
on a code (say foo.py) which defines its character set in the second
line (like #coding:utf-8),
the profile crashes with an error message like:
"SyntaxError: unknown encoding: utf-8"
----------
messages: 75627
nosy: shidot
severity: normal
status: open
title: (Python3) The profile module deesn't understand the character set definition
type: crash
versions: Python 3.0
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4282>
_______________________________________
More information about the New-bugs-announce
mailing list