homepage

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 loewis
Recipients loewis, ocean-city
Date 2008年03月17日.11:18:16
SpamBayes Score 0.016456613
Marked as misclassified No
Message-id <1205752697.93.0.710159288082.issue2301@psf.upfronthosting.co.za>
In-reply-to
Content
You are probably right about the source of the problem; I was confusing 
it with a regular exception, e.g.
print("年",a)
However, I also fail to reproduce the problem on OSX. I get
 File "a.py", line 3
 print "�N"
 ^
SyntaxError: invalid syntax
I'm not quite sure what the N is doing in there, but the first character 
is the replacement character (hopefully, the tracker will reproduce it 
correctly); I get that because pythonrun uses the "replace" codec.
I guess you are not seeing it because then the replacement character 
cannot actually be output to your terminal. Please try
print("\ufffd")
to see what that does.
History
Date User Action Args
2008年03月17日 11:18:18loewissetspambayes_score: 0.0164566 -> 0.016456613
recipients: + loewis, ocean-city
2008年03月17日 11:18:17loewissetspambayes_score: 0.0164566 -> 0.0164566
messageid: <1205752697.93.0.710159288082.issue2301@psf.upfronthosting.co.za>
2008年03月17日 11:18:17loewislinkissue2301 messages
2008年03月17日 11:18:16loewiscreate

AltStyle によって変換されたページ (->オリジナル) /