[Python-Dev] Unicode command line parameter missing (original) (raw)

Joseph Armbruster josepharmbruster at gmail.com
Sat Feb 24 04:09:08 CET 2007


Python Versions: 2.5 and trunk

Browsing through the code this evening and noticed a discrepancy between the command line parameters listed with --help and those truly available in the code. Namely with the -U Unicode flag..

The -U option was added back in 2000, rev 15296 and mention of it was removed in rev 25288. Should the -U option still be handled from the command line?

Python 2.5 Session without flag:

python Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information.

a = "monty" a 'monty'

Python 2.5 Session with flag:

python -U Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information.

a = "monty" a u'monty'

Joseph Armbruster -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-dev/attachments/20070223/77bcf28e/attachment.htm



More information about the Python-Dev mailing list