Just to answer a question over in the miner section, which got discussed there under the title "New pure-python CPU miner, for fun and testing" http://forum.bitcoin.org/index.php?topic=3546.0;all
, due to my newbie restriction now here.
The patch I provided only fixes the problem with running pyminer under windows.
Unfortunately I haven't found a solution to the btcguild problem with the error message BadStatusLine. I believe it has something to do with btcguild and I am not familiar with their interface.