Ticket #132 (closed defect: worksforme)
PySyck does not dump dictionaries
| Reported by: | xl269@… | Owned by: | xi |
|---|---|---|---|
| Priority: | highest | Component: | pysyck |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
infinity0@xl269:~$ uname -a Linux xl269 2.6.30-1-amd64 #1 SMP Sun Jun 14 15:00:29 UTC 2009 x86_64 GNU/Linux infinity0@xl269:~$ python --version Python 2.5.4 infinity0@xl269:~$ python Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from syck import * dump({1:2})
'--- {}\n\n'
load('{1: 2}\n')
{1: 2}
from yaml import * dump({1:2})
'{1: 2}\n'
load('{1: 2}\n')
{1: 2}
Attachments
Change History
comment:2 Changed 3 years ago by sgwong513@…
Works well here...
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] Type "copyright", "credits" or "license" for more information. In [1]: import syck
In [2]: syck.dump({1:2}) Out[2]: '--- \n1: 2\n'
In [3]:

note: this is the debian package python-syck (0.61.2-1)