[Python-ideas] Very strange problem in python