]> granicus.if.org Git - python/commit
#ifdef out generation of \U escapes unless Py_UNICODE_WIDE. This
authorGuido van Rossum <guido@python.org>
Fri, 20 Jul 2001 16:36:21 +0000 (16:36 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 20 Jul 2001 16:36:21 +0000 (16:36 +0000)
commit0d42e0c54a3b95aec4d4d12d1cd758438d645089
treef5670dfe504c6e99d3b6c09b9bccdde2d8376fad
parent9079164bdfb71c820c0216d37686960aa226c82b
#ifdef out generation of \U escapes unless Py_UNICODE_WIDE.  This
#caused warnings with the VMS C compiler.  (SF bug #442998, in part.)
On a narrow system the current code should never be executed since ch
will always be < 0x10000.

Marc-Andre: you may end up fixing this a different way, since I
believe you have plans to generate \U for surrogate pairs.  I'll leave
that to you.
Objects/unicodeobject.c