-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Named tuple support #331
Merged
Merged
Named tuple support #331
+12,123
−5,497
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c02c518 - Browse repository at this point
Copy the full SHA c02c518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ce0c83 - Browse repository at this point
Copy the full SHA 2ce0c83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1548101 - Browse repository at this point
Copy the full SHA 1548101View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c5f3e1 - Browse repository at this point
Copy the full SHA 3c5f3e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a222fb - Browse repository at this point
Copy the full SHA 1a222fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 407c59b - Browse repository at this point
Copy the full SHA 407c59bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f59228f - Browse repository at this point
Copy the full SHA f59228fView commit details
Commits on Oct 22, 2024
-
- create separate pytype for ARC4Tuple (in future probably want to do…
… the same for structs) - introduce pytypes.TupleLikeType that captures both native and ARC4Tuples - make a NamedTupleType subclass of TupleType that exposes a `fields` property which is easier to create & consume - use NamedTuple for pre-compiled data structures - correct implicit arc4 conversion to use iterate_static, which also ensure single evaluation - introduce pytype for NamedTupleBaseType - this is somewhat of a lie, since typing.NamedTuple is not actually part of MRO at runtime due to Python magic, but it's a good lie because it allows resolving expression and type builders for NamedTuple without any hackery - fixing some error messages to start with lower case - expose concrete types on WType and PyType classes, this simplifies some things and Sequence/Mapping was mostly used as shorthand - add some negative tests for NamedTuple scenarios - general refactoring of new NamedTuple feature
Configuration menu - View commit details
-
Copy full SHA for 8a9d495 - Browse repository at this point
Copy the full SHA 8a9d495View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.