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 shidot
Recipients shidot
Date 2008-11-08.02:49:30
SpamBayes Score 0.00618468
Marked as misclassified No
Message-id <1226112572.15.0.185589671168.issue4282@psf.upfronthosting.co.za>
In-reply-to
Content
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"
History
Date User Action Args
2008-11-08 02:49:32shidotsetrecipients: + shidot
2008-11-08 02:49:32shidotsetmessageid: <1226112572.15.0.185589671168.issue4282@psf.upfronthosting.co.za>
2008-11-08 02:49:31shidotlinkissue4282 messages
2008-11-08 02:49:30shidotcreate