Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

gh-88621: Report missing compileall paths as failures - #162892

Open
qlearzyy wants to merge 1 commit into
python:mainfrom
qlearzyy:codex/gh-88621
Open

qlearzyy wants to merge 1 commit into
python:mainfrom
qlearzyy:codex/gh-88621

Conversation

@qlearzyy

@qlearzyy qlearzyy commented Nov 30, 2026 •

Copy link
Copy Markdown

Fixes #88621.

Changes

  • Return a nonzero exit status when an explicitly supplied input path does not exist.
  • Preserve existing diagnostic messages and quiet-mode behavior.
  • Continue compiling other valid input paths.
  • Add regression tests, update documentation, and include a NEWS entry.

Testing

  • Windows x64 Debug build.
  • 234 tests run, 18 skipped, zero failures.
  • Confirmed that the regression tests fail before the fix and pass afterward.

AI disclosure

OpenAI Codex was used to assist with implementation, regression testing, and code review.

@python-cla-bot

python-cla-bot Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #36278124 | 📁 Comparing 6ff03fa against main (c37d06e)

  🔍 Preview build  

2 files changed
± library/compileall.html
± whatsnew/changelog.html

@ZeroIntensity ZeroIntensity added the AI-needs-explanation AI-assisted work that needs further explanation and follow up from the contributor label Dec 1, 2026
@bedevere-app

bedevere-app Bot commented Dec 1, 2026

Copy link
Copy Markdown

Thank you for your interest in contributing to Python. This is a community-driven project, and we want it to be a welcoming place to learn and collaborate.

Contributors are responsible for reviewing and understanding what they submit, checking its claims, and being able to explain changes in their own words. This helps reviewers focus on the contribution and leaves more time to support other contributors.

This contribution appears to have been authored with AI assistance. Please explain your contribution in your own words and describe how you checked its correctness.

Please read our guidelines for using AI tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-needs-explanation AI-assisted work that needs further explanation and follow up from the contributor awaiting review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compileall should exit nonzero for nonexistent directories

2 participants