last edit for pyython 2.7.5 before rewrite 2.6.6