[Python-bugs-list] [Bug #124060] Python 2.0 -- Problems with Unicode Translate
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 1 Dec 2000 09:03:11 -0800
Bug #124060, was updated on 2000-Dec-01 09:03
Here is a current snapshot of the bug.
Project: Python
Category: Library
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: alburt
Assigned to : Nobody
Summary: Python 2.0 -- Problems with Unicode Translate
Details: I don't know what this new-fangled Unicode stuff is all about. I do know that old code that has:
string.translate(s, table)
now bombs when "s" is Unicode. The definition of "string.translate" passes on the call with a "deletechars" argument that is not expected by the Unicode version.
Using "str(s)" keeps Python 2.0 happy.
-- Alastair
P.S. Sorry if the bug is already reported but I do not know how to search past bug reports.
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=124060&group_id=5470