id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc
40,incomplete dict constructor,dvd@…,xi,"Hi all,

I'm puzzled by a strange behavior of yaml

If you run the attached script you obtain an output like this:

{{{
#!python
{'date': '732638',
'fields': {},
'guid': '0000010f153544cf8a314808007f000000000001',
'expiration': None}
{'date': '732638',
'fields': {'': {}, 'it': {'title': 'Hello World'}},
'guid': '0000010f153544cf8a314808007f000000000001',
'expiration': None}
}}}

*Please note the 'fields' value (I wrap the output to increase legibility)*

the first line is printed inside this ''custom constructor'' function:

{{{
#!python
def news_constructor(loader, node):
    nodes = loader.construct_mapping(node)
    print nodes
    return nodes
}}}

the second line (the correct one) is the print of the return values of this function

Can you help me or explain me this strange behavior?
",defect,closed,normal,pyyaml,major,worksforme,,dvd@…
