Commit Graph
1534 Commits
Author SHA1 Message Date
Jeong, YunWon 9aa1f18998 Unraiseable traceback (#6449) 2025-12-17 00:16:51 +09:00
Jeong, YunWonandsnowapril 246fab63f7 flag: DISALLOW_INSTANTIATION (#6445)
* Set tp_new slot when build heap/static type

* Improve type tp_call impl to check tp_new existence and error if not exist

* Set DISALLOW_INSTANTIATION flag on several types according to cpython impl

* Allow #[pyslot] for function pointer

* Fix DISALLOW_INSTANTIATION

---------

Signed-off-by: snowapril <sinjihng@gmail.com>
Co-authored-by: snowapril <sinjihng@gmail.com>
2025-12-17 00:12:03 +09:00
Jeong, YunWon aef4de4ab8 fix buffer (#6447) 2025-12-16 23:27:21 +09:00
Jeong, YunWon 65bdfc3d4e Integrate OSError creations into OSErrorBuilder (#6443) 2025-12-16 23:11:35 +09:00
Jeong, YunWon 272b36daa5 small fixes (#6444)
* fix memoryview

* retype slot zelf
2025-12-16 11:16:38 +09:00
Jeong, YunWon 30cc772454 sys.set_asyncgen_hook (#6439)
* PyAnextAwaitable::state

* sys.set_asyncgen_hook
2025-12-16 10:11:17 +09:00
Jeong, YunWon 550497eb79 Use parking_lot in faulthandler (#6438) 2025-12-15 17:56:48 +09:00
Jeong, YunWon d36a2cffde New subclass payload layout (#6319)
* PySubclass

* Add base payload to exception

* PyStructSequecne base

* redefine PyOSError and subtypes

* heap exception new

* rework UNSUPPORTED_OPERATION
2025-12-14 19:17:14 +09:00
Jeong, YunWon 21300f689d Allow with() in pyexception (#6436) 2025-12-14 12:16:49 +09:00
Jeong, YunWon b3c2aa6b51 PyAnextAwaitable (#6427) 2025-12-14 12:15:29 +09:00
Jeong, YunWon 30dd5bedc6 use posix error messages under 127 (#6420)
* use posix error messages under 127

* use posix error message for unix

* unmark successful tests
2025-12-13 09:24:17 +09:00
Shahar Naveh 9ccf4c1872 Ruff auto-format (#6422) 2025-12-12 22:46:39 +09:00
Jeong, YunWon c11a72a4f1 impl more ast (#6419) 2025-12-12 21:50:54 +09:00
Jeong, YunWon 35f88608d2 Fix test_subprocess and locale (#6416)
* Fix test_subprocess

* fix windows locale
2025-12-12 21:03:26 +09:00
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
Shahar Navehandcoderabbitai[bot] 75dcf8042e Tidy codegen::ir::BlockIdx api (#6413)
* Tidy `codegen::ir::BlockIdx` api

* Update crates/codegen/src/ir.rs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-12 20:05:31 +09:00
Jeong, YunWon 5a5b721576 Fix misused PyTypeError (#6412) 2025-12-12 17:23:27 +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 d34b2cf8f0 TypeData (#6403)
* HeapTypeExt::type_data

* Apply TypeDataSlot to ctypes
2025-12-12 07:57:31 +09:00
Jeong, YunWon bfd873a8b8 a few unreachable->unimplemented, clippy (#6405)
* unreachable -> unimplemented

* Fix clippy on 1.92
2025-12-12 01:13:28 +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 a477835970 py_new separation for set/tuple/bytes/str 2025-12-11 23:17:10 +09:00
Jeong, YunWon 5f496c955c PyType::py_new to return Self (#6398)
* PyType::py_new to return Self

* int/float/complex
2025-12-11 22:19:11 +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 2055145a7e validate_downcast (#6393) 2025-12-10 23:31:38 +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, YunWonandgithub-actions[bot] 90717e5ef7 doc db to include types.* (#6391)
* Add types.* for doc/generate.py

* udpate-doc-db workflow

* Update doc DB for CPython 3.13.9

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-10 19:23:27 +09:00
Jeong, YunWon a64cfac2ca Fix multiprocessing closesocket, set_errno (#6388)
* Fix multiprocessing closesocket

* set_errno
2025-12-10 10:02:53 +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
dependabot[bot] f723974924 Bump system-configuration from 0.6.1 to 0.7.0 (#6385)
Bumps [system-configuration](https://github.com/mullvad/system-configuration-rs) from 0.6.1 to 0.7.0.
- [Changelog](https://github.com/mullvad/system-configuration-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mullvad/system-configuration-rs/compare/v0.6.1...v0.7.0)

---
updated-dependencies:
- dependency-name: system-configuration
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 09:01:29 +09:00
dependabot[bot] 9f8090c830 Bump libloading from 0.8.9 to 0.9.0 (#6384)
Bumps [libloading](https://github.com/nagisa/rust_libloading) from 0.8.9 to 0.9.0.
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.9...0.9.0)

---
updated-dependencies:
- dependency-name: libloading
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 09:01:17 +09:00
dependabot[bot] 42b969b088 Bump oid-registry from 0.7.1 to 0.8.1 (#6383)
Bumps [oid-registry](https://github.com/rusticata/oid-registry) from 0.7.1 to 0.8.1.
- [Commits](https://github.com/rusticata/oid-registry/compare/oid-registry-0.7.1...oid-registry-0.8.1)

---
updated-dependencies:
- dependency-name: oid-registry
  dependency-version: 0.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 09:01:05 +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 8bc46cf83d Fix windows inode to use u128 (#6377) 2025-12-09 23:40:54 +09:00
Jeong, YunWon c578861598 nt.terminalsize (#6374)
* terminalsize

* use _get_osfhandle
2025-12-09 23:17:53 +09:00
Jeong, YunWon 79cd048e1f native ExceptionGroup (#6358) 2025-12-09 23:02:44 +09:00
Jeong, YunWon 5365805312 minimize ssl lock (#6376) 2025-12-09 23:01:12 +09:00
Jeong, YunWon db95946b8d Fix SSL deferred error (#6371)
* Fix SSL to return deferred error on the right time

* lease conn_guard

* SslError::Io

* is_connection_closed
2025-12-09 21:59:31 +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
dependabot[bot] 904cc0a575 Bump pem-rfc7468 from 0.7.0 to 1.0.0 (#6369)
Bumps [pem-rfc7468](https://github.com/RustCrypto/formats) from 0.7.0 to 1.0.0.
- [Commits](https://github.com/RustCrypto/formats/compare/pem-rfc7468/v0.7.0...pem-rfc7468/v1.0.0)

---
updated-dependencies:
- dependency-name: pem-rfc7468
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-09 10:46:14 +09:00