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 eryksun
Recipients SilentGhost, anshul6, eryksun, paul.moore, r.david.murray, random832, steve.dower, stutzbach, tim.golden, zach.ware
Date 2016-01-01.23:40:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451691603.02.0.302590154332.issue25778@psf.upfronthosting.co.za>
In-reply-to
Content
The current test works for 3.x because we keep the full string length via PyUnicode_AsWideCharString(value, &len) when creating a REG_SZ value. OTOH, 2.x Py2Reg gets the length via strlen. I'd prefer to make this consistent with 3.x by using the full string length from PyString_AsStringAndSize. Expanding the range of supported values is less disruptive to existing code.
History
Date User Action Args
2016-01-01 23:40:03eryksunsetrecipients: + eryksun, paul.moore, tim.golden, stutzbach, r.david.murray, SilentGhost, zach.ware, steve.dower, random832, anshul6
2016-01-01 23:40:03eryksunsetmessageid: <1451691603.02.0.302590154332.issue25778@psf.upfronthosting.co.za>
2016-01-01 23:40:03eryksunlinkissue25778 messages
2016-01-01 23:40:02eryksuncreate