Message174683
| Author |
hideaki_t |
| Recipients |
eric.araujo, hideaki_t, rheise |
| Date |
2012年11月03日.20:08:27 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1351973307.53.0.752546966179.issue10796@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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- |
|
History
|
|---|
| 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 |
|