Commit Graph

11967 Commits

Author SHA1 Message Date
dvermd
02af970fcf document code generation 2022-10-24 15:38:42 +02:00
dvermd
c1aa5dfcbe remove scripts/generate_docs.py 2022-10-24 15:38:42 +02:00
Jeong YunWon
d0fe03c431 Merge pull request #4243 from oow214/ast_fields
Add `_fields` attribute to ast
2022-10-24 18:37:21 +09:00
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
ff057b267d Remove expectedFailure from test_default_annotations_exist 2022-10-22 01:52:09 +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
Jeong YunWon
268f3aef04 Merge pull request #4237 from jeffwang0516/method-reduce 2022-10-21 17:37:55 +09:00
jeffwang0516
aa40195d24 Remove expected failures for method related tests 2022-10-21 14:29:19 +08: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
Kuan-Chun Wang
dda6f86ba3 Fix global behavior on class (#4234) 2022-10-21 13:06:50 +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
Jim Fasarakis-Hilliard
2940ef88d1 Merge pull request #4236 from devonhollowood/minmax
Fix compatibility bug for min/max builtins
2022-10-20 11:53:58 +03: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
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