Message 210306 - Python tracker (original) (raw)
If you try the attached program, you will find that for every iteration the uuid.uuid4() call generates objects that contain reference cycles and need the help of the garbage collector. This is not nice. If I make the ctypes module not able to import, then no garbage is generated.
This problem appears in 2.7, 3.3, and 3.4, at least.