Modify ↓
Ticket #15 (closed defect: fixed)
pyyaml discards '-' sign on negative floats
| Reported by: | alex_(a)_alexmole_(o)_co_(o)_uk | Owned by: | 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
Note: See
TracTickets for help on using
tickets.

Fixed in [170].