Search code examples
pythoncrtassertion

Why does Python disables MSCRT assertions when built with debug mode?


Python disables MSCRT assertions for debug mode during the initialization of exceptions module when it is built in debug mode. At least from the source code, I can see Python 2.6.5 doing this for _MSC_VER >= 1400 i.e. Visual C++ 2005. Does anyone know why?


Solution

  • See this thread on the bug tracker.