[New-bugs-announce] [issue1071] unicode.translate() doesn't error out on invalid translation table

Georg Brandl report at bugs.python.org
Fri Aug 31 12:30:33 CEST 2007


New submission from Georg Brandl:

While it's documented that unicode.translate()s table maps ordinals to
strings/ordinals/None, if you give a unicode key in the table it will
just be ignored. This is quite surprising.

----------
assignee: lemburg
components: Unicode
messages: 55530
nosy: georg.brandl, lemburg, loewis
priority: normal
severity: normal
status: open
title: unicode.translate() doesn't error out on invalid translation table
type: behavior
versions: Python 2.5, Python 2.6, Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1071>
__________________________________


More information about the New-bugs-announce mailing list