q&d python overflow patch