Jeong YunWon
6996141448
debug-friendly tweaks
2023-04-20 21:21:50 +09:00
Jeong, YunWon
968f2ad7c9
Merge pull request #4849 from haxelion/feature/tp_repr_stdlib
...
Implemented tp_repr slots for more types
2023-04-20 21:02:55 +09:00
Jeong YunWon
19224505e8
module objects' type as PyModule
2023-04-20 20:48:57 +09:00
Jeong YunWon
798b3bc158
expose slot_new_wrapper as its base type
2023-04-06 01:52:01 +09:00
Jeong YunWon
18044abbb6
use interned str for builtin function names
2023-04-06 01:23:36 +09:00
Charles Hubain
96a949189d
Implemented tp_repr slots for more types
2023-04-06 00:42:01 +09:00
Jeong YunWon
7b99df6c48
PyPayload::class takes ctx instead of vm
2023-03-20 21:03:40 +09:00
Jeong YunWon
dfb37d9a44
setattro uses Py<PyStr>
2023-03-20 19:00:02 +09:00
Jeong YunWon
ab1de2942c
type.__name__ & getattr optimization
2023-03-20 19:00:01 +09:00
Jeong YunWon
87728c4452
Merge pull request #4608 from coolreader18/bag-deser
...
Rework frozen modules and directly deserialize to CodeObject<Literal>
2023-03-10 05:19:23 +09:00
Jeong YunWon
b60271a6cf
deprecate vm.invoke
2023-03-08 01:35:30 +09:00
Jeong YunWon
66d9514e12
remove vm.is_callable
2023-03-07 19:28:21 +09:00
Noa
456bc80697
Rework frozen modules and directly deserialize to CodeObject<Literal>
2023-03-06 13:45:33 -06:00
Noa
6d1f2986fe
Custom marshal enc/decoding impl
2023-03-01 20:47:21 -06:00
Jeong YunWon
f078f79c90
Flatten rustpython_parser interface
2023-02-22 20:32:31 +09:00
Yang Hau
937b0d3419
fix the typos
2023-02-13 16:25:24 +08:00
Jeong YunWon
42a22c280d
use workspace dependencies
2023-02-06 15:30:38 +09:00
Jim Fasarakis-Hilliard
e1ab8a9b42
Fix clippy issues for rust 1.67 ( #4478 )
2023-01-31 09:46:19 +09:00
Noa
c7faae9b22
Bump all crate versions to 0.2.0
2023-01-11 00:14:28 -06:00
Jeong YunWon
1848c45302
first cspell dict
2023-01-09 19:57:23 +09:00
Y.D.X
8a0e6bbcfb
Fix the markdown URL in the sample notebook
...
URLs without `https://` are relative.
2023-01-01 15:36:28 +08:00
Jeong YunWon
e7064049d1
Gitter -> Discord
2022-11-21 20:58:26 +09:00
Steve Shi
273ffd969c
Optimize PyType Creation ( #4209 )
2022-10-11 15:05:52 +09:00
Jeong YunWon
2a26ed0096
Merge pull request #4147 from youknowone/interpreter-config
...
Interpreter config
2022-09-24 13:48:46 +09:00
Jeong YunWon
e002191a48
pyproperty -> pygetset
...
Though it actually create a getset descriptor,
we didn't change the name because its concept was a property for writers.
Now we have `pymember`, another property-like descriptor. So naming them under
same level would be less confusing instead of telling everybody
"it is a getset but we call it pyproperty"
2022-09-18 14:18:49 +09:00
Jeong YunWon
597ad013b2
Fix pylib dependency for binary
2022-09-05 17:55:26 +09:00
Jeong YunWon
d32cd53948
Move pylib dependency out of vm
2022-09-03 17:10:26 +09:00
Jeong YunWon
55061c7b6a
new_syntax_error working without full compiler
...
Fix #4100
2022-08-23 05:08:24 +09:00
Jeong YunWon
31f95eeb1e
integrate CodegenError to compiler-core::Error
2022-08-22 18:43:03 +09:00
Jeong YunWon
6eeaf976a2
sort Cargo.toml dependencies
2022-08-22 08:42:20 +09:00
Jeong YunWon
58f5122b3d
codegen::{CompileError -> CodegenError}
2022-08-22 08:42:20 +09:00
Jeong YunWon
a52c5e5dc3
rename parse-compile feature to compiler
2022-08-22 04:43:03 +09:00
Jeong YunWon
86118d5276
drop compiler dependencies from stdlib
2022-08-22 04:43:03 +09:00
Jeong YunWon
fb5ac9e79b
reorganize compiler crates
2022-08-22 04:42:42 +09:00
Jeong YunWon
728dd0ad25
add certifi to wasm/tests/requirements.txt
2022-08-18 05:11:43 +09:00
Jeong YunWon
002b04d5b4
encodings as vm feature
2022-08-11 06:25:13 +09:00
Jeong Yunwon
055c5cfb97
pyimpl -> pyclass
2022-08-05 01:18:10 +09:00
Jeong Yunwon
2dd446a80f
remove pipenv
2022-07-17 03:25:34 +09:00
Jeong Yunwon
cee4814074
add stdlib to rustpython_wasm and remove threading from vm default
2022-05-28 14:27:03 +09:00
Jeong Yunwon
9b2a9d2377
TypeZoo uses &'static Py<PyType>
2022-05-27 10:35:01 +09:00
Jeong Yunwon
9db69d628f
{Type,Exception}Zoo holds static ref
2022-05-27 10:23:33 +09:00
Jeong Yunwon
753041b149
Use single version of parking_lot
2022-05-19 08:19:59 +09:00
Jeong Yunwon
8a2cd2ba08
Refactor DictKey - Remove &PyObject / PyObjectRef
2022-05-16 18:14:19 +09:00
Jeong Yunwon
6fd5094c05
Remove Interpreter::default() not to trap users init without stdlib
2022-04-30 05:09:33 +09:00
Jeong Yunwon
f8234aee84
GetAttro take reference
2022-04-26 21:56:27 +09:00
Jeong Yunwon
f220394ce9
vm::{pyclass => class}
2022-04-23 09:47:53 +09:00
Jeong Yunwon
ab7d921772
PySettings is not a python object
2022-04-23 07:56:20 +09:00
Jeong Yunwon
5a606647c0
PyObjectView -> Py
2022-04-23 05:21:57 +09:00
Jeong Yunwon
66b6a06997
PyValue -> PyPayload
2022-04-23 05:20:31 +09:00
Jeong Yunwon
d958d91501
PyObjectWeak is PyRef<PyWeak>
2022-04-23 05:17:34 +09:00