Commit Graph
9 Commits
Author SHA1 Message Date
Jeong, YunWon c57f4decd5 Fix test_code: compiler and code object improvements
- Add CO_NESTED flag (0x10) for nested function scopes
- Emit LOAD_SMALL_INT for integers 0..=255 instead of LOAD_CONST
- Eliminate dead constant expression statements (no side effects)
- Ensure None in co_consts for functions with no other constants
- Add code.__replace__() for copy.replace() support
- Mark test_co_lnotab and test_invalid_bytecode as expectedFailure
2026-03-17 10:54:12 +09:00
Shahar NavehandLee Dogeon 4483c31c65 Update test_marshal.py from 3.14.3 (#7409)
---------

Co-authored-by: Lee Dogeon <dev.moreal@gmail.com>
2026-03-14 09:45:12 +09:00
Terry Tianlin LuanandJeong, YunWon 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
Kim, YeonWoo b5aa8c8284 Add StopIteration type to marshal 2022-10-25 20:48:14 +09:00
Jeong YunWon ec9fa505e3 marshal.version 2022-08-07 04:15:21 +09:00
Jeong YunWon 6489ef153a bytes, none, ellipsis 2022-08-07 04:13:21 +09:00
Jeong YunWon a353d5e27a redesign marshal 2022-08-07 02:40:40 +09:00
Jeong Yunwon 6ff41a24c2 mark failing tests 2022-05-03 23:58:42 +09:00
Jeong Yunwon 66afb64f79 Add Lib/test/test_marshal.py from CPython 3.10.4 2022-05-03 23:56:41 +09:00