Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback to stdlib json if integer exceeds 64-bit range (#18148)
Fixes the error below: ```python File "mypy/main.py", line 102, in main File "mypy/main.py", line 186, in run_build File "mypy/build.py", line 194, in build File "mypy/build.py", line 269, in _build File "mypy/build.py", line 2935, in dispatch File "mypy/build.py", line 3333, in process_graph File "mypy/build.py", line 3460, in process_stale_scc File "mypy/build.py", line 2497, in write_cache File "mypy/build.py", line 1560, in write_cache File "mypy/util.py", line 924, in json_dumps TypeError: Integer exceeds 64-bit range ``` Related: ijl/orjson#116
- Loading branch information