Skip to content
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

Implement Object.(get|set), make Object.set support callables, deprecate Context.(get|set|add_callable) #82

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

qwenger
Copy link
Collaborator

@qwenger qwenger commented Apr 8, 2022

Extended alternative to #81:

  • Object.get and Object.set are implemented;
  • Object.set supports callables, merging in the code from Context.add_callable;
  • Context.get_global is implemented;
  • Context.get, Context.set, Context.add_callable are reimplemented using Context.get_global and Object.get/Object.set and are marked as deprecated.

@qwenger
Copy link
Collaborator Author

qwenger commented May 2, 2022

The global part was implemented in #104 as a property.

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.

1 participant