Skip to content

Missing Intellisense Autocompletions for urllib #4511

@sharoncxu

Description

@sharoncxu

Currently using Intellisense + Pylance Extension in VS Code.

In the following code, the autocompletion doesn’t show getcode() as an option when writing “f.” in the last line. (The completion works fine for “urlib.” and “urllib.request.”)

`import urllib.request
import urllib.parse

f = urllib.request.urlopen("https://www.microsoft.com")

f.getcode()`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions