Modify ↓
Ticket #76 (assigned defect)
Sets are dumped with null values
| Reported by: | anonymous | Owned by: | xi |
|---|---|---|---|
| Priority: | normal | Component: | pyyaml |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by xi) (diff)
Dumping sets looks kind of ugly. You get:
'!!set {1: null, 2: null, 3: null}'
instead of
'!!set {1, 2, 3}'
This looks even worse when each element in the set is a bit more complicated.
Attachments
Change History
comment:2 Changed 2 years ago by anonymous
Also, block-mode !!set should look like
!!set ? Mark McGwire ? Sammy Sosa ? Ken Griff
and not like
!!set Mark McGwire: null Sammy Sosa: null Ken Griff: null
Note: See
TracTickets for help on using
tickets.

Your complaint is justified, but it's not that easy to fix. Still, I'm accepting the ticket.