Message174683
I think this is the default behavior of readline module.
the default word delimiters for completion contains dash(-). so completion breaks at dash.
>>> import readline
>>> readline.get_completer_delims()
' \t\n`~!@#$%^&*()-=+[{]}\\|;:\'",<>/?'
In contrast, the default word delimitors of GNU readline is "\t\n\"\\'`@$><=;|&{(" and perl binding does not change it.
when I remove dash from delims like below, it works.
>>> readline.set_completer_delims(readline.get_completer_delims().replace('-', ''))
>>> input()
a-
a-bc a-de
a- |
|
Date |
User |
Action |
Args |
2012-11-03 20:08:27 | hideaki_t | set | recipients:
+ hideaki_t, eric.araujo, rheise |
2012-11-03 20:08:27 | hideaki_t | set | messageid: <1351973307.53.0.752546966179.issue10796@psf.upfronthosting.co.za> |
2012-11-03 20:08:27 | hideaki_t | link | issue10796 messages |
2012-11-03 20:08:27 | hideaki_t | create | |
|