On Mon, Dec 10, 2012 at 08:40:02PM +0200, Zeeshan Ali (Khattak) wrote: > - OsinfoList is now instantiable and all its subclasses has been deprecated. > Newer code should use OsinfoList directly. This is not quite right. Derived classes should still be used and are not deprecated. osinfo_foolist_new_copy, osinfo_foolist_new_filtered, osinfo_foolist_new_intersection and osinfo_foolist_new_union have been deprecated in subclasses and moved to the OsinfoList class. The reasoning for that is that these helpers were duplicated in all OsinfoList classes while they were only useful for a few of these subclasses. Having them in the base class makes the API smaller and simpler. One drawback of this approach is that the return value of these functions is now OsinfoList, though its runtime type will be the same type as its list arguments. Christophe
Attachment:
pgpEUFJcdTFxF.pgp
Description: PGP signature
_______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list