Commit Graph

11910 Commits

Author SHA1 Message Date
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
Jeong YunWon
ec46ae152e Merge pull request #4197 from jopemachine/update-unittest-runner
Update `unittest/runner.py` from CPython v3.12.0a0
2022-10-10 17:00:11 +09:00
Jeong YunWon
3082379d12 Merge pull request #4202 from dvermd/takewhile_setstate
Takewhile setstate
2022-10-10 00:12:00 +09:00
dvermd
539c662f87 Add test for dropwhile.__setstate__ 2022-10-05 14:54:43 +02:00
dvermd
fdd159c14d Add takewhile.__setstate__ 2022-10-05 14:54:01 +02:00
Jeong YunWon
9100ec33ab Merge pull request #4201 from dvermd/dropwhile_reduce
Add dropwhile.__reduce__
2022-10-05 12:47:28 +09:00
Gyubong
38affeaed1 Add expectedFailure to test_warnings 2022-10-05 08:04:48 +09:00
dvermd
bfa74dda87 Add dropwhile.__reduce__ 2022-10-05 00:26:07 +02:00
Gyubong
706398c4c8 Update unittest/runner.py from CPython v3.12.0a0 2022-10-05 07:13:25 +09: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
Gyubong
773066f2dd Remove expectedFailure 2022-10-04 17:28:00 +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
Jeong YunWon
ec6461d2f3 Merge pull request #4195 from jopemachine/enable-vm-trace
Fix compile error when using `vm-tracing-logging` is on
2022-10-04 16:59:22 +09:00
Jeong YunWon
06073fe863 Merge pull request #4196 from jopemachine/update-pprint
Update `pprint` lib and tests from CPython v3.12.0a0
2022-10-04 16:58:23 +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
01aad3cf4e Remove expectedFailure from test_dataclass_no_repr 2022-10-04 13:01:29 +09:00
Gyubong
7b106634a3 Update test_pprint.py from CPython v3.12.0a0 2022-10-04 12:15:04 +09:00
Gyubong
b0f620cd12 Update pprint.py from CPython v3.12.0a0 2022-10-04 12:14:53 +09:00
Gyubong
c096347077 Fix compile error when using vm-tracing-logging is on 2022-10-04 11:25:08 +09:00
Gyubong
a6c07bc58f Update test_code.py from CPython v3.12.0a0 2022-10-04 10:55:13 +09:00
Gyubong
44501f5ebf Restore YIELD_FROM def_op 2022-10-04 10:53:57 +09:00
Gyubong
33e1007d7c Update opcode.py from CPython v3.12.0a0 2022-10-04 10:47:30 +09:00
Gyubong
cf0ee0c0a5 Add co_names to PyCode 2022-10-03 18:04:17 +09:00
Jeong YunWon
ac2532822b Merge pull request #4184 from afonso360/cranelift-version
Update JIT Cranelift version
2022-10-03 12:12:41 +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
Jeong YunWon
02e013198f Merge pull request #4154 from jopemachine/add-utc-alias
Add `datetime.UTC` alias for `datetime.timezone.utc`
2022-10-02 16:17:13 +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
Jeong YunWon
5a5e047eab Merge pull request #4174 from jopemachine/fix-dis
Always insert `None` at `code_stack.constants`
2022-10-01 22:45:08 +09:00
dvermd
164e343517 add takewhile.__reduce__ 2022-10-01 15:31:03 +02:00
Gyubong
c39c745275 Add extra_test 2022-10-01 18:24:42 +09:00
Gyubong
70812eb880 Handle Lambda Expression 2022-10-01 18:23:11 +09:00
fanninpm
3301220a6b Merge pull request #4186 from andersk/arithmetic
Spell “arithmetic” correctly
2022-09-30 09:29:36 -04:00
Anders Kaseorg
b9a07f811d Spell “arithmetic” correctly
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-09-28 17:58:30 -07: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
Ethan Post
c2a5acb40c Implements 6 os/posix constants missing for macos (#4110) 2022-09-26 15:48:48 +09:00
Afonso Bordado
a91e15aaf4 Update JIT Cranelift version 2022-09-24 18:36:42 +01:00
Kim, YeonWoo
27356bf057 Refactor function repr 2022-09-24 20:28:12 +09:00
Kim, YeonWoo
b4360f8583 Update function __qualname__ 2022-09-24 20:18:00 +09:00
Jeong YunWon
2a26ed0096 Merge pull request #4147 from youknowone/interpreter-config
Interpreter config
2022-09-24 13:48:46 +09:00
Jeong YunWon
2c611aa196 Merge pull request #4146 from oow214/warning_warn_explicit
Update warning warn_explicit
2022-09-24 13:47:58 +09:00
Jeong YunWon
ac28407e25 fix styles 2022-09-24 13:10:26 +09:00
Kim, YeonWoo
0e135c9bfb Fix warning module 2022-09-24 13:10:26 +09:00