Python: urllib2 handlers

Python is a great language, with a good community (see Freenode irc channel #python) — but its modules can have lousy documentation at times.
One place where I find the documentation lacking is in the description of urllib2’s BaseHandler class. Subclasses of this class can be passed to urllib2’s build_opener function to add functionality to [...]