do a backport of r75928
commit4158503519ae8d31be0427bb7892eae6792200f2
authorbenjamin.peterson <benjamin.peterson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Thu, 29 Oct 2009 01:49:07 +0000 (29 01:49 +0000)
committerbenjamin.peterson <benjamin.peterson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Thu, 29 Oct 2009 01:49:07 +0000 (29 01:49 +0000)
tree5c8da0fe43ecc4f8a62e2c4ba250cd2010194381
parent2772ced96c15f7ee138a9ffa6013ed947a72799d
do a backport of r75928

The added test does not fail without the patch, but we still fix the issue of
surrogates being used in wide builds where they should not be.

git-svn-id: http://svn.python.org/projects/python/trunk@75931 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_pep263.py
Python/ast.c