• Fred Drake's avatar
    Brian Hooper <brian_takashi@hotmail.com>: · 25d34473
    Fred Drake yazdı
    Here's a patch which changes modsupport to add 'u' and 'u#',
    to support building Unicode objects from a null-terminated
    Py_UNICODE *, and a Py_UNICODE * with length, respectively.
    
    [Conversion from 'U' to 'u' by Fred, based on python-dev comments.]
    
    Note that the use of None for NULL values of the Py_UNICODE* value is
    still in; I'm not sure of the conclusion on that issue.
    25d34473
modsupport.c 10.9 KB