Commit Graph
4003 Commits
Author SHA1 Message Date
Lee DogeonandClaude Opus 4.5 3a702ac772 Improve json.loads performance (#6704)
* Parse JSON in Rust

* Reuse key when decoding JSON

* Unmark resolved test

* Parse null/true/false directly in call_scan_once

Parse JSON constants (null, true, false) directly in Rust within
call_scan_once() instead of falling back to Python scan_once.
This reduces Python-Rust boundary crossings for array/object values.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Parse numbers directly in call_scan_once

Parse JSON numbers starting with digits (0-9) directly in Rust within
call_scan_once() by reusing the existing parse_number() method.
This reduces Python-Rust boundary crossings for array/object values.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Parse NaN/Infinity/-Infinity in call_scan_once

Parse special JSON constants (NaN, Infinity, -Infinity) and negative
numbers directly in Rust within call_scan_once(). This handles:
- 'N' -> NaN via parse_constant callback
- 'I' -> Infinity via parse_constant callback
- '-' -> -Infinity or negative numbers via parse_constant/parse_number

This reduces Python-Rust boundary crossings for array/object values.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Correct wrong index access

* Leave more flame span

* Refactor json scanstring with byte index

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 19:53:46 +09:00
Terry Tianlin Luan c5deb740ac Update asyncio library (#6601)
* Updated asyncio to v3.13.11

* Removed expectedFailure from `test_async_case.py`
2026-01-15 17:35:01 +09:00
Jeong, YunWon c06701abc8 skip test_multiprocessing_{fork,spawn}.test_threads.py (#6735) 2026-01-15 14:29:41 +09:00
Shahar Naveh e3890f9b4a Bytecode pseudo opcodes (#6715) 2026-01-15 02:52:25 +09:00
Jeong, YunWon 81d89d1d90 Fix flaky multiprocessing tests (#6725) 2026-01-14 16:59:10 +09:00
Jeong, YunWon f9e2f9d273 Upgrade math,cmath to 3.14.2 and totally delegate to pymath (#6705)
* Upgrade test_math, test_cmath from 3.14.2

* pymath 0.1.5
2026-01-13 22:05:32 +09:00
Jeong, YunWon 69601a18a4 Upgrade threading to 3.13.11; sys.setprofile & impl more threading (#6691)
* Upgrade threading,test_threading from 3.13.11

* increase ci limit to 45mins

* impl more threading

* no static for asyncgen
2026-01-12 15:33:28 +09:00
Jeong, YunWon 29bb8b47cd Super instructions (#6694)
* super instructions

* Fix classcell

* ZeroArg
2026-01-11 17:59:32 +09:00
Padraic Fanning 7445b27083 Skip flaky test in test_ssl 2026-01-10 22:10:35 -05:00
Padraic Fanning f9a1f2bda8 Remove test_ssl from list of polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning 8d505dc0e5 Remove test_raise from list of polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning 80af69e625 Amend skips in test.test_multiprocessing_forkserver.test_processes 2026-01-10 22:10:35 -05:00
Padraic Fanning 717265a59a Remove test_import from list of polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning daaae22077 Skip flaky tests in test_process_pool 2026-01-10 22:10:35 -05:00
Padraic Fanning 1642959b92 Skip problematic tests in test_wait 2026-01-10 22:10:35 -05:00
Padraic Fanning 1c07d3545e Make skip in test_thread_pool os-agnostic 2026-01-10 22:10:35 -05:00
Padraic Fanning ae6deb7437 Skip environment polluter in test.test_concurrent_futures.test_thread_pool 2026-01-10 22:10:35 -05:00
Jeong, YunWon def6974bf6 fix threading._dangling 2026-01-10 22:10:35 -05:00
Padraic Fanning a09ed1bf97 Remove test_subprocess from the list of polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning 55c309669b Remove test_file_eintr from list of polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning d1e75c0ee0 Make env polluter skip in test_threading os-agnostic 2026-01-10 22:10:35 -05:00
Padraic Fanning 98d8ebcc1d Skip test causing worker bug in test_builtin 2026-01-10 22:10:35 -05:00
Padraic Fanning b76c0a20a8 Skip certain problematic tests in test_threading 2026-01-10 22:10:35 -05:00
Padraic Fanning 12811eb40c Skip flaky test in test_logging 2026-01-10 22:10:35 -05:00
Padraic Fanning 40da80714c Mark flaky test in test_regrtest 2026-01-10 22:10:35 -05:00
Padraic Fanning 2769c08a0d Unmark passing test in test_regrtest 2026-01-10 22:10:35 -05:00
Padraic Fanning 0a826731cb Mark test_import as polluting the environment 2026-01-10 22:10:35 -05:00
Padraic Fanning 59b80e30ed Save more of the test environment before a test is run 2026-01-10 22:10:35 -05:00
Padraic Fanning 9500f6609b Remove test_sys from list of environment polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning 55c71aa0ee Fix multiprocessing tests on Darwin 2026-01-10 22:10:35 -05:00
Padraic Fanning dc9475c26b Mark flaky tests in test_ftplib 2026-01-10 22:10:35 -05:00
Padraic Fanning 34fe0f2770 Skip flaky tests in test_regrtest 2026-01-10 22:10:35 -05:00
Padraic Fanning 3aa6bf8696 Skip flaky tests in test.test_multiprocessing_fork.test_manager
Had to go with the nuclear option.
2026-01-10 22:10:35 -05:00
Padraic Fanning e831124a21 Skip flaky tests in test.test_multiprocessing_fork.test_misc 2026-01-10 22:10:35 -05:00
Padraic Fanning 1827af100b Skip tests that pollute the environment for some reason 2026-01-10 22:10:35 -05:00
Padraic Fanning 17cc559dd3 Skip more flaky tests in test_threading 2026-01-10 22:10:35 -05:00
Padraic Fanning 8d2b215ccb Unmark passing test in test_fstring 2026-01-10 22:10:35 -05:00
Padraic Fanning 8aafbf2bf7 Mark failing test in test_urllib2net 2026-01-10 22:10:35 -05:00
Padraic Fanning cadac344a7 Unmark passing tests in test_io 2026-01-10 22:10:35 -05:00
Padraic Fanning c76e72571e Skip panicking tests in test_io 2026-01-10 22:10:35 -05:00
Padraic Fanning 1f56a0fe0c Mark failing/erroring tests in _test_eintr 2026-01-10 22:10:35 -05:00
Padraic Fanning bedcb225e7 Skip long-running test in _test_eintr 2026-01-10 22:10:35 -05:00
Padraic Fanning 4a559f3ea4 Add _test_eintr.py from CPython 3.13.11 2026-01-10 22:10:35 -05:00
Padraic Fanning 2789ff7a9f Mark failing test in test_fstring 2026-01-10 22:10:35 -05:00
Padraic Fanning 4c833fc714 Mark failing tests and skip flaky ones in test/test_regrtest.py 2026-01-10 22:10:35 -05:00
Padraic Fanning 404836f187 Add autotest shim from CPython 3.13.11 2026-01-10 22:10:35 -05:00
Padraic Fanning 32fd6bec49 Update test/test_regrtest.py to CPython 3.13.11 2026-01-10 22:10:35 -05:00
Padraic Fanning e4fb263788 Disable support.record_original_stdout() 2026-01-10 22:10:35 -05:00
Padraic Fanning a8e7633f58 Disable saved_test_environment context manager 2026-01-10 22:10:35 -05:00
Padraic Fanning f436c51ef2 Disable struct._clearcache() 2026-01-10 22:10:35 -05:00