Custom Query (121 matches)
Results (112 - 114 of 121)
|#53||fixed||Allow for immutable subclasses of YAMLObject||xi||toidinamai|
YAMLObject are not directly instantiated so they don't need their own instance attribute (i.e. an own dict). Because of that they should define an empty slots and let subclasses decide whether they want arbitrary instance attributes or not:
--- lib/yaml/__init__.py (revision 251) +++ lib/yaml/__init__.py (working copy) @@ -272,6 +272,9 @@ yaml_tag = None yaml_flow_style = None + # no direct instantiation, so allow for immutable subclasses + __slots__ = () + def from_yaml(cls, loader, node): """ Convert a representation node to a Python object.
The same is basically also true for YAMLObjectMetaclass but I doubt there is much use for this in practice.
|#130||fixed||Python 3.1 support?||xi||tom.aldenberg@…|
Hi, I wanted to try PyYaml? under 3.1rc2, but the installment procedure refused to recognize, or name, a directory other than Python30.
|#188||fixed||pyyaml 3.09 fails to build with gcc4.6||xi||ubuntu@…|
In the next Ubuntu release we will be using gcc4.6. pyyaml fails to build with it. The failure is:
Function `PyCObject_FromVoidPtr' implicitly converted to pointer at ext/_yaml.c:20301 Function `PyCObject_FromVoidPtr' implicitly converted to pointer at ext/_yaml.c:20301
The full build log is available at: