R. David Murray added the comment: The stackoverflow comment is this:
"The issue is that winreg.EnumValue is not cutting string values at their length properly for some reason, and strings will include null characters which os.path.abspath is not able to process." The "one line patch" in the stackoverflow comment is against matplotlib, not python, so it doesn't help toward fixing this. What would be most useful toward fixing this is a reproducer, but since that will depend on data in the registry whoever creates the reproducer may as well do it as a unit test. I'm adding 2.7 to versions since it seems unlikely the code is different there, but I haven't checked. Anshul, if you have tested this on python2.7 and not seen the problem there, please update the issue with that info. ---------- keywords: +easy nosy: +r.david.murray versions: +Python 2.7, Python 3.6 _______________________________________ 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