Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#1,067 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
Più di una settimana
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
c, python
Ambito
api

Direzione di ricerca

The clash is between the bd_lvm_vgdata_free C function, which Python exposes as the .free() method, and the free member of the BDLVMVGdata struct, which becomes the free attribute of BlockDev.LVMVGdata. Start by checking how the introspected Python bindings name these two symbols and whether the C API or the struct field should change. The issue defers the fix to libblockdev 4.0, and no maintainer decision is recorded, so a newcomer should first ask for the intended naming before editing anything.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 :-)

Lingua principale
C
Stelle
137
Fork
64
Merge medio
22h 21m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di storaged-project/libblockdev

Tutte le issue di storaged-project/libblockdev

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.