Custom Query (121 matches)
Results (4 - 6 of 121)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #4 | fixed | Inf and NaN handling needs re-vamp | xi | murphy@… |
| Description |
Try: yaml.load('...')
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\__init__.py", line 73, in load
return loader.get_data()
File "c:\Python\Lib\site-packages\yaml\constructor.py", line 40, in get_data
return self.construct_document(self.get_node())
File "c:\Python\Lib\site-packages\yaml\composer.py", line 24, in get_node
return self.compose_document()
File "c:\Python\Lib\site-packages\yaml\composer.py", line 38, in compose_document
self.get_event()
File "c:\Python\Lib\site-packages\yaml\parser.py", line 102, in get_event
self.current_event = self.event_generator.next()
File "c:\Python\Lib\site-packages\yaml\parser.py", line 123, in parse_stream
StreamEndToken):
File "c:\Python\Lib\site-packages\yaml\scanner.py", line 116, in check_token
self.fetch_more_tokens()
File "c:\Python\Lib\site-packages\yaml\scanner.py", line 191, in fetch_more_tokens
if ch == u'.' and self.check_document_end():
File "c:\Python\Lib\site-packages\yaml\scanner.py", line 704, in check_document_end
prefix = self.peek(4)
File "c:\Python\Lib\site-packages\yaml\reader.py", line 125, in peek
return self.buffer[self.pointer+index]
IndexError: string index out of range
|
|||
| #5 | fixed | PYYAML3000 does not load recursive structures. | xi | pkmurphy@… |
| Description |
PYYAML does not load any structure with an anchor that contains its own alias. For example: ourconst2 = "---\n!!seq &base [ *base ] \n...\n"; print ourconst2; for event in yaml.parse(ourconst2): print event ourload = yaml.safe_load(ourconst2) print ourload; |
|||
| #6 | fixed | pyyaml 3000 is not in the Python cheese shop | xi | dholth@… |
| Description |
Also consider this word of wisdom from PEP 8: "Modules should have short, lowercase names, without underscores." Thanks! |
|||
Note: See TracQuery
for help on using queries.
