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 eryksun
Recipients eryksun, ezio.melotti, maxbachmann, steven.daprano, vstinner
Date 2021-09-05.13:56:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630850198.37.0.897084267297.issue45105@roundup.psfhosted.org>
In-reply-to
Content
> I think you may be mistaken. In Max's original post, he has
>   s = '000X'

It displays that way for me under Firefox in Linux, but what's really there when I copy it from Firefox is '0\U0001090000', which matches the result Max gets for individual index operations such as s[1]. 

The "0" characters following the R-T-L character have weak directionality. So the string displays the same as "000\U00010900". If you print with spaces and use a number sequence, the substring starting with the R-T-L character should display reversed, i.e. print(*'123\U00010900456') should display the same as print(*'123654\U00010900'). But "abc" in print(*'123\U00010900abc') should not display reversed since it has L-T-R directionality.
History
Date User Action Args
2021-09-05 13:56:38eryksunsetrecipients: + eryksun, vstinner, ezio.melotti, steven.daprano, maxbachmann
2021-09-05 13:56:38eryksunsetmessageid: <1630850198.37.0.897084267297.issue45105@roundup.psfhosted.org>
2021-09-05 13:56:38eryksunlinkissue45105 messages
2021-09-05 13:56:38eryksuncreate