Skip to content

Intellisense for sys fails with new analysis engine #1736

@DonJayamanne

Description

@DonJayamanne
import os
import sys

Intellisense is available for os., but not for sys.
When you type sys., the following error is logged in the python console:

[Error - 11:36:51 AM] Request textDocument/completion failed.
  Message: Length cannot be less than zero.
Parameter name: length
  Code: -32000 
[object Object]

Metadata

Metadata

Labels

area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions