> I can reproduce the problem on my Linux system, so it is not Mac > specific. Using xrange makes no difference. I believe that in recent Pythons (v2.3 onwards?) xrange is just an alias for range since range was reimplementted to use generators. So the old menory issues with range no longer apply. Alan G.