in fact a more general bug in BM_face_create_ngon() where edges containing the same vertex multiple times were not accounted for.
in fact a more general bug in BM_face_create_ngon() where edges containing the same vertex multiple times were not accounted for.