Message75627
| 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:32 | shidot | set | recipients:
+ shidot |
| 2008年11月08日 02:49:32 | shidot | set | messageid: <1226112572.15.0.185589671168.issue4282@psf.upfronthosting.co.za> |
| 2008年11月08日 02:49:31 | shidot | link | issue4282 messages |
| 2008年11月08日 02:49:30 | shidot | create |
|