YAML dump converts string into float for 08 and 09

Issue #48 new
balan ukkira pandian
created an issue

IM using Python2.7 and PyYAM version 3.10

This is my code snippet,

import yaml

data = """ value1: '07' value2: '08' value3: '09' value4: '10' """

t = yaml.load(data)

print t

Output: {'value4': '10', 'value3': '09', 'value2': '08', 'value1': '07'}

print yaml.dump(t)

Output: {value1: '07', value2: 08, value3: 09, value4: '10'}

Output Needed: {value1: '07', value2: '08', value3: '09', value4: '10'}