| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Ensure parsed name and function identifier fields use interned strings, matching CPython behavior. Assisted-by: Codex:gpt-5.6-sol
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Plus Run ID: 9fbc7acd-f429-4fd4-be13-c1d915ae7aff 📥 CommitsReviewing files that changed from the base of the PR and between 2b3e622 and dd94804. 📒 Files selected for processing (1)
📝 Walkthrough WalkthroughAST expression and function-definition name conversion now uses AST-aware serialization, with regression tests covering interned identifier identity and copy.replace behavior. ChangesAST identifier serialization
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: [x] lib: cpython/Lib/ast.py dependencies:
dependent tests: (149 tests)
Legend:
|
Sorry, something went wrong.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agentsVerify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. Inline comments: In `@extra_tests/snippets/stdlib_ast.py`: - Line 43: Move the copy import from its current position after executable top-level statements into the module’s existing top-level import block, preserving the surrounding import ordering and leaving executable code unchanged.
Fix all unresolved CodeRabbit comments on this PR:
Configuration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro Plus
Run ID: e7382c2a-71e2-4390-b543-ea7a719d828a
📥 CommitsReviewing files that changed from the base of the PR and between 28454cc and 2b3e622.
⛔ Files ignored due to path filters (1)
Sorry, something went wrong.
There was a problem hiding this comment.
👍
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Ensure that identifier fields produced while converting parsed AST nodes use
interned Python strings, matching CPython behavior. In particular, this fixes
Name.id and function definition name fields.
This restores identity-sensitive behavior used by copy.replace() and removes
the three test_ast expected-failure markers that now pass. Add regression
coverage for expression, synchronous-function, and async-function identifiers.
Testing
AI assistance: Codex:gpt-5.6-sol
Summary by CodeRabbit
Bug Fixes
Tests