On Thursday, June 24, 2021 at 12:48:33 PM UTC-5 Edward K. Ream wrote:
> This is PR #2003 <https://github.com/leo-editor/leo-editor/pull/2003> and > issue #2004 <https://github.com/leo-editor/leo-editor/issues/2004>. > > Unless I hear compelling arguments against, I plan to "freeze" all the > classes in leoNodes.py (Position, VNode, NodeIndices and PosList classes) > by defining a __slot__ attribute > <https://docs.python.org/3/reference/datamodel.html#slots>for each class. > Adding slots prevents plugins from directly injecting attributes into Position objects. #2015 <https://github.com/leo-editor/leo-editor/issues/2015> suggests adding p.pluginDict as a workaround. All comments welcome. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/d34799f7-f59f-47a9-84ac-28b0d43275edn%40googlegroups.com.
