Custom Query (171 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (16 - 18 of 171)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Ticket Resolution Summary Owner Reporter
#69 invalid scalar value of escaped double-newline parsed as a single newline xi anonymous

Reported by anonymous, 7 years ago.

Description

When parsing the following: terminator : "\n\n"

The value of the right side scalar is returned as \n, rather than \n\n. Likewise, four newlines ("\n\n\n\n") is parsed as three ("\n\n\n").

#78 wontfix run-scanner.c:61: error: too many arguments to function ‘yaml_parser_get_error’ xi rasmus-flajm-se

Reported by rasmus-flajm-se, 6 years ago.

Description
rasmus@apple:~/src/libyaml-trunk make
...
Making all in tests
gcc -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT run-scanner.o -MD -MP -MF .deps/run-scanner.Tpo -c -o run-scanner.o run-scanner.c
run-scanner.c: In function ‘main’:
run-scanner.c:61: error: too many arguments to function ‘yaml_parser_get_error’
make[2]: *** [run-scanner.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
rasmus@apple:~/src/libyaml-trunk svn info
Path: .
URL: http://svn.pyyaml.org/libyaml/trunk
Repository Root: http://svn.pyyaml.org
Repository UUID: 18f92427-320e-0410-9341-c67f048884a3
Revision: 267
Node Kind: directory
Schedule: normal
Last Changed Author: xi
Last Changed Rev: 267
Last Changed Date: 2008-01-19 14:54:22 +0100 (Lör, 19 Jan 2008)

rasmus@apple:~/src/libyaml-trunk uname -a
Darwin *** 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar  4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386
rasmus@apple:~/src/libyaml-trunk
#107 invalid remove unused variable in representer xi py4fun@…

Reported by py4fun@…, 6 years ago.

Description

remove unused list self.object_keeper in representer

Index: C:/projects/workspace_python/PyYAML_2/lib/yaml/representer.py
===================================================================
--- C:/projects/workspace_python/PyYAML_2/lib/yaml/representer.py	(revision 298)
+++ C:/projects/workspace_python/PyYAML_2/lib/yaml/representer.py	(working copy)
@@ -26,14 +26,12 @@
         self.default_style = default_style
         self.default_flow_style = default_flow_style
         self.represented_objects = {}
-        self.object_keeper = []
         self.alias_key = None
 
     def represent(self, data):
         node = self.represent_data(data)
         self.serialize(node)
         self.represented_objects = {}
-        self.object_keeper = []
         self.alias_key = None
 
     def get_classobj_bases(self, cls):
@@ -54,7 +52,6 @@
                 #    raise RepresenterError("recursive objects are not allowed: %r" % data)
                 return node
             #self.represented_objects[alias_key] = None
-            self.object_keeper.append(data)
         data_types = type(data).__mro__
         if type(data) is types.InstanceType:
             data_types = self.get_classobj_bases(data.__class__)+list(data_types)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Note: See TracQuery for help on using queries.