I'm left with some legacy code using plain old str, and I need to make sure it works with unicode input/output. I have a simple plan to do this:
- Run the code with "python -U" so all the string literals become
unicode litrals.
- Add this statement
str = unicode
to all .py files so the type comparison (e.g., type('123') == str)
would work.
Did I miss anything? Does this sound like a workable plan?
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
