Petr Prikryl wrote: > > As for dropping the u prefix on string literals: > > Just try the -U option of the interpreter some time, > > which makes all string literals Unicode. If you manage > > to get the standard library working this way, you > > won't need a per-file decision anymore: just start > > your program with 'python -U'. > > I have failed to find the -U option in Python 2.4.2.
... $ python2.4 -T Unknown option: -T usage: python2.4 [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information. $ python2.4 -U Python 2.4.2 (#2, Sep 30 2005, 21:19:01) [GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> type("") <type 'unicode'> >>> ^D $ python2.4 -V Python 2.4.2 $ python2.4 -X usage: python2.4 [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information. ... </F> -- http://mail.python.org/mailman/listinfo/python-list