jfh
|
0539d33ce4
|
Export saturated index via slicable, use better naming conventions.
|
2021-10-13 07:05:26 +03:00 |
|
jfh
|
72ad7120ab
|
Saturate slice before getting a lock on the underlying collection.
|
2021-10-12 10:00:50 +03:00 |
|
jfh
|
fac6e3168c
|
Use SaturatedIndices instead of convert_slice.
|
2021-10-12 09:18:12 +03:00 |
|
Jeong YunWon
|
05dca7a7c8
|
ctx.new_list returns PyLsitRef
|
2021-10-12 01:22:36 +09:00 |
|
Jeong YunWon
|
a42d547a3f
|
new_{utf8_str, ascii_literal} -> new_str again
|
2021-10-11 21:28:14 +09:00 |
|
jfh
|
a7bd654d0d
|
Use PyTupleRef in reduce return type.
|
2021-10-11 09:56:00 +03:00 |
|
Kangzhi Shi
|
ea69dc53d2
|
remove test that fail on CPython
|
2021-10-10 14:48:30 +02:00 |
|
Kangzhi Shi
|
cbd7c59329
|
Fix unicode array pickling
|
2021-10-10 14:43:34 +02:00 |
|
Kangzhi Shi
|
de47cd0acb
|
Impl __reduce_ex__ with _array_reconstructor
|
2021-10-10 14:43:20 +02:00 |
|
Kangzhi Shi
|
ff0adc1204
|
Impl __reduce__ for array
|
2021-10-10 14:43:16 +02:00 |
|
snowapril
|
1deb59ce40
|
modify PyType::name caller codes to use BorrowedValue
Signed-off-by: snowapril <sinjihng@gmail.com>
|
2021-10-10 16:07:24 +09:00 |
|
Jeong YunWon
|
4fb1cdb316
|
PyObjectWrap
|
2021-10-08 01:56:00 +09:00 |
|
jfh
|
c0420721e0
|
Rename from ArgTypeLike to ArgIntoType, numlike to number.
|
2021-10-07 15:30:57 +03:00 |
|
jfh
|
856f77fb77
|
Add ArgFloatLike.
|
2021-10-07 12:34:30 +03:00 |
|
Jeong YunWon
|
f9fbc486d8
|
Merge pull request #3136 from youknowone/buffer-writable
ResizeGuard -> BufferResizeGuard
|
2021-10-06 22:25:01 +09:00 |
|
Jeong YunWon
|
cf9e3f301a
|
Merge pull request #3233 from DimitrisJim/use_try
Clean up overflow cases.
|
2021-10-06 22:19:29 +09:00 |
|
Jeong YunWon
|
ad111f19b7
|
ResizeGuard -> BufferResizeGuard
|
2021-10-06 20:21:36 +09:00 |
|
jfh
|
d5b7f1ead1
|
Clean up overflow cases.
|
2021-10-06 14:00:38 +03: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 |
|
Jim Fasarakis-Hilliard
|
c1e81bf963
|
Merge pull request #3137 from youknowone/fix-array-repr
Fix array repr
|
2021-10-04 08:13:10 +03: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 |
|
snowapril
|
1fbbdaabe3
|
support delitem in ass_subscript
|
2021-10-02 14:43:20 +09:00 |
|
snowapril
|
fc761b4e5b
|
add mapping protocol to proper types
|
2021-10-02 14:43:20 +09:00 |
|
Jeong YunWon
|
fee0054940
|
Fix array repr
|
2021-10-01 22:35:09 +09:00 |
|
Jeong YunWon
|
ff1129adb7
|
PyIterReturn for StopIteration
Same as ArithmaticValue for NotImplemented
|
2021-10-01 22:33:57 +09:00 |
|
Jeong YunWon
|
fb25a15f2c
|
split rustpython-stdlib crate
|
2021-10-01 01:54:04 +09:00 |
|