allpairs.py changed.