Skip to content
This repository was archived by the owner on Jan 1, 2026. It is now read-only.

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

Open
qwenger wants to merge 2 commits intoPetterS:masterfrom
qwenger:feature_object_get_set_callable
Open

Implement Object.(get|set), make Object.set support callables, deprecate Context.(get|set|add_callable)#82
qwenger wants to merge 2 commits intoPetterS:masterfrom
qwenger:feature_object_get_set_callable

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant