Skip to content

Attributes and dictionaries #748

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

Merged
merged 4 commits into from
Mar 25, 2019
Merged

Conversation

cthulahoops
Copy link
Collaborator

@cthulahoops cthulahoops commented Mar 25, 2019

Sorry, this is a bit of monster (especially as I had to change most of AST).

This is the controversial change I've been working towards:

After this:

  • Instances (including modules) use real dictionaries for their attributes.
  • Classes keep their attributes in a hidden PyAttributes.

We should create fewer dictionaries generally.

Copy link
Contributor

@windelbouwman windelbouwman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@windelbouwman
Copy link
Contributor

This work looks go to me, do you wish other reviewers to have a look at it?

@cthulahoops cthulahoops merged commit cac9da4 into master Mar 25, 2019
@cthulahoops cthulahoops deleted the attributes_and_dictionaries branch April 9, 2019 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants