About 2 years ago stackexchange started using web sockets as stated
If you take a look at the stackoverflow site source you will see that a
There are many different approaches to that technology now. Microsoft
for example introduced SignalR (http://signalr.net/) which degrades gracefully to older
browser too by switching to other technologies where sockets don't work
like long polling (asking every X seconds if changes are available).
You as a Python guy would probably start looking at something like: https://pypi.python.org/pypi/websockets/1.0
Have fun with web sockets!