FS#67701 - [ipython] tab autocomplete broken

Attached to Project: Community Packages
Opened by Martin Savc (martin.savc) - Monday, 24 August 2020, 15:14 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 24 August 2020, 15:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Autocomplete in the shell is broken. Does not work for imported packages, and crashes the interpreter with the following specific inputs:

a={'aa':1, 'ab':2}
a['<tab><backspace><tab><backspace><backspace><enter>

So I create a dictionary with two entries. In the next line I attempt to access them, first by entering a[' - and pressing tab to autocomplete. At this point I get a list of possible values. I then delete the ', and press tab again. Now no list is shown. I delete the whole line, press enter and the interpreted crashes.

A similar and likely related problem is auto completion of imported modules. The following test:

import numpy as np
np.<tab>

should show a list of available elements withing the numpy library, but none are shown.

Package version: 7.17.0-1
I'm also running Sway 1:1.5-1 so that might be an issue.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 24 August 2020, 15:16 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#67575 

Loading...