Profiling and select.select

I'm trying to profile my code using prun, and what I'm getting is that the lion's share of the time is spent in something called "select.select", which, according to
pytho documentation has something to do with I/O. Now, the thing is I'm not using I/O at all, so why does sage call this function?
How can I which function was calling select.select?