Elizabeth Seiver @ElSeiver@octodon.social
Follow

I got a weird error parsing XML in w/xpath results of a x= findall('.//tagname'). TypeError iterating on Cython object x, even when wrapping list(x), and could still do x[0] x[1] etc. *and* this only happened on a subset of docs I parsed, most of which iterated without wrapping in list().
Can someone please explain
The reason for this strange behavior?