Skip to content

python -m zipfile issues RuntimeWarning #112578

Closed

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

Activity

  1. added a commit that references this issue on Dec 1, 2023
  2. added
    stdlib
    on Dec 1, 2023
  3. added a commit that references this issue on Dec 3, 2023
  4. added a commit that references this issue on Dec 3, 2023
  5. added a commit that references this issue on Dec 3, 2023
  6. added a commit that references this issue on Feb 11, 2024
  7. added a commit that references this issue on Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlib

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions