Is there a reason you've added comments listing the date you added or modified various lines of Python code?
There are various lines with messy whitespace, such as a tab character for no apparent reason at the end of an empty line (especially when the indenting is all spaces) or trailing spaces at the end of lines. It'd be nice if those were cleaned up, though not essential in most cases.
I'm getting some errors using these changed files:
2011-12-03 22:26:25,399 ERROR AI : AIInterface::IssueEnqueueTechOrder : passed tech_name that is not the name of a tech.
2011-12-03 22:26:25,402 ERROR AI : Traceback (most recent call last):
2011-12-03 22:26:25,402 ERROR AI : File "C:\FreeOrion_VS2010_SDK\FreeOrion\default\AI\FreeOrionAI.py", line 127, in generateOrders
2011-12-03 22:26:25,403 ERROR AI : ResearchAI.generateResearchOrders()
2011-12-03 22:26:25,403 ERROR AI : File "C:\FreeOrion_VS2010_SDK\FreeOrion\default\AI\ResearchAI.py", line 58, in generateResearchOrders
2011-12-03 22:26:25,404 ERROR AI : generateDefaultResearchOrders()
2011-12-03 22:26:25,404 ERROR AI : File "C:\FreeOrion_VS2010_SDK\FreeOrion\default\AI\ResearchAI.py", line 109, in generateDefaultResearchOrders
2011-12-03 22:26:25,404 ERROR AI : researchQueueList = getResearchQueueTechs ()
2011-12-03 22:26:25,405 ERROR AI : File "C:\FreeOrion_VS2010_SDK\FreeOrion\default\AI\ResearchAI.py", line 179, in getResearchQueueTechs
2011-12-03 22:26:25,405 ERROR AI : researchQueueList.append(element.tech.name)
2011-12-03 22:26:25,405 ERROR AI : AttributeError: 'str' object has no attribute 'name'
These might be related to some interface changes in this commit
, which made researchQueueElement's .tech property return a string of the tech's name, instead of a Tech object.