ipython/ipython — pull request #2500 by bfroehle (2012-10-17 22:11:10+00:00)
Title: Add `encoding` attribute to `OutStream` class.

This means that `sys.stdout.encoding` returns something useful instead of raising an AttributeError.

Closes #2220.