Commit Graph
1534 Commits
Author SHA1 Message Date
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 40acd55290 venvlauncher (#6527) 2025-12-26 01:29:58 +09:00
Jeong, YunWon 2063c1e0bc Implement winapi.GetLongPathName (#6525) 2025-12-25 22:37:59 +09:00
Shahar Naveh bcdf37bef1 Align opcode names in dis (#6526)
* opcodes dis repr like cpython. POP-> POP_TOP

* Adjust frame.rs

* Fix codegen

* snapshots

* Add doc for `PopTop`

* fix jit
2025-12-25 22:17:31 +09:00
61ddd98b89 Handle missing type_params on AST Function/Class/TypeAlias nodes (#6512)
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 19:08:23 +09:00
a5a1173c3f Disallow rebinding __module__ on immutable builtins and add regression snippet (#6513)
* Initial plan

* Fix __module__ setter on immutable builtin types

Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>

* Remove unused value parameter from immutability helper

Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>

* Auto-format: cargo fmt --all

---------

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 18:27:19 +09:00
Jeong, YunWon 151f0746a3 Implement copyslot (#6505) 2025-12-25 16:56:41 +09:00
Jeong, YunWon aaecdd1747 repr for getset (#6514) 2025-12-25 16:55:19 +09:00
Jeong, YunWon 7eb0fe4984 Fix potential deadlock (#6509) 2025-12-25 15:49:44 +09:00
8443b2c97e Add POSIX shared memory module for multiprocessing on Unix (#6498)
---------

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 14:54:44 +09:00
Jeong, YunWon 92acf339a1 fix pyexpat hang (#6507) 2025-12-25 13:31:29 +09:00
Jeong, YunWon 49dbbbd5b9 Fix SSL test_preauth_data_to_tls_server (#6508) 2025-12-25 13:28:50 +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 5122aed738 Fix install ujson (#6502) 2025-12-25 10:32:51 +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
Copilotandyouknowone be9e44aafb Allow SyntaxError.msg to be writable and reflected in string formatting (#6493)
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 09:08:18 +09:00
Jeong, YunWon cbde5ce321 iter with slot-wrapper (#6488) 2025-12-24 23:35:35 +09:00
Jeong YunWon c2a7393191 uniform __str__ 2025-12-24 22:23:43 +09:00
Jeong YunWon a4e60f569e repr 2025-12-24 22:23:43 +09:00
Jeong, YunWon c4e77287d1 __hash__ to slot_wrapper (#6480) 2025-12-24 18:56:47 +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 014622ac34 Fix os.access not to raise exception when path doesn't exist (#6477)
* Fix os.access not to raise exception when path doesn't exist

* add test
2025-12-24 14:23:33 +09:00
Jeong, YunWon c763d67ef4 Fix dict.keys behavior (#6476) 2025-12-24 13:50:26 +09:00
Jeong, YunWon 215c5c6d7b signal.pthread_sigmask (#6475) 2025-12-24 13:15:33 +09:00
Jiseok CHOI 00205aad14 Bump libsqlite3-sys from 0.28 to 0.36 (#6472)
* Bump libsqlite3-sys from 0.28 to 0.36

Update libsqlite3-sys to version 0.36 and adapt to API changes by
replacing sqlite3_close_v2 with sqlite3_close. The v2 variant is no
longer directly exported in the newer version.

Fixes #6471

* Fix clippy
2025-12-24 13:10:57 +09:00
Jeong YunWon 7c7e55ffc4 Upgrade libffi 2025-12-24 08:44:13 +09:00
Jeong YunWon 79abbf0b29 fix ctypes 2025-12-24 00:13:30 +09:00
Jeong YunWon 286a5b5b8f msc_info in get_version 2025-12-23 23:28:58 +09:00
Jeong YunWon fc0a34a5a5 Remove unused ctypes/field.rs 2025-12-23 21:58:51 +09:00
Jeong YunWon 9760249a75 fix multiarch 2025-12-23 16:41:28 +09:00
Jeong YunWon a84452ab45 fix sysconfigdata 2025-12-23 13:12:56 +09:00
Jeong YunWon 73e1c3816e fix ssl 2025-12-23 11:56:26 +09:00
dependabot[bot] 2342006b37 Bump aws-lc-rs from 1.15.1 to 1.15.2 (#6469)
Bumps [aws-lc-rs](https://github.com/aws/aws-lc-rs) from 1.15.1 to 1.15.2.
- [Release notes](https://github.com/aws/aws-lc-rs/releases)
- [Commits](https://github.com/aws/aws-lc-rs/compare/v1.15.1...v1.15.2)

---
updated-dependencies:
- dependency-name: aws-lc-rs
  dependency-version: 1.15.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-23 08:57:03 +09:00
Jeong, YunWon fdd2ac3b30 disallow __new__, __init__ (#6446)
* disallow __new__, __init__

* migrate to Initializer

* apply review
2025-12-22 21:10:43 +09:00
Shahar Naveh 569bee103f Use ruff_python_ast::visitor::Visitor for detecting await (#6466) 2025-12-22 12:43:58 +09:00
Jeong, YunWon 8b3bf558fc Introduce PyConfig to implement Paths correctly (#6461)
* getpath

* introduce PyConfig

* landmark in getpath
2025-12-21 08:25:17 +09:00
Jeong, YunWon 898fe85f40 More openssl impl (#6464)
* Add openssl build to CI

* more openssl impls
2025-12-21 00:38:50 +09:00
Jeong, YunWon 6660170bf8 Share more ssl consts and fix openssl (#6462)
* Reuse SSL error names

* Share ssl error codes

* fix ssl

* fix openssl
2025-12-20 22:06:22 +09:00
Jeong, YunWon 7bfa5d9ced Buffer LongDouble + ndim (#6460)
* fix fix_test

* ndim buffer
2025-12-20 18:31:00 +09:00
Jeong, YunWon 46c61a65a6 Upgrade venv to v3.13.11 (#6459)
* Upgrade venv

* get_venv_base_executable

* mark failing tests
2025-12-20 12:17:11 +09:00
Jeong, YunWon 70b93898d4 ctypes overhaul (#6450) 2025-12-19 14:10:55 +09:00
Jeong, YunWon 9e439667da Fix openssl build and shared ssl/error.rs (#6456)
* Fix openssl

* shared error
2025-12-18 10:44:56 +09:00
Jeong, YunWon a4c93dfbbf Remove useless &PyRef patterns (#6455)
* fix &PyTypeRef

* Remove useless &PyObjectRef

* Remove useless &PyRef
2025-12-17 20:58:00 +09:00
Jeong, YunWon 0412dfdb3b Fix winerror handling (#6454) 2025-12-17 20:57:34 +09:00