add some missing CPython 2.x declarations