Dolpheyn
|
922d233faa
|
Add rand, ror, rsub operators in dict_keys
|
2021-10-09 07:53:38 +08:00 |
|
Jeong YunWon
|
7082abdce1
|
Merge pull request #3249 from joohongpark/test_dict
Add rand, ror, rsub operators in dict_items
|
2021-10-08 16:30:12 +09:00 |
|
joohongpark
|
c2d6bef793
|
Add rand, ror, rsub operators in dict_items, remove test annotation
|
2021-10-08 14:44:39 +09:00 |
|
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
|
22cc4a1437
|
Merge pull request #3247 from DimitrisJim/scientific_formating_complex
Fix complex::repr to use floats_ops.
|
2021-10-08 02:35:28 +09:00 |
|
ChJR
|
296f18326e
|
Make OSError subclass instead of itself
|
2021-10-08 02:33:44 +09:00 |
|
Jeong YunWon
|
10b83fc1b2
|
Merge pull request #3245 from DimitrisJim/doc_warnings
Fix warnings for doc build.
|
2021-10-08 01:59:19 +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 |
|
Jeong YunWon
|
055bad342b
|
impl AsRef<PyObjectRef> for PyRef<T>
|
2021-10-08 01:49:33 +09:00 |
|
Jeong YunWon
|
152cbc6b18
|
Use as_str to take &str form PyStr
|
2021-10-08 01:49:33 +09:00 |
|
jfh
|
21d08e53d7
|
Fix complex::repr to correctly print floats.
|
2021-10-07 19:18:09 +03:00 |
|
Jeong YunWon
|
51df324765
|
Make marshal.dumps ready ready for new contributors
|
2021-10-07 23:46:26 +09:00 |
|
Jeong YunWon
|
cb87fa3562
|
Merge pull request #3228 from chrismoradi/fix-complex-repr-tests
Fix repr for complex numbers involving NaN
|
2021-10-07 23:37:56 +09:00 |
|
jfh
|
1f78c764ad
|
Fix warnings for doc build.
|
2021-10-07 17:37:24 +03:00 |
|
Jeong YunWon
|
04e25e8d2d
|
vm/function/{byteslike -> buffer}.rs
those types are buffer utilities
byteslike is one of them
|
2021-10-07 23:19:37 +09:00 |
|
Jeong YunWon
|
6ba322f261
|
clean up byteslike api
|
2021-10-07 23:18:35 +09:00 |
|
Jeong YunWon
|
5bee8fc8f6
|
Merge pull request #3240 from DimitrisJim/numlike_args
Add numlike for handling of numlike arguments
|
2021-10-07 22:27:51 +09:00 |
|
jfh
|
c0420721e0
|
Rename from ArgTypeLike to ArgIntoType, numlike to number.
|
2021-10-07 15:30:57 +03:00 |
|
Jeong YunWon
|
204251e65a
|
dict_items.__(r)xor__
|
2021-10-07 20:26:03 +09:00 |
|
jfh
|
a29f9452b8
|
Add documentation for Arg types.
|
2021-10-07 14:12:47 +03:00 |
|
Jeong YunWon
|
6adb553a12
|
DictIterator -> DictView
which are not iterator
|
2021-10-07 20:01:16 +09:00 |
|
Jeong YunWon
|
870f773aaf
|
PySetInner::new -> PySetInner::from_iter
|
2021-10-07 20:01:10 +09:00 |
|
jfh
|
b2a2238566
|
Add ArgBoolLike.
|
2021-10-07 12:56:01 +03:00 |
|
jfh
|
856f77fb77
|
Add ArgFloatLike.
|
2021-10-07 12:34:30 +03:00 |
|
jfh
|
acfdf9ceaa
|
Move try_complex into PyObjectRef
|
2021-10-07 12:23:12 +03:00 |
|
jfh
|
7387324f59
|
Add ArgComplexLike
|
2021-10-07 12:06:26 +03:00 |
|
Jim Fasarakis-Hilliard
|
3cf4454fa7
|
Merge pull request #3234 from youknowone/further-repr-fix
Single pass repr for set
|
2021-10-06 18:02:50 +03:00 |
|
Jeong YunWon
|
fccbc45a2e
|
Merge pull request #3172 from youknowone/try-into-object
PyObjectRef::try_into_value
|
2021-10-06 22:25:41 +09: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 |
|
snowapril
|
b4db50b59e
|
add __setstate__ and __reduce__ from cpython 3.10
Signed-off-by: snowapril <sinjihng@gmail.com>
|
2021-10-06 20:52:09 +09:00 |
|
snowapril
|
1a542d294a
|
add length_check on zip via option strict param
when strict option is enabled, zipped iterators' lengths are must be
same. If not, value error will be occurred
* https://www.python.org/dev/peps/pep-0618/
Signed-off-by: snowapril <sinjihng@gmail.com>
|
2021-10-06 20:51:11 +09:00 |
|
Jeong YunWon
|
ad111f19b7
|
ResizeGuard -> BufferResizeGuard
|
2021-10-06 20:21:36 +09:00 |
|
Jeong YunWon
|
38b62e2585
|
PyObjectRef::try_into_value
as counterpart of TryFromObject::try_from_object
This is useful when the type to infer is known
|
2021-10-06 20:15:13 +09:00 |
|
jfh
|
d5b7f1ead1
|
Clean up overflow cases.
|
2021-10-06 14:00:38 +03:00 |
|
Jeong YunWon
|
6b834b65fb
|
PyByteInner::repr to take class name
|
2021-10-06 20:00:03 +09:00 |
|
Jeong YunWon
|
7690a4cc32
|
single pass set repr
|
2021-10-06 20:00:03 +09:00 |
|
Jeong YunWon
|
13ca594de5
|
Merge pull request #3219 from muscar/fix/repr-use-collection-subclass-name
fix: __repr__ use collection subclass name
|
2021-10-06 19:59:48 +09:00 |
|
Jeong YunWon
|
ceda5fe8c3
|
gather jit parts
|
2021-10-06 19:10:18 +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
|
f1977c130d
|
Merge pull request #3231 from DimitrisJim/dict_ior
Fix dict __ior__
|
2021-10-06 19:07:03 +09:00 |
|
Jeong YunWon
|
3070807d30
|
clean up dict more
|
2021-10-06 18:06:40 +09:00 |
|
Alex Muscar
|
cd4216097f
|
fix: __repr__ use collection subclass name
Addresses: https://github.com/RustPython/RustPython/issues/3217
This patch changes the `set`, `frozenset`, `deque` and `bytearray`
collections to use the subclass name in `__repr__`, if they are
subclassed.
|
2021-10-06 10:01:36 +01:00 |
|
jfh
|
9204d2c11e
|
Fix dict __ior__
|
2021-10-06 11:19:02 +03:00 |
|
Jim Fasarakis-Hilliard
|
02d248f0b4
|
Merge pull request #3229 from youknowone/sys-max
Use sys::MAXSIZE when isize::MAX is used as a meaning of sys.maxsize
|
2021-10-06 08:55:28 +03:00 |
|
Noa
|
57305870fa
|
Merge pull request #3178 from RustPython/wasi-fixes
Fixes for wasi
|
2021-10-05 16:21:17 -05:00 |
|
Jeong YunWon
|
d105c2b2a5
|
Use sys::MAXSIZE when isize::MAX is used as a meaning of sys.maxsize
|
2021-10-06 05:16:01 +09:00 |
|
Jeong YunWon
|
397daaeea4
|
Merge pull request #2831 from youknowone/cpython3.9
bump up reference CPython to 3.9
|
2021-10-06 04:58:30 +09:00 |
|