]> granicus.if.org Git - python/commit
Brian Hooper <brian_takashi@hotmail.com>:
authorFred Drake <fdrake@acm.org>
Fri, 28 Apr 2000 14:42:37 +0000 (14:42 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 28 Apr 2000 14:42:37 +0000 (14:42 +0000)
commit25d34473c3c2429f0bf5c27e147fe57c6a718e99
treefade54950fa8e087869d217f0a4f7c4349dbb33c
parent6664bb87dc821e777184c8ea88539a2fdde49501
Brian Hooper <brian_takashi@hotmail.com>:
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.
Python/modsupport.c