sorting out the python egg problem