GNOME Bugzilla – Bug 332861
Python console history misses last entry
Last modified: 2019-03-23 20:54:15 UTC
Please describe the problem: The python console misses the previous entry in its history. Steps to reproduce: 1. Open the python console in the bottom pane 2. Enter: print "Hello World"<return> print "Goodbye cruel world"<return> 3. Press up arrow Actual results: The first command run is shown in the entry box (i.e. print "Hello World") Expected results: The second command shown (i.e. print "Goodbye cruel world") Does this happen every time? Other information:
Yes, you are right... the code is cut and pasted from epiphany's python console though... I am not sure where it broke. /me should prod kikidonk into fixing it To be honest I am not really fond of the current python console... nud's pyterminal plugin at http://tw.apinc.org/gedit/ is better, but feature freeze didn't allow us to switch
Created attachment 60332 [details] [review] Fix pythonconsole history In the mean time, here is a patch which fixes the history.
Patch was committed, it should work now :-)
Does epiphany's copy need the same fix?
By looking at the code: yes. By trying it out: no. No idea why the epi version is not affected... nud?
I really have no idea, sorry.