diff -Naurp Python-2.7.2/Modules/pyexpat.c Python-2.7.2.oden/Modules/pyexpat.c --- Python-2.7.2/Modules/pyexpat.c 2011-06-11 15:46:27.000000000 +0000 +++ Python-2.7.2.oden/Modules/pyexpat.c 2012-06-19 11:45:02.000000000 +0000 @@ -1302,6 +1302,8 @@ newxmlparseobject(char *encoding, char * else { self->itself = XML_ParserCreate(encoding); } + XML_SetHashSalt(self->itself, + (unsigned long)_Py_HashSecret.prefix); self->intern = intern; Py_XINCREF(self->intern); #ifdef Py_TPFLAGS_HAVE_GC