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
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
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
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
Jeong Yunwon
c4b80b3a24
IntoObject::into_object() and PyValue::into_pyobject(vm)
2022-04-19 00:38:18 +09:00
Jeong Yunwon
fee3bf2722
AsPyObject -> AsObject because fn as_object
2022-04-18 07:19:35 +09:00
Jeong Yunwon
e356d51af1
move ToPy* to convert
2022-04-18 07:17:24 +09:00
Jeong Yunwon
f6d70c8176
Into{PyObject,PyException,Pyresult} -> To{..}
...
The naming convention was wrong
2022-04-18 06:04:47 +09:00
Jeong Yunwon
75e589cbc1
isinstance -> fast_isinstance
2022-04-17 20:32:34 +09:00
Jeong Yunwon
aa76a34963
merge TypeProtocol in AsPyObject
2022-04-17 19:26:10 +09:00
Jeong Yunwon
a5b36e1937
split pyobject.rs
2022-04-16 00:45:19 +09:00
Jeong Yunwon
6357a1acbe
clean up imports and useless allow attributes
2022-04-15 23:58:20 +09:00
Kangzhi Shi
e06afd2cc0
fix windows fail, hope so
2021-11-28 11:22:14 +02:00
Kangzhi Shi
9a2eef6fab
fix compile
2021-11-27 13:49:05 +02:00
Kangzhi Shi
ca4e8f50e8
refactor ItemProtocol -> Object Protocol
2021-11-27 13:00:37 +02:00
Noa
229a9c8578
Make PyRef<T> wrap a NonNull<PyObjectView<T>>
...
This makes debuggers (or rust-gdb, at least) more pleasant to use, since
you don't have to manually cast `PyRef<T>.obj.ptr as `*const PyObjectView<T>`
Also get rid of PyGenericObject, since it's vestigial
2021-11-15 16:08:47 -06:00
Noa
e42a3ca48e
Big overhaul part 1 - replace PyRc with manual RefCount + WeakRefList
2021-11-15 16:08:45 -06:00
Noa
358ce09b5c
Run cargo upgrade
2021-10-30 19:42:35 -05:00
Jeong YunWon
6138cb4476
Merge pull request #3357 from coolreader18/edition2021
...
Migrate to 2021 edition
2021-10-22 08:21:45 +09:00
Jeong YunWon
815e1b6648
Merge pull request #3355 from moreal/use-pymodule-attribute-wasm-window
...
Remove usage of `py_module!` from `_window`
2021-10-22 05:35:10 +09:00
Jeong YunWon
b394c0a8db
Merge pull request #3354 from moreal/use-pymodule-attribute-wasm-js
...
Remove usage of `py_module!` from _js
2021-10-22 05:34:33 +09:00
Noa
ee8b11f5d2
Migrate to 2021 edition
2021-10-21 11:46:24 -05:00
Moreal
5a16ab8d20
Remove usage of py_module! from _window
2021-10-21 22:05:39 +09:00
Moreal
1474c9e8b3
Remove usage of py_module! from _browser
2021-10-21 21:53:18 +09:00
Moreal
3f9c7901ee
Remove usage of py_module! from _js
2021-10-21 21:48:26 +09:00