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 serhiy.storchaka
Recipients amaury.forgeotdarc, belopolsky, eryksun, meador.inge, ned.deily, serhiy.storchaka, theller
Date 2018-03-28.09:07:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522228074.38.0.467229070634.issue32745@psf.upfronthosting.co.za>
In-reply-to
Content
This is a regression. Eryk's solution LGTM. Do you mind to create a PR?

But u"foo\0bar" is not terminated by two NULL characters. If this is used in real code, it contains a bug. And the getter of this field will return the string only to the first null character. More work is needed for making this more reliable.
History
Date User Action Args
2018-03-28 09:07:54serhiy.storchakasetrecipients: + serhiy.storchaka, theller, amaury.forgeotdarc, belopolsky, ned.deily, meador.inge, eryksun
2018-03-28 09:07:54serhiy.storchakasetmessageid: <1522228074.38.0.467229070634.issue32745@psf.upfronthosting.co.za>
2018-03-28 09:07:54serhiy.storchakalinkissue32745 messages
2018-03-28 09:07:54serhiy.storchakacreate