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
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
Jeong YunWon
3a0c2bb752
Merge pull request #3099 from deantvv/impl-pyvalue
...
impl `#[derive(PyValue)]` for static_type
2021-09-22 01:16:19 +09:00
Dean Li
88e869a4da
impl #[derive(PyValue)] for static_type
2021-09-21 21:35:48 +08:00
Jeong YunWon
795738d32b
ascii! macro
2021-09-21 18:14:42 +09:00
Jeong YunWon
e6e2204bde
Merge pull request #3083 from moreal/impl-genericalias
...
Introduce `types.GenericAlias` type
2021-09-21 01:32:51 +09:00
Moreal
da79719063
Refactor PyGenericAlias type
...
Co-Authored-By: Jeong YunWon <youknowone@users.noreply.github.com >
- Remove `PyGenericAliasRef`, the dedicated ref type of
`PyGenericAlias`.
- Use `PyTupleRef::with_elements` builder function.
- Remove redundant `clone`.
- Use more `Option<T>`'s functions instead `match` expr.
2021-09-21 00:52:21 +09:00
Jeong YunWon
7395959f5f
Fix PyStr operations to be safe
2021-09-21 00:32:26 +09:00
Jeong YunWon
b9edc8e3f7
Merge pull request #3095 from RustPython/offset-in-crt_fd
...
Move Offset definition to crt_fd
2021-09-20 15:17:19 +09:00
Noa
fe81576b06
Move Offset definition to crt_fd
2021-09-19 14:12:33 -05:00
Jeong YunWon
2a56ce7997
Enable cache for exotic/miri targets
2021-09-20 02:55:11 +09:00
Jeong YunWon
fa55fd9a55
Merge pull request #3086 from youknowone/x86
...
Fix x86 build
2021-09-20 00:44:05 +09:00
Jeong YunWon
46dc7f487b
Merge pull request #3088 from deantvv/os-stat-result
...
os: fix stat_result test
2021-09-19 23:42:31 +09:00
Jeong YunWon
5a06c80237
increase stack size for windows
2021-09-19 23:11:33 +09:00
Dean Li
96dcd68472
os: fix stat_result test
...
Implement tp_new for `stat_result`
To unpack args, this PR implement a `flatten_args` closure to
unpack args like
```
args = (1, 2, 3, 4, 5)
args = ((1, 2, 3, 4, 5))
args = (((1, 2, 3, 4, 5))) # from pickle load
```
2021-09-19 10:07:53 +08:00
Moreal
7c3939a149
Mark failed tests by features not implemented yet
2021-09-19 03:36:24 +09:00
Moreal
2462d167d1
Bump types module to CPython 3.9.7
2021-09-19 03:36:24 +09:00
Moreal
07c6d9f298
Add list.__class_getitem__ method
...
See also https://www.python.org/dev/peps/pep-0585/
2021-09-19 03:36:24 +09:00
Moreal
5dad81eb0c
Register types.GenericAlias type
2021-09-19 03:36:24 +09:00