Ticket #15 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

pyyaml discards '-' sign on negative floats

Reported by: alex_(a)_alexmole_(o)_co_(o)_uk Assigned to: xi
Priority: normal Component: pyyaml
Severity: normal Keywords:
Cc:

Description

yaml.load( 'foo: -3.1' ) returns {'foo': 3.10000}

The same technique preserves the sign of integers though, so I presume it must be a bug rather than a yaml feature.

Attachments

Change History

05/21/06 03:27:58 changed by xi

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [170].


Add/Change #15 (pyyaml discards '-' sign on negative floats)




Change Properties
Action