From: Steve H. <sh...@zi...> - 2002-09-09 17:25:03
|
----- Original Message ----- From: "Brian Ingerson" <in...@tt...> > YAML.pm and PyYAML both have loader options to create a graph that retains > key order. It's very useful. But the default loader behaviour is to create a > native graph binding where key order is lost due to the internal nature of > our languages. > The PyYaml facilities for preserving key order are pure vaporware, or emailware. ;) The key order currently gets lost in PyYaml, so you can't even use the !!private_type hooks to solve the problem. It's not a hard problem to fix, fortunately, but it will be probably bundled in with Dave Kuhlman's rewrite of the parser, which I am collaborating with him on, so it may be a few weeks. And, of course, I will be watching the discussion on the list, and other implementations, for guidance. Cheers, Steve |