remove Python references from dealloc methods

finish up 450
Merge pull request #459 from minrk/3.4

remove Python references from dealloc methods