Title: Reject non-ASCII digits in JSON numbers by teddygood · Pull Request #7982 · RustPython/RustPython · GitHub
Open Graph Title: Reject non-ASCII digits in JSON numbers by teddygood · Pull Request #7982 · RustPython/RustPython
X Title: Reject non-ASCII digits in JSON numbers by teddygood · Pull Request #7982 · RustPython/RustPython
Description: Refs #7611 Align the Rust _json number scanner with RFC 8259 / CPython behavior by only consuming valid ASCII JSON number grammar. Enable test_nonascii_digits_rejected for both TestPyDecode and TestCDecode, and remove the now-redundant TestCFail.test_failures expected-failure wrapper. Summary by CodeRabbit Refactor Improved JSON number parsing implementation to enhance RFC 8259 compliance and robustness.
Open Graph Description: Refs #7611 Align the Rust _json number scanner with RFC 8259 / CPython behavior by only consuming valid ASCII JSON number grammar. Enable test_nonascii_digits_rejected for both TestPyDecode and Te...
X Description: Refs #7611 Align the Rust _json number scanner with RFC 8259 / CPython behavior by only consuming valid ASCII JSON number grammar. Enable test_nonascii_digits_rejected for both TestPyDecode and Te...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7982
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:974f496b-80a0-a661-3f52-9eeb8e9db74e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 97FE:18879D:3465F7B:49302CA:6A635590 |
| html-safe-nonce | bec32f372556d48dd6fa5e1d54521d2c5b62629e0968405a70e0d5ba952319d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0ZFOjE4ODc5RDozNDY1RjdCOjQ5MzAyQ0E6NkE2MzU1OTAiLCJ2aXNpdG9yX2lkIjoiMTUzMDI5Mzk4ODkwMTQ3NTcyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5c213ffc0304f966399ba81d367b0a4dea1c337baf73b90ff906af6691ee8555 |
| hovercard-subject-tag | pull_request:3747504080 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/7982/files |
| twitter:image | https://avatars.githubusercontent.com/u/39366574?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/39366574?s=400&v=4 |
| og:image:alt | Refs #7611 Align the Rust _json number scanner with RFC 8259 / CPython behavior by only consuming valid ASCII JSON number grammar. Enable test_nonascii_digits_rejected for both TestPyDecode and Te... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 990295d92a4cc7b63fbbd83a046217cd7d77d49c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width