-----BEGIN PGP SIGNED MESSAGE-----
I'm making an effort to understand how all of tuna works (this is admirable,
not folly, correct?). There's a part of the reload() function in the cpus
class that I don't understand. to start with:
for socket in sockets_to_sort:
Here self.sockets[socket] is a list of cpu objects. The cpu class is not an
orderable type. It does not provide it's own comparison function, and cannot
be converted to an integer value. What is the (intended) result of calling
the list's sort() function?
Another thing: these lines are indented so as to be included in the outer
loop. It seems these lines need only to be run after the other loop is complete.
I think I must be missing something, since the code seems to work. Although,
I can't find any place that depends on self.sockets[socket] being sorted in
any meaningful way.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----