fixing py3.3 and py2.6 see #3126

removing obsolete parts