Modify ↓
Ticket #28 (closed defect: worksforme)
Incorrect handling of strings with trailing spaces
| Reported by: | yang | Owned by: | xi |
|---|---|---|---|
| Priority: | highest | Component: | pysyck |
| Severity: | major | Keywords: | |
| Cc: |
Description (last modified by xi) (diff)
The following fails because the trailing space is dropped. I don't know if this is incorrect dumping (should've quoted), loading (should not have ignored the space), or even both.
s = 'abc ' assert syck.load( syck.dump(s) ) == s
Attachments
Change History
comment:2 Changed 7 years ago by xi
- Status changed from new to closed
- Resolution set to worksforme
- Description modified (diff)
It seems you are using some older version of libsyck. I'd recommend you to install libsyck from svn: http://code.whytheluckystiff.net/svn/syck
Note that this is not a bug in pysyck, Python bindings to libsyck.
Note: See
TracTickets for help on using
tickets.

Should've used preview....