Reject non-ASCII digits in JSON numbers#7982
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesJSON Number Parsing Refactor
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: [ ] lib: cpython/Lib/json dependencies:
dependent tests: (10 tests)
Legend:
|
ShaharNaveh
left a comment
There was a problem hiding this comment.
TYSM!
Welcome to the project:)
|
@teddygood CI failures are not related to your changes. Github is having issues with github actions. I'll try to remember to rerun your CI once it's resolved, but if I don't please feel free to ping me! |
Refs #7611
_jsonnumber scanner with RFC 8259 / CPython behavior by only consuming valid ASCII JSON number grammar.test_nonascii_digits_rejectedfor bothTestPyDecodeandTestCDecode, and remove the now-redundantTestCFail.test_failuresexpected-failure wrapper.Summary by CodeRabbit