Package: python-syck
Version: 0.42-5

ydump doesn't escape asterisks correctly.  Asterisks are used by YAML to
indicate aliases, so if you have a text string that starts with an
asterisk, it needs to be escaped.

What ydump does currently (wrong):
>>> ydump.dump('*YAML*')
'--- *YAML*\n'

(I'm not sure this is even valid YAML.  It certainly doesn't mean 'the
string "*YAML*".)

The correct output should be something like: '--- "*YAML*"\n' (there are
probably several correct ways to escape it).

(This is especially nasty because Syck crashes if you try to use an
alias that hasn't been defined, and *YAML* looks like an alias to it.)


-- 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