Jeong YunWon
|
4f9f939f3c
|
Merge pull request #3221 from youknowone/pyref-intoobject
Remove PyRef::into_object()
|
2021-10-08 02:36:02 +09:00 |
|
Jeong YunWon
|
e19609ced3
|
Use PyRef::into_object(vm) instead of into_ref(vm).into() combo
|
2021-10-08 01:56:02 +09:00 |
|
Jeong YunWon
|
86430f70d8
|
Remove PyIter::as_object
|
2021-10-08 01:56:02 +09:00 |
|
Jeong YunWon
|
4fb1cdb316
|
PyObjectWrap
|
2021-10-08 01:56:00 +09:00 |
|
jfh
|
1f78c764ad
|
Fix warnings for doc build.
|
2021-10-07 17:37:24 +03:00 |
|
Jeong YunWon
|
ad111f19b7
|
ResizeGuard -> BufferResizeGuard
|
2021-10-06 20:21:36 +09:00 |
|
Jeong YunWon
|
92de3619fa
|
move IntoPy{Object, Exception, Result} to vm::function
which are used to define function arguments - those functions are mostly placed in the crate
|
2021-10-06 19:10:16 +09:00 |
|
Jeong YunWon
|
c039e107a8
|
iterator from PyIter
|
2021-10-04 04:53:55 +09:00 |
|
Jeong YunWon
|
0c56761be1
|
flexible PyIterIter and PyIter::into_iter
|
2021-10-04 04:53:46 +09:00 |
|
Jeong YunWon
|
d0615a4ea3
|
PyIter::iter
|
2021-10-04 04:53:46 +09:00 |
|
Jeong YunWon
|
d1e9ac85d8
|
move funciton::PyIterator -> protocol::PyIterIter
|
2021-10-04 04:53:46 +09:00 |
|
Jeong YunWon
|
a8a3fa653b
|
more useful vm.new_stop_iteration
|
2021-10-04 04:53:46 +09:00 |
|
Jeong YunWon
|
bda1a928c2
|
use PyIterReturn for coroutine internal
|
2021-10-04 04:53:46 +09:00 |
|
Jeong YunWon
|
6b1af9a45e
|
Merge pull request #3121 from Snowapril/mapping-protocol
Implement Mapping Protocol
|
2021-10-02 18:00:17 +09:00 |
|
snowapril
|
aa2a7f01ee
|
add PyMapping as PyObjectRef wrapper
Modify original `PyMapping` to `PyMappingMethods` and create `PyMapping`
struct as `PyObjectRef` wrapper for implementing `PyMapping_*`
functions. https://docs.python.org/3/c-api/mapping.html
Signed-off-by: snowapril <sinjihng@gmail.com>
|
2021-10-02 16:45:34 +09:00 |
|
snowapril
|
4fd0681498
|
move mapping protocol to rustpython_vm::protocol
Signed-off-by: snowapril <sinjihng@gmail.com>
|
2021-10-02 14:47:19 +09:00 |
|
Kangzhi Shi
|
e1f689c565
|
introduce PyIterReturn::from_getitem_result
|
2021-10-01 21:16:43 +02:00 |
|
Jeong YunWon
|
ff1129adb7
|
PyIterReturn for StopIteration
Same as ArithmaticValue for NotImplemented
|
2021-10-01 22:33:57 +09:00 |
|
snowapril
|
4a29231b3a
|
implement PyIter_Check on PyIter
Signed-off-by: snowapril <sinjihng@gmail.com>
|
2021-10-01 12:26:59 +09:00 |
|
Jeong YunWon
|
fb25a15f2c
|
split rustpython-stdlib crate
|
2021-10-01 01:54:04 +09:00 |
|
Jeong YunWon
|
3273be1a6b
|
PyIter protocol
|
2021-09-30 05:16:10 +09:00 |
|
Jeong YunWon
|
efb14a4f78
|
rustpython_vm::protocol to hold protocols
|
2021-09-25 03:20:08 +09:00 |
|