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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, benjamin.peterson, loewis, pitrou
Date 2008-09-21.21:36:55
SpamBayes Score 0.0024128568
Marked as misclassified No
Message-id <>
Today I learned something: wchar_t can be 2 or 4 bytes, PyUNICODE can be 
2 or 4 bytes, and all combinations are possible.
My error was to use PyUnicode_FromUnicode on a wchar_t*; PyUnicode_FromWideChar is the obvious function to use.

Attached a new patch (command_unicode_2.patch) for review.
Date User Action Args
2008-09-21 21:37:57amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, pitrou, benjamin.peterson
2008-09-21 21:37:57amaury.forgeotdarcsetmessageid: <>
2008-09-21 21:36:56amaury.forgeotdarclinkissue3705 messages
2008-09-21 21:36:56amaury.forgeotdarccreate