Commit Graph

10663 Commits

Author SHA1 Message Date
Jeong Yunwon
b65eb874f7 filename consistency 2022-04-23 09:47:53 +09:00
Jeong Yunwon
9a283a2f88 vm::prelude 2022-04-23 09:47:53 +09:00
Jeong Yunwon
f220394ce9 vm::{pyclass => class} 2022-04-23 09:47:53 +09:00
Jeong Yunwon
e52a5f99f3 remove PyPayload::into_pyresult_with_type 2022-04-23 09:47:53 +09:00
Jeong Yunwon
082f4bdc59 PyMethod is internal concept of VirtualMachine 2022-04-23 09:47:53 +09:00
Jeong Yunwon
8d75d18597 vm::object::payload 2022-04-23 09:10:11 +09:00
Jeong Yunwon
a05a09390e pyobject to object 2022-04-23 08:57:30 +09:00
Jeong Yunwon
c564a18331 Allow #[pyattr] on #[pyfunction] 2022-04-23 08:06:18 +09:00
Jeong Yunwon
ca84d728c2 sys.unraisablehook 2022-04-23 08:06:17 +09:00
Jeong YunWon
9cbba173ca Merge pull request #3651 from youknowone/vm-mod
split vm module by its scope
2022-04-23 07:59:10 +09:00
Jeong Yunwon
a63ad27cd4 PyContext is not a python object 2022-04-23 07:56:21 +09:00
Jeong Yunwon
ab7d921772 PySettings is not a python object 2022-04-23 07:56:20 +09:00
Jeong Yunwon
946fc93170 vm::PyContext 2022-04-23 07:56:20 +09:00
Jeong Yunwon
1d3ec86ff6 vm::compile 2022-04-23 07:56:20 +09:00
Jeong Yunwon
0294473704 ReprGuard to recursion 2022-04-23 07:56:20 +09:00
Jeong Yunwon
f959ab9159 threaded virtual machine 2022-04-23 07:56:20 +09:00
Jeong Yunwon
7f5d683af4 vm breakdown 2022-04-23 07:30:26 +09:00
Jeong Yunwon
bb19b7c43a Move string intern to PyContext 2022-04-23 06:06:53 +09:00
Jeong Yunwon
c81cb4aa11 impl Clone for PyRef<T> 2022-04-23 06:05:31 +09:00
Jeong YunWon
c103fe1310 Merge pull request #3630 from youknowone/rename-pyobjectview
Rename PyObjectView -> Py and PyValue -> PyPayload
2022-04-23 05:51:20 +09:00
Jeong YunWon
400402a000 Merge pull request #3650 from coolreader18/no-serde_json
Stop depending on serde_json
2022-04-23 05:26:52 +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
71acc6c544 Documentation for the names 2022-04-23 05:17:35 +09:00
Jeong Yunwon
82eb352e9f common::rc::PyWeak is not used and confusing by its name 2022-04-23 05:17:35 +09:00
Jeong Yunwon
d958d91501 PyObjectWeak is PyRef<PyWeak> 2022-04-23 05:17:34 +09:00
Jeong Yunwon
c2bb72f0b6 PyObjectWeak as type alias 2022-04-23 05:08:17 +09:00
Noa
a821750e87 Stop depending on serde_json 2022-04-22 14:42:42 -05:00
Jeong YunWon
dc37d3d6c8 Merge pull request #3649 from fanninpm/fix-cron-coverage
Fix coverage cronjob
2022-04-22 20:17:22 +09:00
Padraic Fanning
856a6dbf02 Tweak lcov commands to not delete everything 2022-04-22 00:53:28 -04:00
Jeong YunWon
f26c0ba474 Merge pull request #3646 from sum12/aiter
implement aiter
2022-04-22 11:33:58 +09:00
sum12
5fdf62a6b9 Check for PyAsyncGen when calling aiter 2022-04-21 09:49:20 +02:00
sum12
d74a1d58a6 added test for builtin.aiter 2022-04-21 09:49:17 +02:00
sum12
8455c741a6 implement aiter
the caller is expected to make sure that the passed in object does in
fact supports the protocol

relates #3609
2022-04-21 09:48:01 +02:00
Jeong YunWon
9a8e3856b2 Merge pull request #3647 from fanninpm/test-asyncgen-3.10
Update test_asyncgen.py to CPython 3.10
2022-04-21 13:53:19 +09:00
Padraic Fanning
7773959bde Update codecov-action to v3 2022-04-20 23:39:49 -04:00
Padraic Fanning
fca38e4c07 Install llvm-tools-preview on stable in cron-ci 2022-04-20 23:39:30 -04:00
Padraic Fanning
b8c9b383f0 Mark erroring tests 2022-04-20 21:33:19 -04:00
Padraic Fanning
15129a955b Comment out test with async for comprehension 2022-04-20 19:58:56 -04:00
Padraic Fanning
445ef1ee8e Update test_asyncgen.py to CPython 3.10 2022-04-20 19:48:42 -04:00
Jeong YunWon
cfb3505c70 Merge pull request #3256 from aDotInTheVoid/stats
Add `_statistics` module containing `_normal_dist_inv_cd`
2022-04-20 19:40:08 +09:00
Nixon Enraght-Moony
639a4fe6b6 Add _statistics module containing _normal_dist_inv_cd
Closes #3251
2022-04-20 17:18:31 +09:00
Jeong YunWon
047bab998b Merge pull request #2950 from fanninpm/contextvars
Add contextvars from CPython 3.8
2022-04-20 16:54:00 +09:00
Jeong YunWon
787d9d0bbb Merge pull request #3643 from youknowone/derive-class-better
Fix not to manually call make_class from modules
2022-04-20 04:05:10 +09:00
Jeong Yunwon
6ed42f7621 VersionInfo::make_class() with use 2022-04-20 03:25:02 +09:00
Jeong Yunwon
fa22a4471d support use for #[pyclass] 2022-04-20 03:17:56 +09:00
Jeong Yunwon
9f2540bb91 Remove manual make_class 2022-04-20 02:07:42 +09:00
Jeong Yunwon
24ea51bf71 sort order for nursery 2022-04-20 01:48:16 +09:00
Jeong Yunwon
3582eb2e19 new name collition detection 2022-04-20 01:17:33 +09:00
Jeong Yunwon
95bd172278 Run make_class always regardless it has pyattr or not 2022-04-20 00:32:15 +09:00