[issue20519] uuid.uuid4().hex generates garbage when ctypes available
Gustavo J. A. M. Carneiro
report at bugs.python.org
Wed Feb 5 12:52:23 CET 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue20519>
_______________________________________
More information about the Python-bugs-list
mailing list