Commit Graph
14433 Commits
Author SHA1 Message Date
Jiseok CHOI 240f87a911 Handle negative time.sleep values (#5906)
* fix(time): Handle negative sleep values
2025-07-07-main-37
2025-07-07 13:49:12 +09:00
yt2b 23a5c82a3a Add separator validation (#5904)
* Add separator validation

* Remove @unittest.expectedFailure
2025-07-06 23:08:07 +09:00
Shahar Naveh 9336507be6 Fix clippy::inconsistent_struct_constructor (#5905) 2025-07-06 09:24:05 +09:00
Shahar Naveh 3c7ec04285 Update tomllib from 3.13.5 (#5902) 2025-07-04 23:47:34 +09:00
Shahar Naveh f57f6d7443 Make gemini ignore Lib/** (#5903) 2025-07-04 23:47:05 +09:00
Shahar Naveh 94a55eb479 Update uuid from 3.13.5 (#5901)
* Update uuid from 3.13.5

* Mark failing test
2025-07-04 22:37:12 +09:00
yt2b 0a59c1cad3 Implement PyComplex's __format__ function (#5900)
* Add num-complex in rustpython-common

* Implement PyComplex's __format__ function

* Remove @unittest.expectedFailure

* Fix PyComplex's __format__ function

* Remove @unittest.expectedFailure

* Add extra tests

* Rename to ZeroPadding and AlignmentFlag
2025-07-04 22:35:28 +09:00
Shahar Naveh 694fe50241 Use const fn where possible (#5894) 2025-07-04 22:26:20 +09:00
coderabbitai[bot]andJeong, YunWon 5b20bb851e Remove conflicting AsRef<Self> implementation for PyObject in core.rs (#5899)
* 📝 CodeRabbit Chat: Remove conflicting AsRef<Self> implementation for PyObject in core.rs

* Update vm/src/object/core.rs

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
2025-07-04 11:40:30 +09:00
Shahar Naveh 4bd328906e Update resource from 3.13.5 (#5893) 2025-07-04 10:09:06 +09:00
Shahar Naveh 69545c0798 Use Self where possible (#5892) 2025-07-04 10:08:43 +09:00
Shahar Naveh 05013e3d0b macro for pyast code depulication (#5887) 2025-07-04 08:45:44 +09:00
Jeong, YunWon 8a2a6af91b __type_params__ in __build_class__ (#5883)
* remove future __classs_getitem__

* __type_params__ in __build_class__
2025-07-03 14:08:42 +09:00
Jeong, YunWon c529c247bb PyRef::into_ref() (#3744) 2025-07-03 14:07:30 +09:00
Jeong, YunWon 49422c5819 relocate Generic under typevar.rs (#5889) 2025-07-03 12:05:03 +09:00
Jeong, YunWon d40cbbb451 Fix cspell warning (#5890)
* Fix cspell warning

* cspell: -> spell-checker:
2025-07-03 12:04:43 +09:00
Jeong, YunWon fffa735868 __class_getitem__ (#5888) 2025-07-03 11:01:53 +09:00
Shahar Naveh b6acfe0f9d Add raise_if_stop! macro for protocol/iter.rs (#5885) 2025-07-03 08:37:54 +09:00
Shahar Naveh 43be4e48ad nitpicks (#5886)
* Use `Self` instead of struct name

* General fixes

* General

* General fixes

* More nitpicks

* Added newlines

* More nitpicks

* Use Self where possible

* Use Self where possible

* Use Self

* Use Self more

* Use Self
2025-07-02 21:27:47 +09:00
Shahar Naveh 18fdf85510 Fix itertools.pairwise (#5884)
* Fix pairwise hangs

* Don't skip failing tests;)

* Drop lock of read, not write
2025-07-02 21:10:24 +09:00
Jeong YunWon fa7af0e5ea type.__type_params__ 2025-07-01 19:05:29 +09:00
Jeong YunWon e25c2856ad cspell ignore target/** 2025-07-01 19:05:29 +09:00
Jeong, YunWon 3d951a883a Compile starred annotations (#5881)
* Fix starred annotation

* uncomment starred annotation
2025-07-01 17:20:42 +09:00
Jeong, YunWon 4ebd485694 typing _Py_subs_paramters (#5880) 2025-07-01 16:09:59 +09:00
Shahar Naveh 9f3c34a705 Update ipaddress (#5878) 2025-07-01 10:59:41 +09:00
Jeong, YunWon 119e209ffd fix coderabbit (#5877) 2025-07-01 04:40:58 +09:00
Jeong, YunWon 334a5a7c3c Iterable for PyGenericAlias (#5876)
* Iterable for PyGenericAlias

* GenericAlias works

* typevar.rs
2025-07-01 04:35:28 +09:00
Jeong, YunWon e7c18f19ab Merge pull request #5850 from youknowone/typing
Upgrade typing to 3.13.5
2025-07-01 02:31:58 +09:00
Jeong YunWon 3f5566da53 Fix _typing.override 2025-07-01 00:10:16 +09:00
Jeong YunWon c0b9694cda Patch typing.py to let _py_abc fallback 2025-07-01 00:10:15 +09:00
Jeong YunWon 5a2007fd46 renames 2025-07-01 00:10:15 +09:00
Jeong YunWon 39d091f01c Fix typing 2025-07-01 00:10:15 +09:00
Jeong YunWon d5946d496d Update typing.py from CPython 3.13.5 2025-07-01 00:10:15 +09:00
Jeong, YunWon c7641260dd Make coderabbit ignore CPython files (#5875) 2025-07-01 00:02:11 +09:00
Shahar Naveh 01117f4a30 Update argparse to 3.13.5 (#5874)
* Update argparse from 3.13.5

* Mark failing test
2025-06-30 23:56:34 +09:00
Jeong, YunWon d5d3507921 Add sys._getframemodulename (#5873) 2025-06-30 22:50:27 +09:00
Shahar Naveh 3bde2ddac3 Update base64 3.13.5 (#5872) 2025-06-30 19:09:05 +09:00
Lee Dogeon 5953a938bd chore: test testcases with @unittest.skip decorator (#5871)
Signed-off-by: Lee Dogeon <dev.moreal@gmail.com>
2025-06-30 19:07:58 +09:00
Jeong, YunWon b59a6666fe __repr__ in typing (#5870)
* ParamSpec.__repr__

* Fix more repr
2025-06-30-main-36
2025-06-30 10:36:10 +09:00
Jeong, YunWon 66a1138c66 Fix isinstance (#5869)
* lookup_special

* Fix abstract_issubclass

* Fix real_is_instance
2025-06-30 10:35:52 +09:00
Shahar Naveh b6ff541260 Create ContentItem with a macro (#5859)
* Create ContentItem with a macro

* Set struct docs via metadata
2025-06-30 00:22:52 +09:00
Jeong, YunWon 7c6d0632cc Update isintance (#5868)
* PyUnion::get_args

* issubclass

* isinstance
2025-06-29 15:15:09 +09:00
Jeong, YunWon 4cca8b0d32 Callable __or__ patch (#5753)
* callable __or__ patch

* add test
2025-06-29 14:43:58 +09:00
Ashwin Naren 159769876f add test 2025-06-29 14:42:09 +09:00
Jeong, YunWon 47a7a00fbf Rework issubclass (#5867)
* check_exact

* check_class

* Type compatibility tools

* abstract_issubclass

* recursive_issubclass
2025-06-29 14:28:29 +09:00
Ashwin Naren 0a1c8c3c7e callable __or__ patch 2025-06-29 14:04:00 +09:00
Jeong, YunWon 7a6e5c465f Upgrade abc.py _py_abc.py to 3.13.5 (#5865) 2025-06-29 12:49:14 +09:00
Jeong, YunWon 28dff8af6c Fix TypeParams, TypeAlias compile (#5862) 2025-06-29 11:24:15 +09:00
Jeong, YunWon 0ef22ab6f2 Fix type.__subclasscheck__ (#5864) 2025-06-29 11:21:07 +09:00
Jeong, YunWon 4ebecc0f5e Remove PyTuple::fast_getitem (#5863) 2025-06-29 05:31:21 +09:00