[issue25778] winreg.EnumValue does not truncate strings correctly

Zachary Ware report at bugs.python.org
Thu Dec 3 01:30:27 EST 2015


Zachary Ware added the comment:

So then this is actually matplotlib's bug: Python is returning the blob as it should, but matplotlib is assuming too much about what it contains.  However, I suspect that this particular issue isn't entirely matplotlib's fault; it looks to me like the entries nullcheck2.py turned up were inserted badly.  Most of them look almost (but not quite...) like REG_MULTI_SZ entries.

The winreg module is a low-level interface; I don't think we should change this behavior.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25778>
_______________________________________


More information about the Python-bugs-list mailing list