Commit Graph

6861 Commits

Author SHA1 Message Date
Kim, YeonWoo
b35330b63a Add _fields attribute to ast 2022-10-24 00:59:49 +09:00
Jeong YunWon
38b169e863 Merge pull request #4217 from oow214/type_annotations
Add annotations for type
2022-10-22 15:50:22 +09:00
Kim, YeonWoo
e8755a75c6 Add set annotations for type 2022-10-22 01:50:58 +09:00
Kim, YeonWoo
c85b93abf6 Add get annotations for type 2022-10-22 01:49:46 +09:00
jeffwang0516
df6d442ca8 Add method.__reduce__ 2022-10-21 14:29:19 +08:00
Dan Näsman
78586f0275 Chain reduce (#4232) 2022-10-21 15:04:25 +09:00
Jeong YunWon
2868e874c9 Merge pull request #4235 from dannasman/zip_longest_reduce
Add reduce and setstate for zip_longest
2022-10-20 18:02:19 +09:00
Devon Hollowood
052b87b6e7 Fix compatibility bug for min/max builtins
This was as simple as fixing the error messages produced when zero
arguments are passed.
2022-10-19 22:34:15 -07:00
Dan Nasman
0706d8ea73 fix clippy issues 2022-10-19 21:07:41 +03:00
Dan Nasman
f6e423c479 add reduce and setstate for zip_longest 2022-10-19 20:59:05 +03:00
Jeong YunWon
1f9d8524ff Merge pull request #4225 from joohongpark/fix-float-fromhex
Fix class method of a float subclass
2022-10-17 15:10:10 +09:00
Jeong YunWon
6d140fb0e7 Merge pull request #4223 from youknowone/nightly-clippy
Fix nightly clippy warnings
2022-10-17 13:28:53 +09:00
Charlie Marsh
610d408b4b Add end locations to all nodes (#4192) 2022-10-17 13:18:30 +09:00
Jeong YunWon
00dc025463 Merge pull request #4228 from gilteunchoi/remove-old-doc-remark
remove most of old __doc__ remarks
2022-10-17 11:59:51 +09:00
Steve Shi
2c5cacf9f2 Refactor Mapping Protocol (#4222) 2022-10-17 09:51:22 +09:00
gilteun
227034d36b remove most of old __doc__ remarks 2022-10-17 09:00:01 +09:00
joohongpark
8c18208fe6 Update vm/src/builtins/float.rs
Co-authored-by: Snowapril <sinjihng@gmail.com>
2022-10-17 02:12:36 +09:00
joohongpark
abb994d410 Fix class method 2022-10-16 11:59:05 +09:00
Steve Shi
30aeb8bee5 Introduce PyAtomicRef and impl for PyObject.typ (#3828)
* introduce PyAtomicRef

* refactor PyObject.typ use PyAtomicRef

* add documents

* add swap_to_temporary_refs

* replace AtomicCell with PyAtomic

* fix name conflict
2022-10-15 21:53:12 +02:00
Jeong YunWon
d94f638784 Fix nightly clippy warnings 2022-10-16 02:38:50 +09:00
Jeong YunWon
b437aa315a Merge pull request #4216 from gilteunchoi/class-doc-fixed
class-doc-fixed
2022-10-16 00:37:26 +09:00
Jeong YunWon
1cb7f4dcf8 Merge pull request #4214 from youknowone/platform-clippy
Add platform-dependent clippy running to CI
2022-10-15 17:13:42 +09:00
Jeong YunWon
ef887adc8b Merge pull request #4208 from moreal/pymember-tbool
* Support `T_BOOL` member type
* Configure `pymember`'s MemberKind manually
* Provide setter in `pymember`
* Implement `Frame.f_trace_lines`
2022-10-15 17:13:27 +09:00
gilteun
af2f857956 class-doc-fixed 2022-10-15 16:13:54 +09:00
Jeong YunWon
185e0cb62d clippy is platform-dependent 2022-10-15 15:53:39 +09:00
Moreal
91fca47f6a Implement Frame.f_trace_lines 2022-10-15 15:41:57 +09:00
Dan Näsman
6eb4e57a5b <code object>::replace() (#4207) 2022-10-15 14:10:36 +09:00
Steve Shi
273ffd969c Optimize PyType Creation (#4209) 2022-10-11 15:05:52 +09:00
Steve Shi
186990f4f2 Refactor Sequence Protocol (#4137)
* Refactor Sequence Protocol

* rebase

* fixup

* fix inherit slots

* rebase

* fix io slot_init

* mark unsuccess test_xml_etree
2022-10-10 20:21:15 +02:00
Moreal
a300a244f1 Configure pymember's MemberKind manually 2022-10-10 17:17:32 +09:00
Moreal
68fc72b70e Support T_BOOL member type 2022-10-10 16:58:47 +09:00
dvermd
fdd159c14d Add takewhile.__setstate__ 2022-10-05 14:54:01 +02:00
dvermd
bfa74dda87 Add dropwhile.__reduce__ 2022-10-05 00:26:07 +02:00
Jeong YunWon
3a36e551a1 Merge pull request #4191 from dvermd/oserror_reduce
Add OSError.__reduce__
2022-10-05 00:29:57 +09:00
dvermd
4c6cb00cb3 Add OSError.__reduce__ 2022-10-04 16:08:34 +02:00
Jeong YunWon
54d7c34668 Merge pull request #4194 from dvermd/oserror_attributes
Fill OSError attributes
2022-10-04 22:55:12 +09:00
dvermd
a18bad2ca3 Fill OSError attributes 2022-10-04 13:34:09 +02:00
Jeong YunWon
bd696b5369 Merge pull request #4199 from jopemachine/fix-harmonic_mean
Fix `int.inner_truediv`
2022-10-04 20:03:50 +09:00
Jeong YunWon
46ff23977e Merge pull request #4177 from jopemachine/add-co-names
Add `co_names` to `PyCode`
2022-10-04 17:03:17 +09:00
Gyubong
a98288b911 Add overflow handling logic 2022-10-04 16:57:27 +09:00
Gyubong
c8d0360760 Fix #4198 2022-10-04 16:29:09 +09:00
Gyubong
c096347077 Fix compile error when using vm-tracing-logging is on 2022-10-04 11:25:08 +09:00
Gyubong
cf0ee0c0a5 Add co_names to PyCode 2022-10-03 18:04:17 +09:00
Jeong YunWon
fab53f0391 Merge pull request #4187 from dvermd/structseq_matchargs
match args without n_*_fields
2022-10-03 12:08:40 +09:00
dvermd
7f86178a46 match args without n_*_fields 2022-10-02 17:01:16 +02:00
Jeong YunWon
e56950abb3 Merge pull request #4190 from dvermd/takewhile_reduce
add takewhile.__reduce__
2022-10-02 16:17:37 +09:00
dvermd
76a94d57ef Add __match_args__ to core language attributes 2022-10-01 21:33:57 +02:00
Gyubong
11a6b73fbf Fix hash's error message when hash method is None (#4161) 2022-10-01 22:46:14 +09:00
dvermd
164e343517 add takewhile.__reduce__ 2022-10-01 15:31:03 +02:00
Jeong YunWon
1b7b3f067c Merge pull request #4183 from oow214/function_qualname
Update function `__qualname__` and `repr`
2022-09-26 16:03:59 +09:00