Commit Graph
3423 Commits
Author SHA1 Message Date
Terry Tianlin Luan e22091ef60 Update straightforward packages Pt 1 (#6595)
* Deleted _pycodecs.py

* Updated code.py library

* Updated the _pydatetime.py lib

* Removed distutils package

* Updated doctest package

* * Updated datetimetester.py
* Added back in _pycodecs.py

* Used tool to verify datetimetester + test_code_module
2025-12-31 02:31:08 +09:00
Vinh NguyenandJeong YunWon ca1c4c1f71 feat: Sync code.py + test_code_module.py from CPython v3.13.1 (#6181)
* feat: Sync code module from cpython 3.13

* also udpate test_code_module

---------

Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2025-12-31 01:54:50 +09:00
Jeong, YunWon 9fcc471c94 Prevent tb_next loop (#6596) 2025-12-30 17:36:15 +09:00
Jeong, YunWon e79a1a1a66 Fix traceback (#6569)
* Fix traceback

* Update traceback from CPython 3.13.11

* unmark test_traceback

* fix code

* fix debug range

* fix tests
2025-12-30 16:58:53 +09:00
Terry Tianlin Luan 6bd1d90b6a Updated bdb.py + test_bdb.py (#6593)
* Updated bdb.py + test_bdb.py

* Double checked test_bdb.py with the script
2025-12-30 16:35:58 +09:00
Jack O'ConnorandJack O'Connor 5e1fc93f50 Update zipfile to 3.13.5 (#6069)
* Add Lib/test/archiver_tests.py @ 3.13.5

Needed for updated zipfile tests.

* Update zipfile to 3.13.5

Notes:

- I have to skip some brand new tests due to shift_jis encoding not
being supported

- `test_write_filtered_python_package` marked as `expectedFailure` with
"AttributeError: module 'os' has no attribute 'supports_effective_ids'"
  - I didn't want to do a partial or full update to os module in this PR

---------

Co-authored-by: Jack O'Connor <jack@jackoconnor.dev>
2025-12-30 13:42:47 +09:00
Jeong, YunWonandgithub-actions[bot] 489289f54a Fix subprocess and Update subprocess from Python 3.13.11 (#6583)
* fix test_subprocess

* fix posixsubprocess

* fix io warning

* Update subprocess from Python 3.13.11

* fix

* Auto-format: cargo fmt --all

* fix macos

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-30 12:28:47 +09:00
Terry Tianlin Luan f274164dcd Add __future__.py tests (#6585)
* Added tests for __future__.py from v3.13.10

* * Deleted futures not in v3.13.10
* "Fixed" issues in test_future.py
2025-12-30 12:28:03 +09:00
Jeong, YunWon f91ffe34d4 Fix pyexpat parse (#6582) 2025-12-30 00:36:52 +09:00
Jeong, YunWon 4ce6827916 various fix to support subprocess/multiprocessing (#6567)
* hashlib.UnsupportedDigestmodError

* mmap readonly

* thread _refcount

* fix os.statvfs

* apply review
2025-12-30 00:24:07 +09:00
Jeong, YunWon 39aa6f9524 use accept_raw (#6578) 2025-12-29 23:17:16 +09:00
Jeong, YunWon feb5066be2 stdlib_module_names (#6568) 2025-12-29 21:43:40 +09:00
Jeong YunWon ed62c8ef58 mark failures 2025-12-29 11:27:08 +09:00
Jeong, YunWon 183cebe8a1 Upgrade socket from 3.13.11 2025-12-29 11:27:08 +09:00
Jeong YunWon 2271f74642 del for socket 2025-12-29 11:25:34 +09:00
Jeong, YunWon 476b75de49 Upgrade test_io from 3.13.11 and fix more io tests (#6565)
* fix various test_io

* Upgrade test_io from 3.13.11

* Fix more test_io
2025-12-28 20:36:15 +09:00
Jeong, YunWon 3600b6652d update _pyio, test_fileio from 3.13.11 and impl more io features (#6560)
* Update _pyio, test_fileio from 3.13.11

* impl more io

* unmark sucessful tests

* fix windows fileio
2025-12-28 18:06:47 +09:00
Jeong, YunWon 44327a8ee4 Upgrade test/support from CPython 3.13.11 (#6556)
* Upgrade test/support from CPython 3.13.11

* fix test_support
2025-12-28 16:30:44 +09:00
Jeong, YunWon a37f4ec38e upgrade shutil (#6558)
* Update shutil from v3.13.11

* fix os.remove

* fix os.fchmod

* fix is_file
2025-12-28 15:49:10 +09:00
Jeong, YunWon f8199d7099 impl basicsize (#6557)
* shape_differs

* may_add_dict

* basicsize
2025-12-28 14:25:10 +09:00
Jeong, YunWon ee747134b5 signal timer (#6535)
* fix waitpid

* signal timer
2025-12-28 12:04:33 +09:00
Jeong, YunWon 527111bc98 PyWrapperDescrObject and rewrite toggle_slot (#6536)
* SlotFunc

* slotdef

* unify slots

* remove unsed slots
2025-12-28 11:44:36 +09:00
Jeong, YunWon 7edc3bba5d tp_itemsize (#6544) 2025-12-28 10:27:58 +09:00
Jeong, YunWon 012799f560 Fix enum and os.read related to signal (#6552)
* fix enum

* fix os.read to check signals
2025-12-28 10:13:03 +09:00
Jeong, YunWon 9b2ad34a08 check surrogates (#6547) 2025-12-28 00:06:29 +09:00
Jeong, YunWon 5b20c458af Implement more except* (#6545)
* clean build documentation

* SetExcInfo

* fix EG subclass

* test_except_star
2025-12-27 23:03:23 +09:00
Shahar Naveh 8d9002800e Update test_dis.py from 3.13.11 (#6528) 2025-12-27 22:53:37 +09:00
Jeong, YunWon 75ecd72428 test_builtin.test_import (#6546)
* fix warnings

* fix test_import
2025-12-27 21:38:12 +09:00
a7d7f81ca7 Handle unions with GenericAlias subclasses without TypeError (#6540)
---------

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>
Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2025-12-27 01:13:20 +09:00
Jeong, YunWon 7f4d308efc Implement maybe_pyc_file and .pyc file execution (#6539)
* Implement maybe_pyc_file and .pyc file execution

* unmark failing tests
2025-12-26 22:13:00 +09:00
Jeong, YunWon 4a6e8fb29e Add except* support (#6530) 2025-12-26 21:54:23 +09:00
Jeong, YunWon 57b4b4ae45 fix sys path (#6537) 2025-12-26 21:43:00 +09:00
Jeong, YunWon c9bf8df19c copyslot for init (#6515) 2025-12-26 09:46:33 +09:00
Jeong, YunWon ae39b132e4 impl more ntpath (#6531) 2025-12-26 09:43:01 +09:00
Jeong, YunWon 21f24cdcc7 impl more winapi (#6529) 2025-12-26 01:37:21 +09:00
Jeong, YunWon 2063c1e0bc Implement winapi.GetLongPathName (#6525) 2025-12-25 22:37:59 +09:00
Jeong, YunWon 151f0746a3 Implement copyslot (#6505) 2025-12-25 16:56:41 +09:00
Jeong, YunWon aae6bf566f Add tp_str (#6495)
* clean up hash

* __str__ slot wrapper
2025-12-25 11:00:53 +09:00
Copilotandyouknowone 6dbc8f0cfa Set SourceFileLoader for script execution in run_simple_file (#6496)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
2025-12-25 10:33:22 +09:00
Jeong, YunWon 7ebb0f0c5c impl path_converter and os functions (#6484)
* os.setpgrp

* tcgetpgrp

* impl more os functions

* impl PathConverter
2025-12-25 09:21:09 +09:00
72cf6c36d5 Add missing xmlparser attributes: namespace_prefixes, ordered_attributes, specified_attributes, intern (#6494)
* Add namespace_prefixes and other missing xmlparser attributes

- Added namespace_prefixes, ordered_attributes, specified_attributes (boolean attributes)
- Added intern dictionary attribute
- Added stub handlers for all missing handler types to ensure compatibility
- Created bool_property macro to ensure boolean attributes are converted correctly

* Remove expectedFailure decorators from passing tests

- Tests for buffer_text, namespace_prefixes, ordered_attributes, and specified_attributes now pass

---------

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>
2025-12-25 09:09:58 +09:00
Shahar Naveh 7c3bc5ed8d Update test_http_cookies.py from 3.13.11 (#6481)
* Update `test_http_cookies.py` from 3.13.11

* Mark failing test

* Update `http/cookies.py` from 3.13.11

* Unmark passing test

* Lower amount
2025-12-24 19:45:48 +09:00
Shahar Naveh 9d1477699c Update test_threading_local.py from 3.13.11 (#6482)
* Update `test_threading_local.py` from 3.13.11

* Mark failing test
2025-12-24 18:57:00 +09:00
Jeong, YunWon 3d7e521acd introduce slot_wrapper (#4884) 2025-12-24 17:29:47 +09:00
Jeong, YunWon 4f0b940b16 impl preexec_fn (#6479) 2025-12-24 17:02:21 +09:00
Jeong, YunWon 309b2ad32d Fix ast end_location (#6478) 2025-12-24 16:54:54 +09:00
Jeong YunWon 4a352344b6 mark failing test_ctypes 2025-12-24 00:13:30 +09:00
Jeong YunWon 7e6e0f66c8 test_ctypes from CPython 3.13.11 2025-12-24 00:13:30 +09:00
Jeong YunWon 9760249a75 fix multiarch 2025-12-23 16:41:28 +09:00
Jeong, YunWon df523cb58c skip spawnve on windows 2025-12-23 15:01:40 +09:00