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 mark.dickinson
Recipients lemburg, mark.dickinson, rpetrov, vstinner
Date 2009-01-17.13:18:35
SpamBayes Score 8.4325353e-07
Marked as misclassified No
Message-id <1232198316.49.0.939076812541.issue4474@psf.upfronthosting.co.za>
In-reply-to
Content
> I understand this code as: sizeof(wchar_t) == sizeof(Py_UNICODE). If I 
> misunderstood the code, it's a a heap overflow :-)

Yep, sorry.  You're right.

>> A test would be good, too.
>
>PyUnicode_FromWideChar() is not a public API. Should I write a function 
>in _testcapi?

I was actually thinking of a test for the "No such file or directory" 
bug that's mentioned at the start of the discussion.
History
Date User Action Args
2009-01-17 13:18:36mark.dickinsonsetrecipients: + mark.dickinson, lemburg, vstinner, rpetrov
2009-01-17 13:18:36mark.dickinsonsetmessageid: <1232198316.49.0.939076812541.issue4474@psf.upfronthosting.co.za>
2009-01-17 13:18:35mark.dickinsonlinkissue4474 messages
2009-01-17 13:18:35mark.dickinsoncreate