Re: [Python-Dev] rlcompleter -- auto-complete dictionary keys (+ tests)

2010-11-09 Thread Valery Khamenya
> > Can you post your patch on bugs.python.org? > done -- now both 2.x and 3.x patches are available on http://bugs.python.org/issue10351 The py3k appeared to be *much* more friendly regarding the unpleasant unicode-issues that I've faced in python 2.x regards, Valery ___

Re: [Python-Dev] bugs.python.org not responding (Was: rlcompleter -- auto-complete dictionary keys (+ tests))

2010-11-08 Thread Valery Khamenya
Hi David, > Valery, I would advise you to submit the patch to bugs.python.org when > it comes back up. Patches posted to this mailing list will in general > just get forgotten. > > done: http://bugs.python.org/issue10351 http://bugs.python.org/issue10352 Albeit, as I can already see the situa

Re: [Python-Dev] rlcompleter -- auto-complete dictionary keys (+ tests)

2010-11-07 Thread Valery Khamenya
> > Can you post your patch on bugs.python.org? > the site is not working currently. Also, I have forgotten to mention, that the usual lines in .pythonstartup should look now like that: # the usual lines: import readline import rlcompleter readline.parse_and_bind('tab: complete') readline.parse

[Python-Dev] rlcompleter -- auto-complete dictionary keys (+ tests)

2010-11-07 Thread Valery Khamenya
Hi, A) I missed the auto-complete feature for dictionary keys a lot in python console. This patch seems to do the job. B) There is no rlcompleter tests in trunk for some reason. So, I've taken the 2.7.x test_rlcompleter.py and extended it. C) patched rlcompleter as such works OK for unicode dict