On Thu, May 20, 2010 at 7:58 AM, Ville M. Vainio <[email protected]> wrote: > On Thu, May 20, 2010 at 3:47 PM, Edward K. Ream <[email protected]> wrote: > >>> - make the default UA a string instead of a pickle >> >> I'm not going to change the default. That could/would break existing >> .leo files. > > It wouldn't. Kent means tuple, not pickle,
Actually, I was referring to Leo's practice of pickling UAs unless they are named str_xxx As I understand it, creating a UA "mystring"="Hello World" wil result in <... mystring="S'Hello World'\np0\n." ...> and "str_mystring="Hello World" will result in <... str_mystring="Hello World" ...> Pickling by default is Python-specific and unexpected if the .leo file is generalized from providing persistence for Leo to a datastore format. (my motivation for these suggestions) and this is just about > internal representation. > > I remember suggesting the same a long time ago; it's weird that gnx is > tuple but it's pretty much always used as a string. > > -- > Ville M. Vainio > http://tinyurl.com/vainio > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/leo-editor?hl=en. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
