[Patches] slightly expanded Unicode supported Py_BuildValue

M.-A. Lemburg mal@lemburg.com
Wed, 26 Apr 2000 00:16:02 +0200


Brian Hooper wrote:
> 
> Hi again,
> 
> 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.

If you would change the 'U' (capital U) to 'u' (lowercase u)
the patch would be perfect :-)
 
BTW, why do you support converting a NULL pointer to None ?
I think this would probably only mask programming errors
instead of doing any good.

> If this is acceptable, then I'll submit a patch for the
> corresponding documentation also.
>---
>                            Name: Modsupport2.diff.dif
>    Modsupport2.diff.dif    Type: application/x-unknown-content-type-Excel.DIF
>                        Encoding: base64

Your mailer seems to have gotten the content type wrong;
I'd suggest to use .patch as extension for the file.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/