patch for CVE-2013-4238 taken from
http://hg.python.org/cpython/rev/bd2360476bdb