spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.37k stars 1.62k forks source link

String generated by file.readline() gives list options when using tab-complete #2474

Open jessimekirk opened 9 years ago

jessimekirk commented 9 years ago

Description

A drop-down menu should appear including options such as: capitalize center count decode ...

Instead the menu shows: append count extend index ...

error

Version and main components

pyflakes >=0.5.0: 0.8.1 (OK) pep8 >=0.6 : 1.6.2 (OK) IPython >=1.0 : 3.0.0 (OK) zmq >=2.1.11 : 14.5.0 (OK) pygments >=1.6 : 2.0.2 (OK) pandas >=0.13.1 : 0.15.2 (OK) sphinx >=0.6.6 : 1.2.3 (OK) rope >=0.9.2 : 0.9.4 (OK) jedi >=0.8.1 : 0.8.1 (OK) matplotlib >=1.0: 1.4.3 (OK) sympy >=0.7.3 : 0.7.6 (OK) pylint >=0.25 : None (NOK)

ccordoba12 commented 9 years ago

@blink1073, could you take a look at this one?

blink1073 commented 9 years ago

This looks like a case where Rope is wrong but doesn't know it. I don't know that we can prevent that from happening.

Nodd commented 9 years ago

Apart from giving priority to jedi, which brings other inconsistencies ?

blink1073 commented 9 years ago

Right, we just need an AI on top of both, no problem...

goanpeca commented 9 years ago

so, wont'fix then?

Nodd commented 9 years ago

I guess we could report the bug to rope ?

blink1073 commented 9 years ago

Or maybe we should defer to jedi on completions and rope for docs?

— Sent from Mailbox

On Wed, Jun 10, 2015 at 1:20 PM, Joseph Martinot-Lagarde notifications@github.com wrote:

I guess we could report the bug to rope ?

Reply to this email directly or view it on GitHub: https://github.com/spyder-ide/spyder/issues/2474#issuecomment-110863090