Commit Graph
95 Commits
Author SHA1 Message Date
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 d4d362a9ca Update to Rust 1.72.0 2023-08-27 00:38:10 +09:00
Steve Shi de0d323ad3 change dependency from num-bigint to malachite-bigint (#4952) 2023-06-08 14:28:39 +09:00
Jeong YunWon dc569e9921 Refactoring 2023-05-10 19:35:27 +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 c16f813794 Merge pull request #4899 from youknowone/debug-friendly-tweaks
debug-friendly tweaks
2023-04-25 04:00:24 +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 e18dda3e08 Buffer arguments as PyObject 2023-04-23 10:57:24 +09:00
Jeong YunWon 6996141448 debug-friendly tweaks 2023-04-20 21:21:50 +09:00
Jeong YunWon 877ba28d85 relocate FsPath -> vm::function::FsPath 2023-03-28 17:01:18 +09:00
Jeong YunWon 1fda3ba969 impl PyNativeFuncInternal for &Py<Self> form 2023-03-19 04:57:06 +09:00
Jeong YunWon f314328294 lifetime bounded TryFromBorrwoedObject 2023-03-19 04:57:06 +09:00
Jeong YunWon 0e2e7e533a ArgPrimitiveIndex for zlib 2023-03-10 16:44:47 +09:00
Jeong YunWon e95529aca0 introduce ArgSize 2023-03-10 06:21:39 +09:00
Jeong YunWon ed7bcf787c expose ArgIndex 2023-03-10 06:21:39 +09:00
John Pham 27233364bc Add init for array.rs (#4667) 2023-03-09 19:45:58 +09:00
Ikko Eltociear Ashimine 692c8036b7 Fix typo in number.rs
seperate -> separate
2023-03-09 16:02:21 +09:00
Jeong YunWon 5a74f08c84 Merge pull request #4654 from youknowone/pycallble
Add protocol object PyCallable
2023-03-08 05:01:31 +09:00
Jeong YunWon ed60687f11 Replace all of callable operations to PyCallable 2023-03-07 19:44:46 +09:00
Jeong YunWon 66d9514e12 remove vm.is_callable 2023-03-07 19:28:21 +09:00
minh.pham2000 3f871f0805 Add ArgIndex according to #4629 2023-03-07 12:36:55 +07:00
minh.pham2000 db7b945262 Add ArgIndex according to #4629 2023-03-07 10:35:49 +07:00
Jeong YunWon d935fbc445 Fix nightly clippy warnings 2022-12-05 12:18:16 +09:00
Steve Shi 2c5cacf9f2 Refactor Mapping Protocol (#4222) 2022-10-17 09:51:22 +09:00
Gyubong c096347077 Fix compile error when using vm-tracing-logging is on 2022-10-04 11:25:08 +09:00
Jeong YunWon 27040c01b0 Fix nightly clippy 2022-08-16 09:02:42 +09:00
Jeong YunWon a363b05340 PySetterValue for descr_set and setattro 2022-08-08 04:31:14 +09:00
Jeong YunWon 711acaaf05 Support getset deleter 2022-08-08 04:31:14 +09:00
Jeong YunWon 370c4f7f60 PyObject::try_float 2022-07-24 15:05:30 +09:00
Jeong YunWon a05712fd9b no once cell 2022-07-24 15:05:12 +09:00
Kangzhi Shi c24457521d proto heaptypeext 2022-07-24 07:36:38 +09:00
Jeong Yunwon 8c0be4b48f Fix nightly clippy warnings 2022-06-24 01:13:32 +09:00
Jeong Yunwon 770f166edf Fix slot call deadlock 2022-06-16 20:53:59 +09:00
Jeong Yunwon 09fc676164 Use static ref 2022-05-30 07:38:33 +09:00
Kangzhi Shi 3e6e348a67 impl number protocol float 2022-05-30 07:36:08 +09:00
Jeong Yunwon 6d0abe6915 mapping proxy holds PyMapping 2022-05-29 07:45:52 +09:00
Jeong Yunwon 83a146d8c8 AsMapping only with static reference 2022-05-29 02:33:30 +09:00
Jeong Yunwon 97c2d187f6 AsMapping::AS_MAPPING 2022-05-28 01:42:06 +09:00
Jeong Yunwon fb52694e41 PyAttributes key is PyStrInterned 2022-05-23 09:03:13 +09:00
Jeong Yunwon 251ce4e68e ArgByteOrder 2022-05-04 08:29:15 +09:00
Jeong Yunwon a50ca743dc empty vm/functin/mod.rs 2022-05-04 08:29:15 +09:00
Jeong Yunwon 24186558ed Deref for ArgIntoComplex 2022-04-29 10:51:25 +09:00
Jeong Yunwon 84e2b52240 Deref for ArgIntoFloat 2022-04-29 10:47:59 +09:00
Jeong Yunwon 9f17a50c60 Impl std::ops::Deref for ArgIntoBool 2022-04-29 10:34:26 +09:00
Jeong Yunwon 37daf188ca Use option-like operator for OptionalArg 2022-04-29 10:07:02 +09:00
Jeong Yunwon a7135024a5 &PyTuple and &PyTupleRef works like &[PyObjectRef] 2022-04-24 12:26:48 +09:00
Jeong Yunwon dd3d3ef55b Replace as_slice of trait impl with AsRef<[T]> 2022-04-24 12:26:48 +09:00
Jeong Yunwon 0535077631 either is a function utility 2022-04-23 20:49:31 +09:00
Jeong Yunwon a05a09390e pyobject to object 2022-04-23 08:57:30 +09:00