Skip to content

Handle interaction of -i and -s #1351

Closed
@gvanrossum

Description

@gvanrossum

When using --incremental mode (-i) with -s (--silent-imports) the cache should technically be invalidated when a different set of files is passed, since imports that are "silenced" by this flag are stored as objects of type Any in the importing module's namespace.

We need this to work seamlessly, either by emptying the cache whenever the set of files changes, or by recording the silenced dependencies in the cache metadata, or by some other approach.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions