| sort -u
fi
}
-function valgrind {(unset valgrind;s=~/.python.valgrind;perl -e 'undef $/;$_=<>;1 while s/^(?:###)?({\n)(?:###)?( *ADDRESS_IN_RANGE.*\n(?:[^}#].*\n)*)###/$1$2/gm;print;' </usr/share/doc/python-devel-2.*/valgrind-python.supp >$s;valgrind --suppressions=$s "$@";);}
+function valgrind {(set -e;unset valgrind;s=~/.python.valgrind;rm -f $s;cp -p /usr/share/doc/python-devel-2.*/valgrind-python.supp $s;patch $s <$s.patch;perl -i -e 'undef $/;$_=<>;1 while s/^(?:###)?({\n)(?:###)?( *ADDRESS_IN_RANGE.*\n(?:[^}#].*\n)*)###/$1$2/gm;print;' $s;valgrind --suppressions=$s "$@";);}
function yumupdate { yum makecache;yum -y --skip-broken update; }
ulimit -S -c 0
--- /dev/null
+--- /usr/share/doc/python-devel-2.6/valgrind-python.supp-orig 2008-08-24 07:04:52.000000000 +0200
++++ /usr/share/doc/python-devel-2.6/valgrind-python.supp-orig 2009-05-11 22:12:53.000000000 +0200
+@@ -131,36 +131,60 @@
+ ###}
+ ###
+ ###{
+ ### ADDRESS_IN_RANGE/Invalid read of size 4
+ ### Memcheck:Value4
+ ### fun:PyObject_Free
+ ###}
+ ###
+ ###{
++### ADDRESS_IN_RANGE/Invalid read of size 8
++### Memcheck:Addr8
++### fun:PyObject_Free
++###}
++###
++###{
++### ADDRESS_IN_RANGE/Invalid read of size 8
++### Memcheck:Value8
++### fun:PyObject_Free
++###}
++###
++###{
+ ### ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
+ ### Memcheck:Cond
+ ### fun:PyObject_Free
+ ###}
+
+ ###{
+ ### ADDRESS_IN_RANGE/Invalid read of size 4
+ ### Memcheck:Addr4
+ ### fun:PyObject_Realloc
+ ###}
+ ###
+ ###{
+ ### ADDRESS_IN_RANGE/Invalid read of size 4
+ ### Memcheck:Value4
+ ### fun:PyObject_Realloc
+ ###}
+ ###
+ ###{
++### ADDRESS_IN_RANGE/Invalid read of size 8
++### Memcheck:Addr8
++### fun:PyObject_Realloc
++###}
++###
++###{
++### ADDRESS_IN_RANGE/Invalid read of size 8
++### Memcheck:Value8
++### fun:PyObject_Realloc
++###}
++###
++###{
+ ### ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
+ ### Memcheck:Cond
+ ### fun:PyObject_Realloc
+ ###}
+
+ ###
+ ### All the suppressions below are for errors that occur within libraries
+ ### that Python uses. The problems to not appear to be related to Python's
+ ### use of the libraries.