storaged-project / libblockdev

A library for manipulating block devices.
GNU Lesser General Public License v2.1
107 stars 56 forks source link

bd_lvm_vgdata_free conflicts with the "free" attribute of BDLVMVGdata in Python #1067

Open vojtechtrefny opened 1 month ago

vojtechtrefny commented 1 month ago

In Python bindings the bd_lvm_vgdata_free function gets translated to .free() method of the BlockDev.LVMVGdata object which also has the free (as in free space) attribute so the free function is not available. Not sure if we can do something about this without changing the free member of BDLVMVGdata so this is probably something to be fixed in libblockdev 4.0 :-)