Stephen Tucker added the comment:

Dear All (Eric Smith in particular),

I see the issue has been closed - I guess that I have to use e-mail to
continue this discussion.

I attach a source file that demonstrates the "feature", and the output from
IDLE that it generated.

Yours,

Stephen Tucker.

On Wed, Oct 9, 2013 at 6:10 PM, Eric V. Smith <rep...@bugs.python.org>wrote:

>
> Eric V. Smith added the comment:
>
> Can you provide some code which demonstrates this?
>
> It's easier to address this if we have known working (or non-working)
> examples.
>
> Thanks.
>
> ----------
> nosy: +eric.smith
>
> _______________________________________
> Python tracker <rep...@bugs.python.org>
> <http://bugs.python.org/issue19210>
> _______________________________________
>

----------
Added file: http://bugs.python.org/file32027/UnicodeTupleTestIDLEOutput.txt
Added file: http://bugs.python.org/file32028/UnicodeTupleTest.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19210>
_______________________________________
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on 
win32
Type "copyright", "credits" or "license()" for more information.
>>> import UnicodeTupleTest
‡
‡
(u'\u2021',)
(u'\u2021', u'\u2021')
>>> 
#
# Set a unicode string with a non-ASCII character
mystring = u'\u2021'
#
# Print the string
print mystring
#
# Print the string enclosed in parentheses 
print (mystring)
#
# Print the string as the first item in a tuple whose second item is None
print (mystring,)
#
# Set a tuple consisting of two instances of this string
mytuple = (mystring, mystring)
#
# Print the tuple
print mytuple
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to