Commit Graph

26 Commits

Author SHA1 Message Date
CPython Developers
3c7b25d0fa Update test_compile from v3.14.3 2026-02-27 09:06:56 +09:00
Jeong, YunWon
739f92e872 impl sys.monitoring 2026-02-27 09:06:55 +09:00
Jeong, YunWon
d19d523c8d Move sys.flags thread_inherit_context/context_aware_warnings to getset 2026-02-21 22:58:12 +09:00
Jeong YunWon
4b823ebaf5 mark test_dis failures 2026-01-26 10:40:23 +09:00
Jeong YunWon
8c73f3cb30 emit RESUME 2026-01-26 10:40:22 +09:00
Jeong, YunWon
82a8f67c71 Replace custom opcodes with CPython standard sequences (#6794)
* Replace custom opcodes with standard sequences

Remove RustPython-specific opcodes (BuildListFromTuples,
BuildMapForCall, BuildSetFromTuples, BuildTupleFromTuples)
and replace their usage with CPython 3.14 standard opcode
sequences:

- BuildListFromTuples → BUILD_LIST + LIST_EXTEND loop
- BuildSetFromTuples → BUILD_SET + SET_UPDATE loop
- BuildTupleFromTuples → BUILD_LIST + LIST_EXTEND + CALL_INTRINSIC_1(ListToTuple)
- BuildMapForCall → DICT_MERGE loop

Implement missing opcodes:
- ListExtend: Extend list with iterable elements
- SetUpdate: Add iterable elements to set
- DictMerge: Merge dict with duplicate key checking

* Auto-generate: generate_opcode_metadata.py

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-20 00:34:46 +09:00
Terry Tianlin Luan
609dbb1439 Downgraded skips in tests (#6716)
* Downgraded skips in tests

* Fixed failing tests

* Fixed test_ftplib + test_socket + test_ssl + test_threaded_import failures

* Removed comments about which tests are run in which environment

* Addressed PR comments

* Annotated skips on failing tests

* Removed unneeded tests

* Removed unneeded sys import from test_ftplib

* Added annotation to test_ftplib

* Readded skipIf to test_cleanup_with_symlink_modes with a more general ENV_POLLUTING_TESTS_WINDOWS

* Addressed PR comments

* Made changes to minimize diff in PR

* Apply suggestion from @youknowone

---------

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
2026-01-15 21:43:22 +09:00
Jeong, YunWon
eee360822c Rework compiler about exception handling (#6638)
* asyncgen

* fix coroutine

* rewrite compiler

* tests

* set pyc magic number
2026-01-04 09:15:38 +09:00
Jeong, YunWon
4a6e8fb29e Add except* support (#6530) 2025-12-26 21:54:23 +09:00
Jeong, YunWon
152d10bfea hybrid dis.py from CPython 3.13.10 2025-12-12 21:44:00 +09:00
Jeong, YunWon
b666c52df9 code object linetable (#6150)
* Code.replace

* implement linetable
2025-09-16 21:49:54 +09:00
Jeong YunWon
f8891ffe3a Fix test_compile 2025-08-01 09:17:08 +09:00
ilp-sys
8dbf7b27ef Fix test_path_like_objects (#4773)
Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com>
2023-06-13 00:10:50 +09:00
Andrey Maltsev
f5d4c9fc1c Update test_compile from Cpython v3.11.2 2023-04-02 13:04:58 +00:00
Jim Fasarakis-Hilliard
17c5361d43 Merge pull request #4554 from howjmay/co_stacksize
Add co_stacksize to code objects
2023-03-10 17:12:30 +02:00
Yang Hau
95e863cb6d Add co_stacksize to code objects 2023-03-10 21:28:56 +08:00
DimitrisJim
8405693325 Always load __debug__ as a const. 2023-02-26 09:58:27 +02:00
Nick Liu
58ff3e8aaf remove expectedFailure decorator in test_argument_handling 2022-12-29 22:49:26 +08:00
Jeong Yunwon
d09209b2a8 mark failing test skip 2022-03-22 02:22:40 +09:00
Dean Li
5ee4fb899b test: use os_helper 2021-11-28 20:51:32 +08:00
Jeong YunWon
913b78ca44 Revert "Merge pull request #3433 from deantvv/test-update"
This reverts commit 9fa5c5ac66, reversing
changes made to e7fa32c687.
2021-11-17 17:06:51 +09:00
Dean Li
49a5805d11 test: use os_helper 2021-11-13 02:18:33 +00:00
jfh
dce45825ae Allow any mapping for locals. 2021-10-15 17:34:52 +03:00
Padraic Fanning
b7a79eb002 Mark erroring/failing tests 2021-10-02 18:34:23 -04:00
Padraic Fanning
56058844fe Skip panicking test 2021-10-02 16:16:00 -04:00
Padraic Fanning
b95edf676f Add test_compile from CPython 3.8 2021-10-02 16:14:42 -04:00