Custom Query (121 matches)
Results (31 - 33 of 121)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #107 | invalid | remove unused variable in representer | xi | py4fun@… |
| 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)
|
|||
| #120 | fixed | typo in yaml.__init__.py | xi | py4fun@… |
| Description |
line 46 in yaml.__init__.py contains a typo: "corresponSing" instead of "corresponDing" |
|||
| #181 | fixed | No symbols exported from yaml.dll | xi | pxn11432@… |
| Description |
yaml.dll built in vs2008 doesn't export any symbols. It has been corrected by declaring WIN32 pre-processor macro in yamldll.vcproj project. Regards, |
|||
Note: See TracQuery
for help on using queries.
