Skip to content

no intelliSense for python namedtuple #2377

@chen19901225

Description

@chen19901225

Environment data

  • VS Code version: 1.25.1
  • Extension version (available under the Extensions sidebar): python2018.7.1
  • OS and version: windows10
  • Python version (& distribution if applicable, e.g. Anaconda): python3.6.5
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A

with config "python.jediEnabled": false

Actual behavior

from collections import namedtuple
RequestStartLine = namedtuple("RequestStartLine", "method path version".split())
start_line = RequestStartLine("GET", "/query", "HTTP/1.1")
print(start_line)
start_line.  # <- no suggestion

Metadata

Metadata

Assignees

No one assigned

    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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions