This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shihai1991
Recipients bethard, chris.jerdonek, paul.j3, peter.otten, roysmith, serhiy.storchaka, shihai1991, xiang.zhang
Date 2019-10-08.11:49:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570535362.33.0.848081883932.issue16623@roundup.psfhosted.org>
In-reply-to
Content
I checked the help format.
the help_lines' width in python2.7 is different python3.

The width is more likely a hardcode in 
https://github.com/python/cpython/blob/2.7/Lib/argparse.py#L165.
, so the help_lines = [u'This is a very long help string. ex: "--s3', u's3://my.bucket/dir1/dir2"'](when joining this help_lines it will add a '\n' in the middle)

Since python 3.3, the width is a dynamic value in 
https://github.com/python/cpython/blob/master/Lib/argparse.py#L170
, so the help_lines = ['This is a very long help string. ex: "--s3\xa0s3://my.bucket/dir1/dir2"']
History
Date User Action Args
2019-10-08 11:49:22shihai1991setrecipients: + shihai1991, roysmith, peter.otten, bethard, chris.jerdonek, paul.j3, serhiy.storchaka, xiang.zhang
2019-10-08 11:49:22shihai1991setmessageid: <1570535362.33.0.848081883932.issue16623@roundup.psfhosted.org>
2019-10-08 11:49:22shihai1991linkissue16623 messages
2019-10-08 11:49:22shihai1991create