Skip to content

[TECH DEBT]: Remove stdlib_module_names from KnownList #3634

Open
@JCZuurmond

Description

@JCZuurmond

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

Currently the stdlib_module_names are added to the KnownList while they are not in the known list.

See code here:

for name in sys.stdlib_module_names:
self._module_problems[name] = []

It is a bit confusing and not completely accurate

Proposed Solution

Remove dynamically adding the stdlib_module_names to the KnownList. It will have some ripple effect accros the code base. Where test fail, the standard library modulse should be handled separately

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinternalthis pull request won't appear in release notesmigrate/codeAbstract Syntax Trees and other dark magicmigrate/pythonPull requests that update Python codeneeds-triagepythonPull requests that update Python codetech debtchores and design flaws

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions