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 roger.serwy
Recipients ezio.melotti, loewis, ned.deily, python-dev, roger.serwy, terry.reedy, vbr, vstinner
Date 2012-03-11.21:44:05
SpamBayes Score 1.5313903e-07
Marked as misclassified No
Message-id <1331502246.1.0.236468111751.issue14200@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a patch to have the rpc marshal exceptions. When used with Martin's patch, IDLE returns 

>>> '\U00010330'
Traceback (most recent call last):
  File "<pyshell#3>", line 1, in <module>
    '\U00010330'
ValueError: character U+10330 is above the range (U+0000-U+FFFF) allowed by Tcl


Martin: I disagree with the approach of raising a UnicodeEncodeError if IDLE can't render the output of a user's program, especially when the program would otherwise run without error if ran from outside of IDLE.

Would replacing these characters with "?" and documenting this limitation in IDLE's docs be an acceptable solution?
History
Date User Action Args
2012-03-11 21:44:06roger.serwysetrecipients: + roger.serwy, loewis, terry.reedy, vstinner, vbr, ned.deily, ezio.melotti, python-dev
2012-03-11 21:44:06roger.serwysetmessageid: <1331502246.1.0.236468111751.issue14200@psf.upfronthosting.co.za>
2012-03-11 21:44:05roger.serwylinkissue14200 messages
2012-03-11 21:44:05roger.serwycreate