#acl PaulHowarth:read,write,admin,revert,delete All:read === Thursday 4th November 2010 === ==== Local Packages ==== * Updated `libxml2` to 2.7.8, adding patches to fix shared library versioning (similar to the one in Rawhide) and another to support building the `python` bindings with `python` versions older than 2.4, which don't have the `sorted()` function: * Various bug fixes, including potential crashes * New non-destructive formatting option * Date parsing updated to RFC 5646 . {{{ --- a/python/generator.py +++ b/python/generator.py @@ -553,7 +553,9 @@ wrapper.write("#include \n") wrapper.write("#include \"libxml_wrap.h\"\n") wrapper.write("#include \"libxml2-py.h\"\n\n") - for function in sorted(functions.keys()): + functionlist = functions.keys() + functionlist.sort() + for function in functionlist: ret = print_function_wrapper(function, wrapper, export, include) if ret < 0: failed = failed + 1 @@ -856,7 +858,9 @@ if tinfo[2] == classe: ctypes.append(type) ctypes_processed[type] = () - for type in sorted(classes_type.keys()): + classes_type_list = classes_type.keys() + classes_type_list.sort() + for type in classes_type_list: if ctypes_processed.has_key(type): continue tinfo = classes_type[type] }}} ----