[pypy-svn] r38735 - pypy/dist/pypy/module/unicodedata
ac at codespeak.net
ac at codespeak.net
Tue Feb 13 18:17:13 CET 2007
Author: ac
Date: Tue Feb 13 18:17:12 2007
New Revision: 38735
Modified:
pypy/dist/pypy/module/unicodedata/interp_ucd.py
Log:
Needs to accept mixed-case names.
Modified: pypy/dist/pypy/module/unicodedata/interp_ucd.py
==============================================================================
--- pypy/dist/pypy/module/unicodedata/interp_ucd.py (original)
+++ pypy/dist/pypy/module/unicodedata/interp_ucd.py Tue Feb 13 18:17:12 2007
@@ -50,7 +50,7 @@
def lookup(self, space, name):
try:
- code = self._lookup(name)
+ code = self._lookup(name.upper())
except KeyError:
msg = space.mod(space.wrap("undefined character name '%s'"), space.wrap(name))
raise OperationError(space.w_KeyError, msg)
More information about the Pypy-commit
mailing list