Do you use `io` here?  If not, please remove it.  It causes Python 2.5 failure: https://travis-ci.org/davidhalter/jedi/jobs/5755207#L77