Commit Graph

3979 Commits

Author SHA1 Message Date
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
Padraic Fanning
08762a35c2 Disable WindowsLoadTracker on Windows 2026-01-10 22:10:35 -05:00
Padraic Fanning
5d253d1ec0 Re-add try block around platform and encodings info 2026-01-10 22:10:35 -05:00
Padraic Fanning
f297888317 Update test/libregrtest to CPython 3.13.10 2026-01-10 22:10:35 -05:00
Shahar Naveh
6ff7b3ed27 LoadClassDeref -> LoadFromDictOrDeref (#6692) 2026-01-10 23:16:11 +09:00
Shahar Naveh
a400386774 Remove _dis module (#6690)
* Remove `_dis` module

* Adjust CodeFlag
2026-01-10 22:11:53 +09:00
Shahar Naveh
6fe05987f0 Remove Reverse bytecode (#6675)
* Remove `Reverse` bytecode

* Update crates/compiler-core/src/bytecode.rs

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>

* Gen

* Remove Reverse

* Auto-format: cargo fmt --all

* Revert comment

* Remove debug code

* Fix CI

---------

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-10 18:55:15 +09:00
Shahar Naveh
9291178b01 Ci gen opcode metadata (#6677)
* Autogen opcode metadata

* Manually modify opcode metadata
2026-01-10 17:33:11 +09:00
Terry Tianlin Luan
8c157990cf Updated test_contextlib_async.py (#6686) 2026-01-10 16:38:21 +09:00
Jeong, YunWon
e835ce9275 Make ready_to_import always remove tempdir from sys.path (#6687) 2026-01-10 16:32:26 +09:00
Jeong, YunWon
de0bc732c9 Replace CallMethod/LoadMethod opcodes with plain Call (#6674)
* implementing call the correct way

stack is [Option<PyObjectRef>]

* fix again

* list custom instructions

* Auto-format: cargo fmt --all

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-10 08:25:56 +09:00
Shahar Naveh
c2bfdf30bd Assign opcode ids (#6637) 2026-01-09 22:52:47 +09:00
Terry Tianlin Luan
b38cdaa30e Update the concurrent library + Added tests (#6673)
* Updated concurrent library

* Added test_concurrent_futures from v3.13.11

* Annotated failing tests in test_concurrent_futures
2026-01-09 15:28:12 +09:00
Noa
bf80d2715d Update to windows-2025 runner on ci (#5571)
* Update to windows-2025 on ci

* Unmark unexpected successes

* Try adding .dll
2026-01-07 12:53:44 +09:00
Terry Tianlin Luan
cd613edc71 Update the zipfile + zipimport libraries + tests - v3.13.11 (#6639)
* Updated zipimport library + test

* Updated zipfile library + test

* Annotated failing/erroring tests in test_zipfile and test_zipimport

* Changed all skips in `test_core.py` to expectedFailures

* skip EncodedMetadataTests

---------

Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2026-01-06 21:35:21 +09:00
Copilot
e367145a4a Add Linux pidfd syscalls to expose asyncio pidfd watcher (#6660)
* Add pidfd support syscalls

* Validate pidfd signal range

* Clarify pidfd syscall return handling

* Skip flaky is_alive_after_fork test

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-06 15:10:23 +09:00
Copilot
03380dc4ec Ensure __new__ entries in class __dict__ are staticmethods (#6659)
* Initial plan

* Wrap __new__ methods as staticmethods in type dicts

Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>

* Unmark passing enum test

Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
2026-01-06 12:16:51 +09:00
Terry Tianlin Luan
75838e567e Update pty + tty + associated libraries - v3.13.10 (#6630)
* Update tty + added the test from v3.13.10

* Updated pty.py + test
2026-01-05 14:38:04 +09:00
Terry Tianlin Luan
8977c39b60 Updated the re library + test (#6648)
* Updated re library + test

* Copied over generate_sre_constants from cpython/Tools

* Customized `generate_sre_constants.py` + ran to update `constants.rs`

* Clarified `dump_enum` docstring in `generate_sre_constants.py`
2026-01-05 13:55:07 +09:00
Jeong, YunWon
bdf3b3654e fix syntaxerror ast end_offset (#6646) 2026-01-05 08:01:41 +09:00
Gyubong Lee
ce5e1bd455 Update threading lib and tests from CPython 3.12.0a0 (#4156)
* Update threading.py from CPython v3.12.0a0

* Update test_threading.py from CPython v3.12.0a0

* mark failing tests

---------

Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2026-01-05 08:01:00 +09:00
Terry Tianlin Luan
ec564ac190 Updated tempfile libraries + associated tests - V3.13.11 (#6632)
* Updated subprocess library test

* Updated tempfile library + test

* Skipped the test_cleanup_with_symlink_modes test
2026-01-04 21:15:42 +09:00
Jeong, YunWon
fd27c2d78f Fix SSL handshake partial send (#6635)
* simplify test_ftplib

* mark flaky test

* better ssl handshake, pending tls output

* flush_all_pending

* deadline

* flush pending
2026-01-04 17:53:59 +09:00
Jeong, YunWon
8bfe927de5 skip TestTLS_FTPClass (#6640) 2026-01-04 11:07:58 +09:00
Terry Tianlin Luan
68d65a7280 Updated token + weakref libraries + weakref test - v3.13.11 (#6633)
* Updated the token library

* Updated the weakref library

* Annotated the failing weakref test
2026-01-04 10:17:12 +09:00