What will happen if you call x.get_section_by_path with a path to a property?  e.g sec.get_section_by_path('/sec01/sec02:prop01')?

My impression is that it will return the Property. A similar thing might happen when using get_property_by_path with a path pointing to a section, not a property.