35 Commits

Author SHA1 Message Date
Jeong YunWon
8816cd41d5 0.3.1 2024-04-10 17:39:57 +09:00
Jeong YunWon
a0b6c36928 Update indexmap 2024-04-09 11:17:25 +09:00
Noa
87cf891e50 Make PyMethodDef construction const (#5117)
* Make PyMethodDef construction const

* Remove iter_chain![]

Obsolete since arrays now impl IntoIterator
2023-11-15 12:52:47 +09:00
Jeong YunWon
1208416b92 0.3.0 release 2023-09-06 18:49:55 +09:00
Jeong, YunWon
d4d362a9ca Update to Rust 1.72.0 2023-08-27 00:38:10 +09:00
Jeong, YunWon
c28cb3941f prettier *.js + fix miri build (#5028)
* prettier *.js

* bump up proc-macro2
2023-07-19 23:43:26 +09:00
Micha Reiser
7a6000d181 Use format and cformat from rustpython-literal (#4968)
* Use `format` and `cformat` from `rustpython-literal`

* Remove unused dependencies, use `rustpython-format`
2023-05-13 02:58:02 +09:00
Jeong YunWon
dc569e9921 Refactoring 2023-05-10 19:35:27 +09:00
Jeong YunWon
f2cfa5f0a7 Split parser to new repository
6b60f85cc4
2023-05-06 14:38:11 +09:00
Jeong YunWon
98eef0804e Method overhaul with PyMethodDef 2023-04-30 17:33:23 +09:00
Kim Seungha
4a099ab6bc Make builtin method type same as that of builtin function 2023-04-30 13:35:43 +09:00
Jeong YunWon
317f432a20 PyModuleDef and #[pymodule(with(...))] 2023-04-25 04:08:11 +09:00
Jeong, YunWon
ce13fc5f03 Merge pull request #4898 from youknowone/pymodule-expose
module objects' type as PyModule
2023-04-25 04:00:52 +09:00
Jeong YunWon
f256934f93 Merge define_exception into pyexception 2023-04-24 02:06:13 +09:00
discord9
94bdb6b97a feature: PyTraverse derive macro for traverse object's childrens(like CPython's tp_traverse) (#4872) 2023-04-23 21:43:49 +09:00
Jeong YunWon
19224505e8 module objects' type as PyModule 2023-04-20 20:48:57 +09:00
Jeong YunWon
18044abbb6 use interned str for builtin function names 2023-04-06 01:23:36 +09:00
Kangzhi Shi
c5ce44eaaa remove slots.as_number replaced with slots.number 2023-03-21 22:48:56 +02:00
Kangzhi Shi
fb7393e4bb impl create PyNumberSlots from PyNumberMethods 2023-03-21 22:17:14 +02:00
Kangzhi Shi
0a8c642e93 change as_number to static immutable 2023-03-21 21:51:45 +02:00
Jeong YunWon
7b99df6c48 PyPayload::class takes ctx instead of vm 2023-03-20 21:03:40 +09:00
Jeong YunWon
dfb37d9a44 setattro uses Py<PyStr> 2023-03-20 19:00:02 +09:00
Jeong YunWon
cdfc67661e Constructor/Initializer for BaseException 2023-03-19 10:26:25 +09:00
Jeong YunWon
0f24d66234 pyclass macro to recognize Py/PyRef pattern 2023-03-19 04:57:06 +09:00
Jeong YunWon
310a83427c cspell derive 2023-03-16 22:42:03 +09:00
Jeong YunWon
87728c4452 Merge pull request #4608 from coolreader18/bag-deser
Rework frozen modules and directly deserialize to CodeObject<Literal>
2023-03-10 05:19:23 +09:00
Jeong YunWon
05317f1664 temporary fill up missing number protocols 2023-03-09 23:43:15 +09:00
seungha-kim
223fe14d85 Update to pass test for unhashable collections (#4640) 2023-03-07 23:45:33 +09:00
Noa
456bc80697 Rework frozen modules and directly deserialize to CodeObject<Literal> 2023-03-06 13:45:33 -06:00
Jeong YunWon
2a61e1cace Add extend_slot support for protocol traits 2023-03-06 21:02:44 +09:00
Jeong YunWon
42a22c280d use workspace dependencies 2023-02-06 15:30:38 +09:00
Noa
c7faae9b22 Bump all crate versions to 0.2.0 2023-01-11 00:14:28 -06:00
Jeong YunWon
1848c45302 first cspell dict 2023-01-09 19:57:23 +09:00
Jeong YunWon
8d36fe68e7 Fix nightly clippy warnings 2023-01-07 21:07:10 +09:00
Noa
185dd4a795 Split derive-impl and derive 2022-12-19 18:48:17 -06:00