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 -
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