a personnal adaptation of pyclbr from the standard python lib