Package: python-syck
Version: 0.42-5

If you try to parse a YAML file with Syck that has an alias that hasn't
been defined, it crashes.

It works fine if all references are defined:

>>> syck.load("""---
... - &a stuff
... - *a""")
['stuff', 'stuff']

If a file has a bad reference, boom:

>>> syck.load("""---
... - &a stuff
... - *b""")
Segmentation fault

Expected behavior: it should raise an exception, so the programmer can
catch it and deal with it.  (Python programs should never crash!)


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages python-syck depends on:
ii  python                        2.3.4-6    An interactive high-level
object-o
ii  python2.3-syck                0.42-5     YAML parser kit -- Python
2.3 bind

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to