Commit Graph

11951 Commits

Author SHA1 Message Date
Devon Hollowood
893f86e9cf Respond to reviewer comments 2022-10-23 10:17:43 -07:00
Devon Hollowood
beeb0441ef Allow log2() to work on large integers 2022-10-22 14:55:14 -07:00
Jeong YunWon
4331d65285 Merge pull request #4230 from youknowone/smtpd
Add smtpd from cpython v3.10.8
2022-10-18 14:06:15 +09:00
CPython Developers
39784367ee Add smtpd from cpython v3.10.8 2022-10-18 03:26:29 +09:00
Jeong YunWon
8fbab2e409 Merge pull request #4229 from charliermarsh/charlie/tokens
Expose a method to parse AST from tokens directly
2022-10-18 02:11:53 +09:00
Charlie Marsh
9ced976cde Remove parse_program_tokens 2022-10-17 12:04:30 -04:00
Charlie Marsh
71de630336 Expose a method to parse AST from tokens directly 2022-10-17 09:39:48 -04: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
cf099ff4b8 Merge pull request #4218 from charliermarsh/charlie/clone
Make AST nodes Clone-able
2022-10-17 13:47:21 +09:00
Jeong YunWon
72332c90d1 Merge pull request #4226 from jopemachine/fix-class-static
Fix lambda expression's  unexpected `UnboundLocalError`
2022-10-17 13:46:09 +09:00
Gyubong
117ae0a0ea Add example code as extra test 2022-10-17 13:45:15 +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
Jeong YunWon
425895dd0e Merge pull request #4227 from charliermarsh/charlie/simple-str-loc
Start simple string at quote mark
2022-10-17 09:52:28 +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
Charlie Marsh
e7e62d36ba Start simple string at quote mark 2022-10-16 11:25:46 -04:00
Charlie Marsh
d8f059bc58 Make AST nodes Clone-able 2022-10-16 11:01:17 -04:00
Gyubong
67c4bd0467 Fix #3934 2022-10-16 15:34:44 +09:00
joohongpark
8960e78a6c remove expeted failure 2022-10-16 14:46:23 +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
4be533ac60 Merge pull request #4220 from charliermarsh/charlie/str-loc
Start string location at kind or quote prefix
2022-10-16 00:48:49 +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
3bd46b0e18 Merge pull request #4221 from charliermarsh/charlie/readme
Add Ruff as a use-case in the README
2022-10-16 00:36:38 +09:00
Charlie Marsh
ab2a638c66 Add Ruff as a use-case in the README 2022-10-15 11:08:11 -04:00
Charlie Marsh
ab159c98b2 Start string location at kind or quote prefix 2022-10-15 11:03:50 -04: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
Moreal
6bf6f58ecf Provide setter in pymember 2022-10-15 14:16:42 +09:00
Dan Näsman
6eb4e57a5b <code object>::replace() (#4207) 2022-10-15 14:10:36 +09:00
dvermd
f1e1046932 Refactor fstrings (#4188) 2022-10-14 12:16:34 +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
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
Moreal
68fc72b70e Support T_BOOL member type 2022-10-10 16:58:47 +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