Skip to content

python -m zipfile issues RuntimeWarning #112578

Closed
@hauntsaninja

Description

@hauntsaninja

Running python -m zipfile on main gives:

<frozen runpy>:128: RuntimeWarning: 'zipfile.__main__' found in sys.modules after import of package 'zipfile', but prior to execution of 'zipfile.__main__'; this may result in unpredictable behaviour

This can be traced to #98103
Originally reported at #98098 (comment)

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions