GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Native parser reads file eagerly if there is one file in parse batch · Issue #21514 · python/mypy

Native parser reads file eagerly if there is one file in parse batch #21514

New issue
Copy link
New issue
Copy link
Closed
#21996
Closed
Native parser reads file eagerly if there is one file in parse batch#21514
#21996
Copy link
Labels
bugmypy got something wrongparallel checking

Description

@ilevkivskyi
ilevkivskyi
opened on May 19, 2026
Issue body actions

Logic in State.parse_file() calls get_source() unconditionally. And this method is still used when we have just one file in batch (and don't want to create an executor).

This is not needed, as native parser already does all the same things in Rust.

Activity

  1. ilevkivskyi
    added
    bugmypy got something wrong
    parallel checking
    on May 19, 2026
  2. ilevkivskyi
    added a commit that references this issue on Sep 16, 2026

    Avoid eagerly reading sources for singe-file batches (#21996)

    4c5c588
  3. ilevkivskyi
    closed this as completedin #21996on Sep 16, 2026
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

    bugmypy got something wrongparallel checking

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.