Commit Graph

9228 Commits

Author SHA1 Message Date
Jeong YunWon
efb14a4f78 rustpython_vm::protocol to hold protocols 2021-09-25 03:20:08 +09:00
Jeong YunWon
1063121f48 Merge pull request #3116 from youknowone/pyiter
Universal mechanism for Iterator slots
2021-09-25 03:18:35 +09:00
Jeong YunWon
98a62c581c Universal mechanism for Iterable/PyIter 2021-09-25 03:04:41 +09:00
Jeong YunWon
f0dd29d138 Merge pull request #3127 from youknowone/static-type
derive(PyValue) not to depend on local context
2021-09-24 21:25:17 +09:00
Jeong YunWon
0d09bc7285 derive(PyValue) not to depend on local context 2021-09-24 20:41:11 +09:00
Jeong YunWon
6e908debf6 Merge pull request #3125 from youknowone/dewarnings
remove compiler warnings
2021-09-24 20:05:42 +09:00
Jeong YunWon
90eed30ad8 remove compiler warnings 2021-09-24 19:33:23 +09:00
Jeong YunWon
6b84c2b83e Merge pull request #3057 from eldpswp99/make-magic-method-new-to-follow-cpython
make magic method new to follow cpython way
2021-09-24 13:53:17 +09:00
Jeong YunWon
7a7a6bdf90 Merge pull request #3106 from youknowone/posargs
vm::function::{Args -> PosArgs}
2021-09-24 13:02:36 +09:00
Jeong YunWon
be74fb90a1 Merge pull request #3111 from youknowone/posix
split `posix` and `nt` files from `os`
2021-09-24 12:59:44 +09:00
Noa
0bb0946a5e Merge pull request #3118 from RustPython/more-codecs
Implement ascii codec in Rust
2021-09-23 12:48:04 -05:00
Noa
d86903582a Fast-path with str.is_ascii()
Co-authored-by: Jeong YunWon <youknowone@users.noreply.github.com>
2021-09-23 12:02:40 -05:00
Jeong YunWon
d9c17f2787 vm::function::{Args -> PosArgs} 2021-09-24 00:26:00 +09:00
Jeong YunWon
56fb733b0d Fix os.py for nt 2021-09-24 00:20:22 +09:00
Jeong YunWon
4cae03b5e0 posix/nt owns its make_module 2021-09-24 00:20:20 +09:00
Jeong YunWon
c65bd6651e split nt from os 2021-09-24 00:19:25 +09:00
Jeong YunWon
abc4b4196e FsPath::to_pathlike 2021-09-24 00:18:12 +09:00
Jeong YunWon
f61b73cd3f split posix_compat from os 2021-09-24 00:18:12 +09:00
Jeong YunWon
199eeee815 split posix from os 2021-09-24 00:18:12 +09:00
Jeong YunWon
664be10b61 Merge pull request #3082 from youknowone/windows-stack-size
increase stack size for windows
2021-09-23 13:46:43 +09:00
Jeong YunWon
874ed5a78d Merge pull request #3098 from youknowone/doc-sync
CPython docs database for module items
2021-09-23 11:39:37 +09:00
Jeong YunWon
cfde531bfb Merge pull request #3119 from DimitrisJim/math_module
Refactor math.rs into module.
2021-09-23 11:38:51 +09:00
Jeong YunWon
ca68608e3a Merge pull request #3120 from DimitrisJim/cmath_consts
Refactor cmath constants.
2021-09-23 11:33:49 +09:00
jfh
f7509d2cb2 Refactor cmath constants. 2021-09-23 03:33:55 +03:00
jfh
f2bda7d4cf Refactor math.rs into module. 2021-09-23 03:18:31 +03:00
Noa
20b86b2060 Implement ascii codec in Rust 2021-09-22 16:35:50 -05:00
Jeong YunWon
29c90a6fe8 Merge pull request #2719 from DimitrisJim/no-export
Don't export stdlib modules.
2021-09-23 00:34:36 +09:00
Jeong YunWon
225e7427a7 Merge pull request #3092 from youknowone/str-safe
Fix PyStr operations to be safe
2021-09-23 00:26:28 +09:00
Jeong YunWon
8962376271 Merge pull request #3113 from Snowapril/solve-clippy-warnings
Solve clippy warnings in window
2021-09-23 00:23:42 +09:00
snowapril
df5b386b4b resolve clippy warnings in window
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-09-22 23:35:20 +09:00
Jim Fasarakis-Hilliard
35f1bd15c5 Merge pull request #3114 from youknowone/pyclass-module
pyclass module priors to umbrella pymodule name
2021-09-22 17:34:51 +03:00
Jim Fasarakis-Hilliard
f24884c970 Merge pull request #3108 from youknowone/pycallable
Rename Py{Callable, Iterable} to Arg{..}
2021-09-22 17:32:25 +03:00
Jeong YunWon
671a234571 pyclass module priors to umbrella pymodule 2021-09-22 22:36:42 +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
Jeong YunWon
7ea52cb215 Merge pull request #3110 from youknowone/use-regroup
Group use for vm stuff to prevent reorder for rustpython_stdlib
2021-09-22 12:47:26 +09:00
Jeong YunWon
137a543ca7 regroup use items for bulitin stdlibs 2021-09-22 12:08:17 +09:00
Jeong YunWon
96c9d9ec16 Group use for vm stuff to prevent reorder for rustpython_stdlib 2021-09-22 12:08:17 +09:00
Jeong YunWon
064bfc5a9d cpython docs database for class 2021-09-22 10:32:23 +09:00
Noa
f357a958ca Merge pull request #3107 from youknowone/try-to
try to types utility functions to PyObjectRef methods
2021-09-21 20:20:03 -05:00
Noa
d5272c9310 Merge pull request #3105 from youknowone/wchar-t
extract wchar_t definition to rustpython-common
2021-09-21 20:14:19 -05:00
Noa
69c7d93885 Merge pull request #3093 from youknowone/ci-cache
Enable cache for exotic/miri targets
2021-09-21 14:56:04 -05:00
Jeong YunWon
c2b4755af4 CPython docs database for module items 2021-09-22 04:25:41 +09:00
Jeong YunWon
09bc4d3cae pybool::boolval -> PyObjectRef::try_into_bool 2021-09-22 03:48:53 +09:00
Jeong YunWon
540b9c316a Export common conversion parameter type IntoPy* 2021-09-22 03:38:09 +09:00
Jeong YunWon
bc2bb1023d try to types utility functions to PyObjectRef methods 2021-09-22 03:35:12 +09:00
Jeong YunWon
2952f6e7c6 extract wchar_t definition to rustpython-common 2021-09-22 03:30:41 +09:00
Jeong YunWon
72e942301d Merge pull request #3103 from Codemonk-adi/main
Fixed Nan issue
2021-09-22 02:12:24 +09:00
Codemonk-adi
a07d3432c1 Redid the commit cause I messed up 2021-09-21 21:58:51 +05:30