I think I've read somewhere that warn() shouldn't be used directly anymore. see http://docs.python.org/dev/whatsnew/2.7.html#the-future-for-python-2-x so I'm wondering if we want to do this?