New submission from Gustavo J. A. M. Carneiro: 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. ---------- components: Library (Lib) files: gc.py messages: 210306 nosy: gustavo priority: normal severity: normal status: open title: uuid.uuid4().hex generates garbage when ctypes available type: resource usage versions: Python 2.7, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file33925/gc.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20519> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com