full Python 3 support added - corrected

cefa38f - fixes shadowing variable from f475a20, although there's no collision.
cef8328 - removed code that i accidentally committed also in f475a20 and has noticed now.
the rest corrected according to your comments.