By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,567 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,567 IT Pros & Developers. It's quick & easy.

YouTube showing repr() of a tuple

P: n/a
Thought this might amuse some of you:

<http://youtube.com/results?search_query=korect+my+speling>

I'd heard that YouTube uses Python, but it's fun to see proof of that,
even if it comes in the form of a minor bug.
Mar 29 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Thought this might amuse some of you:
>
<http://youtube.com/results?search_query=korect+my+speling>

I'd heard that YouTube uses Python, but it's fun to see proof of that,
even if it comes in the form of a minor bug.

But their web frontend is (probably) in php:

http://youtube.com/results.php?searc...ect+my+speling
Mar 29 '07 #2

P: n/a
Leif K-Brooks wrote:
Thought this might amuse some of you:

<http://youtube.com/results?search_query=korect+my+speling>
Better example:

<http://youtube.com/results?search_query=korect+my+speling%C2%A1>
Mar 29 '07 #3

P: n/a
Leif K-Brooks wrote:
Leif K-Brooks wrote:
>Thought this might amuse some of you:

<http://youtube.com/results?search_query=korect+my+speling>

Better example:

<http://youtube.com/results?search_query=korect+my+speling%C2%A1>
Both fixed by the time I managed to follow the links.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Recent Ramblings http://holdenweb.blogspot.com

Apr 2 '07 #4

P: n/a
On 2 Apr, 16:19, Steve Holden <s...@holdenweb.comwrote:
>
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.

Paul

Apr 2 '07 #5

P: n/a
Paul Boddie wrote:
On 2 Apr, 16:19, Steve Holden <s...@holdenweb.comwrote:
>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.
Apr 2 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.