mattupstate/flask-mail — pull request #46 by murphyrandle (2013-08-21 17:58:06+00:00)
Title: Initialize self.state to None

Without initializing self.state, python will enter an eternal loop if __getattr__ is called before init_app, which can very easily happen when using Flask blueprints.