Message351230
some test cases which paul provided looks doesn't keep compatible.
In TestDoubleDashRemoval:
# output in my env is Namespace(cmd='cmd', foo=None, rest=['--', '--foo'])
('-- cmd -- -- --foo', NS(cmd='cmd', foo=None, rest=['--', '--', '--foo']))
# output in my env is Namespace(cmd='--', foo='1', rest=['1', '2'])
('-f1 -- -- 1 -- 2', NS(cmd='--', foo='1', rest=['1', '--', '2']))
# output in my env is Namespace(cmd='--foo', foo=None, rest=['--bar', '2'])
('-- --foo -- --bar 2', NS(cmd='--foo', foo=None, rest=['--', '--bar', '2']))
# output in my env is Namespace(cmd='cmd', foo=None, rest=['--foo', '-f2'])
('cmd -- --foo -- -f2', NS(cmd='cmd', foo=None, rest=['--foo', '--', '-f2']))
In TestDoubleDashRemoval1:
# output in my env is Namespace(cmd='cmd', foo='1', rest=['-f2', '3'])
('-f1 -- cmd -- -f2 3', NS(cmd='cmd', foo='1', rest=['--', '-f2', '3']))
my python's version is: 2.7.5, 3.6.8 |
|
Date |
User |
Action |
Args |
2019-09-06 05:44:55 | shihai1991 | set | recipients:
+ shihai1991, bethard, eric.araujo, r.david.murray, maker, martin.panter, paul.j3 |
2019-09-06 05:44:55 | shihai1991 | set | messageid: <1567748695.83.0.663310134439.issue14364@roundup.psfhosted.org> |
2019-09-06 05:44:55 | shihai1991 | link | issue14364 messages |
2019-09-06 05:44:55 | shihai1991 | create | |
|