Commit Graph
7637 Commits
Author SHA1 Message Date
Jeong YunWon 993ea8923c Rename members 2025-06-27 12:32:59 +09:00
Jeong, YunWon fe2c9bf361 Fix stable clippy (#5843) 2025-06-27 12:12:21 +09:00
Jeong, YunWon 0d492a6b02 Fix genericalias parameters (#5841)
* genericalias

* Fix attr_exceptions list

* impl TypeVarTuple iter

* Update _collections_abc.py to Python 3.13

* genericalias.__unpack__
2025-06-27 10:32:26 +09:00
Jeong, YunWon 3031d5ba45 more typing (#5840)
* rename typing

* No test code modification rules

* remove orphan TODOs

* mro_entires

* typing module name

* typing_subst

* typing.override

* Comparable for typing

* remove to_owned() from typing
2025-06-26 21:51:30 +09:00
Jeong, YunWon 6905d4375b typing ParamSpec (#5837)
* Add cspell

* TypeVar

* ParamSpec

* refactor

* TypeVarTuple repr

* Remove expectedFailure
2025-06-26 20:31:17 +09:00
Shahar Naveh 1ae07813ee Remove redundent to_owned() and to_string() calls (#5836)
* Remove redundent String conversion for errors

* cargo fmt
2025-06-25 23:42:26 +09:00
Jeong, YunWon f9d9307503 typing.TypeVar (#5834)
* copilot instruction

* typing.TypeVar

* typing.NoDefault
2025-06-25 08:37:40 +09:00
Shahar Naveh ab09de8542 Remove unnecessary string conversions in error message construction (#5826)
* Make `new_X_error` recv `impl Into<String>`

* Maks the rest of the methods to be generic

* Remove `.to_owned()` from more files
2025-06-25 01:43:41 +09:00
Jeong, YunWon 3734f32e42 Exception.set_traceback_typed (#5832) 2025-06-24 18:56:10 +09:00
Jeong, YunWon a8c9703cbc classmethod copy attrs (#5831) 2025-06-24 17:23:37 +09:00
Jeong, YunWon 9c2a4695c1 Fix excepthook (#5830) 2025-06-24 16:58:27 +09:00
Jeong, YunWon 638d2183dc Fix builtins.dir (#5829) 2025-06-24 13:31:50 +09:00
Jeong, YunWon 86d8d23ad8 implement more property features (#5828)
* property getter_doc

* Fix property.isabstractmethod

* Fix property error messages

* refactor getter/setter/deleter

* fix property
2025-06-24 13:31:31 +09:00
Jeong, YunWon 3566dcab28 Pyfunction builtins and constructor (#5823)
* func builtins

* PyFunction constructor
2025-06-24 10:23:14 +09:00
Jeong, YunWon 0624ca622b functools.partial (#5825)
* functools.partial

* apply review
2025-06-23 23:53:57 +09:00
Jeong, YunWon 52301ddbe5 Fix PyFunction doc behavior (#5827) 2025-06-23 22:37:51 +09:00
Jeong, YunWon 9952c97edf BaseException.__setstate__ (#5821)
* docs

* BaseException.__setstate__
2025-06-23 13:49:59 +09:00
Jeong, YunWon 33af632914 fix maketrans (#5824) 2025-06-23 11:43:18 +09:00
Jeong YunWon a288b77c4f BaseException.__setstate__ 2025-06-23 09:41:21 +09:00
Jeong, YunWon b0b39194dd Fix cell_contents (#5822) 2025-06-23 08:59:07 +09:00
Jeong, YunWon 5d68313f91 sys.setswitchinterval (#5817) 2025-06-22 22:36:13 +09:00
Shahar Naveh e27263aebd Convert new_X_error to use a macro (#5814) 2025-06-22 21:33:14 +09:00
Jeong YunWon 44d312419a Fix bytes constructor 2025-06-22 17:40:04 +09:00
Jeong, YunWon 3a54105e2c Fix struct tests (#5813) 2025-06-22 09:58:43 +09:00
Jeong, YunWon 7473a43fab Fix posix tests (#5811) 2025-06-22 09:58:29 +09:00
ShaharNaveh f31ebf83ac Use raw string where appropriate. add newlines 2025-06-22 09:33:10 +09:00
ShaharNaveh e6f5b6ad1a constify a bunch of methods 2025-06-22 09:33:10 +09:00
ShaharNaveh 55740b2277 Use any instead of loop 2025-06-22 09:33:10 +09:00
ShaharNaveh e03f762b20 Make new method const 2025-06-22 09:33:10 +09:00
Jeong YunWon d973e6da10 Apply copilot review 2025-06-22 00:01:22 +09:00
Jeong YunWon 3f1d39e5db Fix DictUpdate validation 2025-06-22 00:00:07 +09:00
Jeong YunWon 9467632e1b Fix dict unpacking order preservation 2025-06-21 23:51:37 +09:00
ShaharNaveh fc68da7f6c newlines between functions 2025-06-21 00:50:40 +03:00
ShaharNaveh eea33df6b1 Replace 255 with u8::MAX 2025-06-21 00:50:09 +03:00
ShaharNaveh 9574e14c0f Use .take instead of slicing a vec 2025-06-20 16:47:28 +03:00
ShaharNaveh f2a6c09007 CLN: Loop with idx check location_tup len fields 2025-06-20 16:26:11 +03:00
Jeong YunWon e4c8f2bb43 Fix ImportError 2025-06-20 16:12:30 +09:00
Jeong YunWon 17bc8455aa Fix UnicodeDecodeError 2025-06-20 16:12:30 +09:00
Jeong YunWon 44d66dcdac Fix SyntaxError 2025-06-20 16:12:30 +09:00
Jeong YunWon a186a5a9f5 Impl PyAttributeError args 2025-06-18 15:53:17 +09:00
Jeong YunWon 6723bf30a7 Fix deque module name for test_repr 2025-06-15 16:04:37 +09:00
Jeong YunWon 2c61a12bed Apply coderabbit reviews 2025-06-15 16:03:46 +09:00
Jeong YunWon f560b4cbfb Fix nightly clippy warnings 2025-06-15 16:03:46 +09:00
Aneesh DurgandJeong, YunWon 323ea3b96b Support incomplete parsing (#5764)
* continue accepting REPL input for multiline strings

* Match cpython behavior for all multi-line statements (execute when complete)

* Emit _IncompleteInputError when compiling with incomplete flag

* Refine when _IncompleteInputError is emitted

* Support multiline strings emitting _IncompleteInputError

* lint

* Undo accidental change to PyTabError

* match -> if let

* Fix test_baseexception and test_codeop

* fix spelling

* fix exception name

* Skip pickle test of _IncompleteInputError

* Use py3.15's codeop implementation

* Update Lib/test/test_baseexception.py

---------

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
2025-06-05 14:41:56 +09:00
Noa 163296d306 Fix test_memoryio 2025-05-16 15:20:10 -05:00
Rex Ledesma b696e56c5f chore: rely on the default inclusions for ruff 2025-05-15 19:15:51 +09:00
Jeong, YunWon 94b38a51c4 Fix build (#5765) 2025-05-01 15:38:50 +09:00
Hanif Ariffin 253cc4e846 Fix usize not using the same hash as PyInt when used as key into a di… (#5756)
* Fix usize not using the same hash as PyInt when used as key into a dictionary

* Fix test that unexpectedly succeed!

* Update extra_tests/snippets/builtin_object.py
2025-05-01 14:55:19 +09:00
Ashwin Naren d46bcd9291 typing upgrade to 3.13.2 (#5590) 2025-04-27 15:26:37 +09:00
Noa 494918d9fe Remove cfg_attr features for redox 2025-04-22 12:00:57 +09:00