Inkane,

the commit is here: https://bitbucket.org/bobf/bpython/changeset/dc429dd96248

and I have moved the bpython mailinglist to actually show up in my
inbox instead of a small number on the bottom left of my inbox again
so I should notice things on the mailinglist faster. Thank you for
reporting the issue and thanks Andreas for pointing me to the
mailinglist.

Regards,

Simon de Vlieger

On 14 March 2012 22:50, Simon de Vlieger <[email protected]> wrote:
> Oh dear,
>
> turns out that was me. I'll fix it.
>
> Regards,
>
> Simon de Vlieger
>
> On 5 March 2012 22:28, Inkane <[email protected]> wrote:
>> Hi there,
>>
>> I'm running the hg version under Chakra linux with Python 2.7.2.
>> Almost everything works, but when I press the <arrow-up> key or
>> scroll upwards I get a crash with the following traceback:
>> Traceback (most recent call last):
>>  File "/usr/bin/bpython", line 9, in <module>
>>    load_entry_point('bpython==mercurial', 'console_scripts',
>> 'bpython')()
>>  File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 1863,
>> in main
>>    banner=banner)
>>  File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 1762,
>> in curses_wrapper
>>    return func(stdscr, *args, **kwargs)
>>  File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 1832,
>> in main_curses
>>    clirepl.repl()
>>  File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 1091,
>> in repl
>>    inp = self.get_line()
>>  File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 648, in
>> get_line
>>    if self.p_key(key) is None:
>>  File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 866, in
>> p_key
>>    self.back()
>>  File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 566, in
>> back
>>    self.s = self.rl_history.back()
>>  File "/usr/lib/python2.7/site-packages/bpython/repl.py", line 181,
>> in back
>>    elif match:
>> NameError: global name 'match' is not defined
>>
>> After a short glance at the source: Shouldn't that be self.match (and
>> self.search)?
>>
>> Thanks in advance,
>> Inkane
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "bpython" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/bpython?hl=en.
>>

-- 
You received this message because you are subscribed to the Google Groups 
"bpython" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/bpython?hl=en.

Reply via email to