Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > media > main-updates-src > by-pkgid > 70c6f73b7de273a264c9a8c049dad72b > files > 6

python-2.7.2-2.2.src.rpm

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