Custom Query (121 matches)


Show under each result:

Results (1 - 3 of 121)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#2 invalid Does PySyck support python pickling xi tom.denniston@…

Reported by tom.denniston@…, 11 years ago.


PySyck looks very cool.

However, it would be ideal if you could pickle an object in YAML format. In other words if a load of the yaml restored the object as an object not a dictionary. Not sure if this functionality exists but I cannot get it to work.


#3 fixed allow_unicode missing in emitter? xi tim@…

Reported by tim@…, 11 years ago.


Trying to emit plain chars in utf8 (£ symbol for instance - \xc2\xa3) isn't working.. I think I've tracked it down to missing allow_unicode passing through to emitter and possibly the emit events resetting allow_unicode (I won't say I've fixed it as I've forced allow_unicode to True in various places to get it to emit plain's in utf-8 rather than double quoted escaped unicode). I'll post more tomorrow if I can get my fix cleaner. Looking good btw!!

#4 fixed Inf and NaN handling needs re-vamp xi murphy@…

Reported by murphy@…, 11 years ago.




On Python 2.3.5 (on Windows) it gives:

>>> yaml.load('...')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "c:\Python\Lib\site-packages\yaml\", line 73, in load
    return loader.get_data()
  File "c:\Python\Lib\site-packages\yaml\", line 40, in get_data
    return self.construct_document(self.get_node())
  File "c:\Python\Lib\site-packages\yaml\", line 24, in get_node
    return self.compose_document()
  File "c:\Python\Lib\site-packages\yaml\", line 38, in compose_document
  File "c:\Python\Lib\site-packages\yaml\", line 102, in get_event
    self.current_event =
  File "c:\Python\Lib\site-packages\yaml\", line 123, in parse_stream
  File "c:\Python\Lib\site-packages\yaml\", line 116, in check_token
  File "c:\Python\Lib\site-packages\yaml\", line 191, in fetch_more_tokens
    if ch == u'.' and self.check_document_end():
  File "c:\Python\Lib\site-packages\yaml\", line 704, in check_document_end
    prefix = self.peek(4)
  File "c:\Python\Lib\site-packages\yaml\", line 125, in peek
    return self.buffer[self.pointer+index]
IndexError: string index out of range
1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.