Commit Graph

6733 Commits

Author SHA1 Message Date
Jeong YunWon
0181e2b380 io.text_encoding return utf-8 for RustPython for now 2022-08-15 04:54:01 +09:00
Jeong YunWon
020639e91b Fix pwd clippy 2022-08-14 22:32:44 +09:00
Jeong YunWon
472b727664 Merge pull request #3991 from Yaminyam/refactor/module-pwd
Refactor: pwd module
2022-08-14 07:57:09 +09:00
Jeong YunWon
d82c2b0d1d Merge pull request #4052 from moreal/correct-eval
Raise `ValueError` if `\x00` character exists for `eval` argument
2022-08-14 05:00:47 +09:00
Moreal
c672d8f8b2 Make mapping error simple with map_err 2022-08-14 03:48:32 +09:00
Lee Dogeon
879ed6e005 Make loop simple with `slice::contains
Co-authored-by: Jeong YunWon <69878+youknowone@users.noreply.github.com>
2022-08-14 03:47:55 +09:00
Moreal
714ce4d07d Wrap unicode error as syntax error 2022-08-14 02:27:38 +09:00
Moreal
0bd702d287 Use ArgStrOrBytesLike python argument type 2022-08-13 19:08:01 +09:00
siontama
8e3cd3e16a Refactor: pw_name 2022-08-13 17:39:59 +09:00
YeonWoo
e513bf11fe Fix metaclass check classcell (#3986) 2022-08-13 17:20:13 +09:00
Moreal
20e7752e9b Apply cargo fmt 2022-08-13 07:29:27 +09:00
Moreal
bb8526ac28 Raise ValueError if null character exists for eval argument 2022-08-13 02:25:36 +09:00
Moreal
56f08a1417 Make eval able to receive bytes also 2022-08-13 02:22:20 +09:00
Hyunmin Shin
f3050d75e9 refactor: Remove stdlib::self 2022-08-12 17:48:58 +09:00
Jeong YunWon
9ad9b54074 Merge pull request #4041 from TwoPair/feature-thread-info
Feature: sys.thread_info
2022-08-12 12:21:32 +09:00
Jeong YunWon
7f2f4c636c Merge pull request #4047 from youknowone/fix-clippy
Fix clippy
2022-08-12 12:19:55 +09:00
Jeong YunWon
33ab9497a3 Fix clippy warnings 2022-08-12 11:45:33 +09:00
Jeong YunWon
2bb9aee5d3 Remove Display impl for PyObject 2022-08-12 10:55:23 +09:00
Jeong YunWon
93b4180759 Merge pull request #4003 from daeun503/type-qualname
Implemente type __qualname__ setter
2022-08-12 03:46:23 +09:00
Hyunmin Shin
ec5fd4a596 Feat: sys.thread_info 2022-08-12 00:30:15 +09:00
Daeun Lee
48019563ad Implemente type __qualname__ setter 2022-08-11 07:21:09 +09:00
Jeong YunWon
662910e0c6 Merge pull request #4031 from youknowone/encodings-feature
encodings as vm feature
2022-08-11 07:13:55 +09:00
Jeong YunWon
003af163cb feature importlib 2022-08-11 06:25:13 +09:00
Jeong YunWon
002b04d5b4 encodings as vm feature 2022-08-11 06:25:13 +09:00
Jeong YunWon
c9e865aff3 max_stacksize -> max_stackdepth 2022-08-11 06:22:39 +09:00
Jeong YunWon
6da928eeb1 Merge pull request #4038 from youknowone/break-target
Fix break to contain end label
2022-08-11 03:41:03 +09:00
Jeong YunWon
ffc3e1352a Fix break to contain end label 2022-08-11 02:01:34 +09:00
Hyunmin Shin
418cbea4ee Add expect message 2022-08-10 21:42:10 +09:00
Hyunmin Shin
6f0027145a Remove ok 2022-08-10 20:24:30 +09:00
Jeong YunWon
73b8e3bb47 Merge pull request #4035 from TwoPair/union-parameters
Fix making union parameters
2022-08-10 19:14:36 +09:00
Hyunmin Shin
b333355026 Fix: making parameters
`make_parameters`: Add `dedup_and_flatten_args` for duplicated elements
`dedup_and_flatten_args`: Fix a problem doesn't work for `genericalias`
2022-08-10 11:51:51 +09:00
Jeong YunWon
9c2847afd5 Merge pull request #3736 from youknowone/warning
warning module start
2022-08-08 04:42:26 +09:00
Jeong YunWon
a363b05340 PySetterValue for descr_set and setattro 2022-08-08 04:31:14 +09:00
Jeong YunWon
711acaaf05 Support getset deleter 2022-08-08 04:31:14 +09:00
Jeong Yunwon
5a80fc3b8c warning module start 2022-08-08 04:07:03 +09:00
Jeong YunWon
a5b18c4795 Fix _TextIOBase.encoding impl 2022-08-08 03:08:09 +09:00
Jeong YunWon
cd75df546d Merge pull request #3999 from qingshi163/sre030
Refactor to bump sre-engine to v0.3.0
2022-08-07 16:25:22 +09:00
Jeong YunWon
33db28d6cc Merge pull request #3968 from TwoPair/list-remove 2022-08-07 15:57:29 +09:00
Kangzhi Shi
8bdbc99216 refactor to bump sre-engine to v0.3.0 2022-08-07 15:48:37 +09:00
Hyun Park
849b81ee10 use Initiailizer for PyStaticMethod 2022-08-07 14:59:03 +09:00
Jeong YunWon
ec9fa505e3 marshal.version 2022-08-07 04:15:21 +09:00
Jeong YunWon
b32493d2cf marshal ascii/unicode 2022-08-07 04:13:21 +09:00
Jeong YunWon
6489ef153a bytes, none, ellipsis 2022-08-07 04:13:21 +09:00
Jeong YunWon
aa58cd2e75 Use enum marshal::Type instead of u8 2022-08-07 03:10:54 +09:00
Jeong YunWon
a353d5e27a redesign marshal 2022-08-07 02:40:40 +09:00
Jeong YunWon
320ed26ab9 marshal _dumps to take &mut vec 2022-08-07 02:38:37 +09:00
Jeong YunWon
5b1e92f793 remove redundant parenthesis 2022-08-06 04:57:34 +09:00
Jeong Yunwon
055c5cfb97 pyimpl -> pyclass 2022-08-05 01:18:10 +09:00
Gilteun Choi
13acb1ce6e Precision bug fix when FormatType is None (#3975) 2022-08-04 22:34:31 +09:00
joohongpark
9cac7a36dd replace exit with Exitcode (#3956) 2022-08-04 15:46:17 +09:00