Re: [PyYAML] problems with nested mappings

Manlio Perillo <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il 02/10/2012 07:08, Kirill Simonov ha scritto:
> A YAML mapping is constructed lazily, so `construct_mapping()` may
> return an empty dictionary to be populated later.  To get a complete
> dictionary, use `loader.construct_mapping(node, deep=True)`.
> 

Thanks.

I suspected something like this and checked the documentation for
construct_mapping additional parameters.
However the deep optional parameter is not documented.



Regards  Manlio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlBqpkUACgkQscQJ24LbaUSg1gCgii3DKatovols0mxYER75j3Gm
dwwAn3t4Zelg0B3WrP+JYnqvcM7TsWxj
=Jwrs
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.