prepare release of 3.1.0
disable doctest in Py2.5 that requires the 'with' statement