Modify ↓
Ticket #249 (new defect)
Opened 11 months ago
load() interprets "1e-10" as string
| Reported by: | anonymous | Owned by: | xi |
|---|---|---|---|
| Priority: | normal | Component: | pyyaml |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The summary says it all:
The loader correctly indentifies "1.0e-10" as float, but fails for expressions like "1e-10". Check out
yaml.load('{value: 1e-10}')
Cheers, Nico
Attachments
Note: See
TracTickets for help on using
tickets.
