Modify

Ticket #15 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

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

comment:1 Changed 8 years ago by xi

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [170].

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.