Playing with py3k

I've given a shot at py3k... it's not working as expected but it compiles. Hoping it helps a bit.