placate pyflakes under 3.3

basically, define unicode/basestring/long ahead of the fork because
pyflakes is too stupid to ignore lines that don't apply to this interp,
or support a # NOQA or whatever.

this commit is terrible and I don't recommend it unless necessary