Aratrik
|
d6fc20f64e
|
Relocate vm.set_attr to obj.set_attr
|
2021-10-19 14:50:53 +05:30 |
|
Jeong YunWon
|
7377664bea
|
Remove PyFloatRef
|
2021-10-18 05:14:54 +09:00 |
|
jfh
|
7bc10da154
|
Relocate vm.get_attribute to obj.get_attr.
|
2021-10-17 10:30:21 +03:00 |
|
Jeong YunWon
|
8cdde9150e
|
Rename slot traits to drop Slot prefix
|
2021-10-14 13:44:22 +09:00 |
|
Jeong YunWon
|
7cae6d24fe
|
Refactor PyType creation
|
2021-10-14 13:37:45 +09:00 |
|
Jeong YunWon
|
256de1eb46
|
Move free functions in vm::exceptions to vm methods
|
2021-10-13 05:53:43 +09: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 |
|
Jeong YunWon
|
379cf2db6f
|
new_bytes return PyRef
|
2021-10-11 16:10:01 +09:00 |
|
Jeong YunWon
|
5cd375aaa9
|
clean up functions and methods
|
2021-10-11 16:10:01 +09:00 |
|
Jeong YunWon
|
40379a9bc1
|
new_float returns PyFloat
|
2021-10-11 01:05:38 +09:00 |
|
Jeong YunWon
|
741cfea565
|
vm.ctx.new_int returns PyInt
|
2021-10-11 01:05:38 +09:00 |
|
Jeong YunWon
|
4fb1cdb316
|
PyObjectWrap
|
2021-10-08 01:56:00 +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
|
32770249eb
|
remove iterator::stop_iter_with_value
|
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
|
ff1129adb7
|
PyIterReturn for StopIteration
Same as ArithmaticValue for NotImplemented
|
2021-10-01 22:33:57 +09:00 |
|
Jeong YunWon
|
8a46e638ce
|
PyIter -> SlotIterator to reserve PyIter for protocol object
|
2021-09-30 03:06:47 +09:00 |
|
Jeong YunWon
|
c3f46c773e
|
Expose exception types under vm::builtins
|
2021-09-30 01:12:45 +09:00 |
|
Jeong YunWon
|
495ba77ae5
|
move vm/src/{byteslike.rs -> function/byteslike.rs}
|
2021-09-29 02:28:43 +09:00 |
|
Jeong YunWon
|
6878200a45
|
Merge pull request #3145 from moreal/sync-module-doc-with-database
Sync some modules' doc with database
|
2021-09-29 01:17:00 +09:00 |
|
Moreal
|
d7f5b62dca
|
Sync module doc with database
|
2021-09-26 03:52:46 +09:00 |
|
Jeong YunWon
|
98a62c581c
|
Universal mechanism for Iterable/PyIter
|
2021-09-25 03:04:41 +09:00 |
|
Jeong YunWon
|
0d09bc7285
|
derive(PyValue) not to depend on local context
|
2021-09-24 20:41:11 +09:00 |
|
Jeong YunWon
|
d9c17f2787
|
vm::function::{Args -> PosArgs}
|
2021-09-24 00:26:00 +09:00 |
|
Jeong YunWon
|
0317647e7a
|
clean up function::Arg imports
|
2021-09-22 21:03:16 +09:00 |
|
Jeong YunWon
|
ffef73c1d7
|
split Arg{Callble,Iterable} from pyobject.rs
|
2021-09-22 21:01:44 +09:00 |
|
Jeong YunWon
|
a5309a7888
|
Rename Py{Callable, Iterable} to Arg{..}
which were not a python object but just argument helper
|
2021-09-22 20:58:26 +09:00 |
|
Dean Li
|
88e869a4da
|
impl #[derive(PyValue)] for static_type
|
2021-09-21 21:35:48 +08:00 |
|
Jeong YunWon
|
48dc5c96b6
|
PyStrKind
|
2021-09-16 03:35:44 +09:00 |
|
Jeong YunWon
|
62bff17dcb
|
TryFromBorrowedObject for byteslike
|
2021-08-14 13:39:06 +09:00 |
|
Jeong YunWon
|
4d4e39af20
|
Rename PyBytesLike, PyRwBytesLike, BufOrStr to Arg-prefixed proper names
|
2021-08-14 13:39:06 +09:00 |
|
Jeong YunWon
|
4e60bcd741
|
clean up #[pymethod(magic)]
|
2021-08-12 06:44:52 +09:00 |
|
sobolevn
|
e939346850
|
Adds class field to PyGetSet to fix __qualname__ and (in future) repr, refs #2790
|
2021-08-08 18:53:57 +03:00 |
|
Nikita Sobolev
|
73ae7a6116
|
Adds __qualname__ to PyBuiltinMethod
|
2021-08-01 09:16:27 +09:00 |
|
jfh
|
78ffb77dd4
|
Fix additional needless borrows.
|
2021-07-30 00:55:04 +03:00 |
|
Noah
|
3d9812e748
|
Remove remaining borrow_value() uses
|
2021-05-20 10:30:42 -05:00 |
|
Noah
|
99104faaf7
|
Re-export pyobject::* from the root of the crate
|
2021-05-20 10:24:07 -05:00 |
|
Noah
|
4343c45d8e
|
Fix clippy for wasm
|
2021-04-01 21:06:52 -05:00 |
|
Noah
|
76f8ed5299
|
Fix clippy warnings for 1.51
|
2021-03-26 17:54:22 -05:00 |
|
Noah
|
2913754580
|
Rework wait_all
|
2021-03-14 12:50:00 -05:00 |
|
Noah
|
5d171f37ba
|
Rework js promises a lot
|
2021-03-14 12:49:59 -05:00 |
|
Noah
|
cb9650e6ec
|
wasm Lib directory
|
2021-03-14 12:49:59 -05:00 |
|
fanninpm
|
cc6baeddd6
|
Allow clippy::unnecessary_wraps lint, and rename "to_js" to "into_js" (#2452)
* Allow clippy::unnecessary_wraps lint
* Change PyResultExt to_js signature
* Change "to_js" to "into_js"
* Refactor "to_js" to "into_js"
* Continue refactoring "to_js" to "into_js"
* Move clippy::unnecessary_wraps to lib.rs
* Add allowed lint to jit/lib.rs
* Add allowed lint to vm/src/lib.rs
|
2021-02-13 19:07:07 -06:00 |
|
Noah
|
be1bacd404
|
Add no-start-func feature
|
2021-01-20 12:56:30 -06:00 |
|
Noah
|
304a47af26
|
Add a way to inject modules to rustpython_wasm
|
2021-01-19 13:53:11 -06:00 |
|
Noah
|
a4aef93327
|
Make all builtin functions have names
|
2020-12-17 16:29:43 -06:00 |
|
Noah
|
150d5ae908
|
Fix snippet test+wasm errors
|
2020-12-05 16:36:37 -06:00 |
|
Noah
|
2f232ecbe3
|
Implement string interning for variable names
|
2020-11-09 15:51:57 -06:00 |
|
Noah
|
b30ca99a09
|
Implement string interning
|
2020-11-08 21:35:04 -06:00 |
|