portnanny2 was originally written before Python 2.3 so it used the sets module. Python 2.3 is a long time ago and now Python complains when you do that. So now we use frozenset().