This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author random832
Recipients SilentGhost, anshul6, eryksun, paul.moore, r.david.murray, random832, steve.dower, stutzbach, tim.golden, zach.ware
Date 2015-12-03.05:33:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1449120791.41.0.884521136101.issue25778@psf.upfronthosting.co.za>
In-reply-to
Content
> I don't see why the original issue with matplotlib would only happen with Python 3 and not Python 2, though.

Is it possible that Python 2 is using a non-unicode Windows API to get the values, and the non-unicode API is converting the string (which is, of course, in UTF-16 in the registry itself) in a way that ignores characters after the first null? (And presumably likewise after the first double null in a REG_MULTI_SZ)

This would be a pretty strong argument that embedded nulls aren't meant to be acceptable in REG_SZ values (as anything other than ignored garbage).
History
Date User Action Args
2015-12-03 05:33:11random832setrecipients: + random832, paul.moore, tim.golden, stutzbach, r.david.murray, SilentGhost, zach.ware, eryksun, steve.dower, anshul6
2015-12-03 05:33:11random832setmessageid: <1449120791.41.0.884521136101.issue25778@psf.upfronthosting.co.za>
2015-12-03 05:33:11random832linkissue25778 messages
2015-12-03 05:33:11random832create