RE: Recursive loading trouble for immutables

2007-11-25 Thread rekkufa
Mel wrote: ... Here's something that works, in the sense of creating a tuple containing a self-reference. I don't know how dangerous it realliy is ... Thanks for the testing. Given the unknown dangers that might (or might not) lurk with these things, the fact that recursive tuples are never

RE: Recursive loading trouble for immutables

2007-11-23 Thread rekkufa
On Sat Nov 24 00:19:20 CET 2007, Steven D'Aprano wrote: You mean like pickle? (Pardon me for telling you something you may already know, but then you may not already know it...) The serializer I am writing has very different goals, way beyond just the serializing bit, human readability being

Recursive loading trouble for immutables

2007-11-23 Thread rekkufa
I am currently building a system for serializing python objects to a readable file-format, as well as creating python objects by parsing the same format. It is more or less complete except for a single issue I just cannot figure out by myself: How to load data that specifies immutables that