]> granicus.if.org Git - python/commit
in wide builds, avoid storing high unicode characters from source code with surrogates
authorBenjamin Peterson <benjamin@python.org>
Wed, 28 Oct 2009 21:59:39 +0000 (21:59 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 28 Oct 2009 21:59:39 +0000 (21:59 +0000)
commitb2e796aa27af76bdf0386a34a23415e3efbcc75c
treeb0645c75593e8c01ba1aaf730fdc67652c2e3227
parent7b1b094ff17035d35c3736bcca12229fa360d33a
in wide builds, avoid storing high unicode characters from source code with surrogates

This is accomplished by decoding with utf-32 instead of utf-16 on all builds.
The patch is by Adam Olsen.
Lib/test/test_pep263.py
Misc/NEWS
Python/ast.c