[issue20519] ctypes.create_string_buffer creates reference cycles

2014-02-05 Thread R. David Murray
R. David Murray added the comment: Yes, I was pretty sure it was in cytpes, from looking at the UUID code. -- components: +ctypes -Library (Lib) nosy: +amaury.forgeotdarc, belopolsky, meador.inge title: uuid.uuid4().hex generates garbage when ctypes available -

[issue20519] ctypes.create_string_buffer creates reference cycles

2014-02-05 Thread Gustavo J. A. M. Carneiro
Gustavo J. A. M. Carneiro added the comment: Regardless, if you don't mind, take this patch for Python 3.5 to avoid ctypes, at least in the Linux case (I don't have Windows to test). Creating a proper extension module is safer and really not that hard... -- keywords: +patch Added