Message6102
tab completion on an invalid object crashes jython console:
Steps to reproduce: (linux 32 bit)
alex@meow ~ $ ./jython/bin/jython
Jython 2.5.2b2 (Release_2_5_2beta2:7124, Sep 14 2010, 00:11:45)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_21
Type "help", "copyright", "credits" or "license" for more information.
>>> a.
File "<stdin>", line 1
a.
^
SyntaxError: mismatched input '\n' expecting set null
>>> import readline
>>> import rlcompleter
>>> readline.parse_and_bind("tab:complete")
>>> a.<tab pressed>Traceback (most recent call last):
File "/home/alex/jython/Lib/readline.py", line 97, in complete_handler
completion = function(buffer[:cursor], state)
File "/home/alex/jython/Lib/rlcompleter.py", line 87, in complete
self.matches = self.attr_matches(text)
File "/home/alex/jython/Lib/rlcompleter.py", line 130, in attr_matches
object = eval(expr, self.namespace)
File "<string>", line 1, in <module>
NameError: name 'a' is not defined
alex@meow ~ $ |
|
Date |
User |
Action |
Args |
2010-09-28 03:44:51 | alex001 | set | messageid: <1285645491.26.0.283392090069.issue1133@psf.upfronthosting.co.za> |
2010-09-28 03:44:51 | alex001 | set | recipients:
+ alex001, fwierzbicki, pjenvey, mboersma, zyasoft, walton, vanvorst, russell |
2010-09-28 03:44:51 | alex001 | link | issue1133 messages |
2010-09-28 03:44:48 | alex001 | create | |
|