On Fri, Jan 29, 2016 at 6:16 AM, Edward K. Ream <edream...@gmail.com> wrote:
> On Fri, Jan 29, 2016 at 5:31 AM, Kent Tenney <kten...@gmail.com> wrote: > >> Any interest in uA default format being text instead of pickle? >> > > No. > The documentation should suggest using str_ keys unless pickling is essential. This rule of them should apply to any new plugin that the code academy creates. I wonder. Is it possible to get the effect of what you suggest without actually changing Leo's file format? Some convention like only pickling keys that started with pickle_. At present, there is no p.u property, so maybe p.u could do the switcheroo. But no, that's a terrible idea. It would lead to confusion and broken plugins. The switcheroo would have to be bulletproof, but it can't be. v.u already exists, so changing v.u would break plugins. Bad things will happen long-term if p.u is different from p.v.u. Nobody, including me, is going to remember that p.u != p.v.u. So there's no way. In short, the documentation should just encourage the use of str_ keys. 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.