submitting this as follow up of #25.
Feature Request
Suggestion, add unproxify() and unproxified() to ProxyObject to allow public access to wrapped object wherever necessary, and return the original object or copy thereof correspondingly.
Details
Currently done via accessing private attribute:
|
origin = element.origin if isinstance(element.origin, Frame) else element.origin._proxied_object |
Is your feature request related to a problem? Please describe.
The international high court for object oriented law has drawn our attention to the following potential violation of Decree No. 42, Chapter 17, Sub-Chapter 8.3.1(c)(iv) — "The Inviolability of Encapsulation in Object-Oriented Programming".
Describe alternatives you've considered.
Stepping away from object oriented programming and re-writing the whole ecosystem in Haskell.
Decision: maybe another time.
submitting this as follow up of #25.
Feature Request
Suggestion, add
unproxify()andunproxified()toProxyObjectto allow public access to wrapped object wherever necessary, and return the original object or copy thereof correspondingly.Details
Currently done via accessing private attribute:
compas_robots/src/compas_robots/model/robot.py
Line 1040 in eeb6662
Is your feature request related to a problem? Please describe.
The international high court for object oriented law has drawn our attention to the following potential violation of
Decree No. 42, Chapter 17, Sub-Chapter 8.3.1(c)(iv) — "The Inviolability of Encapsulation in Object-Oriented Programming".Describe alternatives you've considered.
Stepping away from object oriented programming and re-writing the whole ecosystem in Haskell.
Decision: maybe another time.