pydata/pandas — pull request #5188 by jtratner (2013-10-11 23:13:23+00:00)
Title: CLN/BUG/ENH: Raise AttributeError with pd.options

Fixes #5182, closes #5186.

It's called OptionError now and it subclasses both AttributeError (for
hasattr) and KeyError (for backwards compatibility). Hurray!