Commit Graph
3830 Commits
Author SHA1 Message Date
Jeong, YunWon 752c0f68fd fix windows locale 2025-12-12 20:26:47 +09:00
Jeong, YunWon b9fa405fd4 Fix test_subprocess 2025-12-12 20:26:47 +09:00
Jeong, YunWon df3a0b2f25 impl {raise_,str}signal (#6411)
* year>=1900 on windows

* signal

* set_wakeup_fd
2025-12-12 17:02:32 +09:00
Jeong, YunWon 4bec0ad1c6 Fix test_runpy (#6409) 2025-12-12 15:26:00 +09:00
Jeong, YunWon 772b92edde Fix windows socket (#6408)
* fix _path_splitroot

* Fix windows socket
2025-12-12 10:37:40 +09:00
Jeong, YunWon 2ff1fba6ed Faulthandler (#6406) 2025-12-12 09:23:59 +09:00
Jeong, YunWon 3438fb2850 nt junction (#6407)
* pylib strip path

* nt._path_* functions,

* nt junction
2025-12-12 09:03:19 +09:00
Jeong, YunWon f379ea8327 winapi._findfirstfile,nt.chmod (#6401) 2025-12-12 00:18:02 +09:00
Jeong, YunWon 04d55fa5c6 Faulthandler (#6400) 2025-12-12 00:08:55 +09:00
Jeong, YunWon 00543942aa nt.skiproot, winapi.LCMapStringEx (#6399) 2025-12-11 21:42:28 +09:00
Jeong, YunWon 4828fb3ba6 test_os, test_io on windows (#6379)
* Allow hidden env vars on nt

* Enable test_os on windows

* enable test_io on windows
2025-12-11 13:11:29 +09:00
Jeong, YunWon 1b17587585 __slots__ xor __dict__ , name mangling (#6392)
* __slots__ xor __dict__

* mangle_name for `__` prefixed members
2025-12-10 23:30:10 +09:00
Jeong, YunWon 98fff96f1c __doc__ handing in the right way (#6390) 2025-12-10 20:04:09 +09:00
Jeong, YunWon 30fb9d73cc Fix test_io on windows (#6387)
* mark skip on test_io

* Drop for FileIO

* IO Desctructors

* Iterator
2025-12-10 09:21:32 +09:00
Jeong, YunWon 14232ad0d2 new_last_{os,errno}_error (#6381)
* new_last_{os,errno}_error

* Remove os::errno_err

* enable ssl multithread test
2025-12-10 09:12:38 +09:00
Jeong, YunWon ac48643447 Add TextIOWrapper.truncate, fix a few bugs (#6382) 2025-12-10 00:58:21 +09:00
Jeong, YunWon 26b3445d14 windows pipe/getppid (#6378)
* pipe/pid

* libc first
2025-12-09 23:49:32 +09:00
Jeong, YunWon 79cd048e1f native ExceptionGroup (#6358) 2025-12-09 23:02:44 +09:00
Jeong, YunWon a99164fd7b nt is_dir,is_file,listmount,listvolume (#6373)
* is_dir/is_file for windows

* listmount/listvolume

* check_env_var_len
2025-12-09 20:08:16 +09:00
Jeong, YunWon 7a5d81a469 Fix os.utime for windows/macos (#6354) 2025-12-09 06:07:48 +09:00
Jeong, YunWon bb4e30a6df fspath try from (#6359) 2025-12-09 05:44:21 +09:00
Jeong, YunWon bafaa1a826 scandir/lstat (#6357) 2025-12-09 04:32:06 +09:00
Jeong, YunWon a484ba4790 st_file_attributes (#6353) 2025-12-09 02:49:36 +09:00
Jeong, YunWon abc5c223a6 os.waitstatus_to_exitcode for windows (#6355) 2025-12-09 02:46:05 +09:00
Jeong, YunWon 42d0a583e8 fix remove 2025-12-09 02:43:58 +09:00
Jeong, YunWon bf565e917a Windows execv, spawnv, wait (#6350)
* more const

* wait

* exec

* mkdir
2025-12-09 00:37:52 +09:00
Jeong, YunWon 4592787946 get_inheritable, dup for windows (#6343) 2025-12-08 23:55:03 +09:00
Jeong, YunWon 42d497a142 Enable PIP test on windows (#6211)
* Patch ensurepip whl to work on windows

* Enable PIP test on windows
2025-12-08 16:36:33 +09:00
Jeong, YunWon 876368e476 windows umask, win32_xstat_slow_impl, fake EXT_SUFFIX (#6340)
* umask

* EXT_SUFFIX

* File Attributes and win32_xstat_slow_impl

* unmark tests
2025-12-08 10:39:15 +09:00
Jeong, YunWon cab41c807b windows codecs (#6337)
* mbcs_codec

* oem codec
2025-12-08 01:51:51 +09:00
Jeong, YunWon f4b8b019ca winapi suppliment (#6338)
* winapi.ExitProcess

* Fix winapi Handle

* msvcrt.GetErrorMode

* windows stats

* unmark tests
2025-12-08 01:35:31 +09:00
Jiseok CHOI a14dd5921d fix(sqlite): Raise ProgrammingError when operating on a closed cursor (#6339) 2025-12-08 00:14:31 +09:00
Jeong, YunWon cb7450df31 ssl module for windows (#6332)
* SSL for windows

* mark expected failure on test_ssl_in_multiple_threads
2025-12-08 00:08:53 +09:00
Jeong, YunWon aea956d601 WindowsError (#6333) 2025-12-06 17:21:52 +09:00
Jeong, YunWon b3141d1231 mmap for windows (#6329) 2025-12-06 09:26:33 +09:00
Jeong, YunWon c826f9d809 PyStructSequence Compatibility (#6327)
* Fix local time

* PyStructSequence
2025-12-05 22:44:00 +09:00
Jeong, YunWon d8dde123b1 Complete winreg 2025-12-05 19:57:26 +09:00
Ashwin Naren 517987c7b3 rewrite of winreg module and add test_winreg 2025-12-05 15:10:45 +09:00
fanninpm 59f422de66 Add _io.TextIOWrapper.detach method (#6267)
* Stub out _io.TextIOWrapper.detach method

* Implement _io.TextIOWrapper.detach method

* Make _io.TextIOWrapper.detach not re-enter lock
2025-12-03 16:11:39 +09:00
Shahar Naveh 9f203ee7d2 Update test_print from 3.13.9 (#6323) 2025-12-03 07:05:58 +09:00
Shahar Naveh b84f7c19ad Fix super and Update test_{descr,super}.py from 3.13.9 (#6314)
* Update `test_descr.py` from 3.13.9

* Update `test_super.py` from 3.13.9
2025-11-30 10:16:50 +09:00
Jeong, YunWon 6782fa2219 ctypes buffer (#6311)
* Fix array

* from buffer

* AsBuffer

* Fix instruction

* constructable pointer

* thunk

* in_dll

* fix sizeof/alignment
2025-11-29 21:17:04 +09:00
Jeong, YunWon 95b8c60756 Fix __build_class__ compatibility (#6308)
* Update __build_class__

* fix test
2025-11-29 11:54:04 +09:00
Jeong, YunWon 23ec5a55ad Fix import ctypes and Lib/ctypes/__init__.py from cpython3.13.9 (#6304)
* Fix ctypes import blockers

* Update Lib/ctypes/__init__.py from cpython3.13.9
2025-11-29 01:32:52 +09:00
Jiseok CHOI a9469a20d5 Fix sqlite connection reinitialization (#6288)
* Fix sqlite connection reinitialization

* Align sqlite connection reinit with CPython

* Enable sqlite test_connection_bad_reinit

* Fix sqlite reinit flag without threading

* Use stronger memory ordering for initialized flag synchronization
2025-11-22 22:13:06 +09:00
Jiseok CHOI 567fb4dec0 fix(sqlite): raise ProgrammingError when operating on a blob with a closed connection, (#6286)
Fixed #6285
2025-11-22 20:42:24 +09:00
Jeong, YunWon 1a783fc9ec Replace SSL backend to rustls (#6244) 2025-11-16 22:17:35 +09:00
Jiseok CHOI 9ce85862ce Add BaseException.add_note() and __notes__ attribute support (#6252) 2025-11-14 10:31:47 +09:00
Jeong, YunWon c9ba9560b5 new_buffer_error (#6243) 2025-11-10 20:58:08 +09:00
Jiseok CHOI e096ce7bc7 Implement property.__name__ attribute (#6230)
* Implement property.__name__ attribute

Add getter and setter for the __name__ attribute on property objects.
The getter returns the explicitly set name if available, otherwise
falls back to the getter function's __name__. Raises AttributeError
if no name is available, matching CPython 3.13 behavior.

The implementation handles edge cases:
- Returns None when explicitly set to None
- Propagates non-AttributeError exceptions from getter's __getattr__
- Raises property-specific AttributeError when getter lacks __name__

This fix enables test_property_name in test_property.py to pass.

* Refactor to use get_property_name in __name__ implementation

Consolidate duplicate logic by making name_getter() use the existing
get_property_name() helper method. This eliminates code duplication
and improves maintainability.

Changes:
- Update get_property_name() to return PyResult<Option<PyObjectRef>>
  to properly handle and propagate non-AttributeError exceptions
- Simplify name_getter() to delegate to get_property_name()
- Update format_property_error() to handle the new return type

This addresses review feedback about the relationship between
get_property_name() and __name__ implementation.

* style comment
2025-11-01 18:30:03 +09:00