Paul Boddie wrote: > On 2 Apr, 16:19, Steve Holden <[EMAIL PROTECTED]> 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. -- http://mail.python.org/mailman/listinfo/python-list