Yes, I understood that there is logic error after my own exploration. I fixed this.
It's a pity, but I failed to test MCSV2008 build.
Code:
Traceback (most recent call last):
File "E:\tttt\test_framework.py", line 3, in <module>
import Box2D2
File "E:\tttt\Box2D2.py", line 6, in <module>
import _Box2D2
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
EDIT: I've downloaded
VC2008 redist and after that it worked. Result was the same as for mingw build.
Also I found that the problem is not only in performance. Simulation is not as accurate as in c++ program. When I load Pyramid test in testbed with same options (enablePositionCorrection, enableWarmStarting, enableTOI, deltaT = 1/60.0, iterations = 10) it all objects begin to sleep very soon, but in python they move slightly and pyramid falls (look at the screenshot).