Skip to content

Syntax warnings are duplicated in zipimport #141276

@serhiy-storchaka

Description

@serhiy-storchaka

When importing a not precompiled module from a ZIP archive, syntax warnings are emitted twice.

Discovered during adding tests for #139652.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytopic-importlib

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions