ports/74883: Python 2.4 upgrade breaks port net/py-bittorrent [fix included] - news.gw.com
: "After upgrading the port lang/python to version 2.4, the port net/py-bittorrent is broken. This appears to be an incompatibility in bittorrent's zurllib.py file; the patch below has also been sent to the bittorrent development list. This problem, and the same solution, appears to also apply to the port net/bittornado."
I have applied this patch.