YouTube showing repr() of a tuple
Leif K-Brooks
eurleif at ecritters.biz
Mon Apr 2 14:00:53 EDT 2007
Paul Boddie wrote:
> On 2 Apr, 16:19, Steve Holden <s... at holdenweb.com> wrote:
>> Both fixed by the time I managed to follow the links.
>
> There wasn't much to see, and putting apostrophes into the input
> didn't seem to cause "proper" repr() behaviour. So I suspect that the
> Python resemblance was coincidental.
The apostrophes were being HTML-escaped (into ') before repr() was
called. The second example I found used a Unicode character, and caused
YouTube to show the repr() of a Unicode string, escape codes and all.
More information about the Python-list
mailing list