Eryk Sun added the comment:

Based on matplotlib's win32InstalledFonts function [1], I created a small test 
to check the data strings returned by winreg.EnumValue for the presence of null 
characters. I tested on Windows 7 and 10 but couldn't reproduce the problem. 
Please run nullcheck.py to check the results on your system.

[1]: 
https://github.com/matplotlib/matplotlib/blob/v1.5.0/lib/matplotlib/font_manager.py#L200

----------
nosy: +eryksun
Added file: http://bugs.python.org/file41208/nullcheck.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25778>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to