File: src/_fastmath.c
Function: init_fastmath
Error: calling PyDict_SetItemString with NULL as argument 3 (fastmathError.1) at src/_fastmath.c:1653
1629 void
1630 init_fastmath (void)
1631 #endif
1632 {
1633     PyObject *_fastmath_module;
1634     PyObject *_fastmath_dict;
1635  
1636 #ifdef IS_PY3K
1637 	/* PyType_Ready automatically fills in ob_type with &PyType_Type if it's not already set */
1638 	if (PyType_Ready(&rsaKeyType) < 0)
1639 		return NULL;
1640 	if (PyType_Ready(&dsaKeyType) < 0)
1641 		return NULL;
1642 	
1643 	_fastmath_module = PyModule_Create(&moduledef);
1644 	if (_fastmath_module == NULL)
1645         return NULL;
1646 #else
1647 	rsaKeyType.ob_type = &PyType_Type;
1648 	dsaKeyType.ob_type = &PyType_Type;
1649 	_fastmath_module = Py_InitModule ("_fastmath", _fastmath__methods__);
when Py_InitModule4_64() succeeds
1650 #endif
1651  	_fastmath_dict = PyModule_GetDict (_fastmath_module);
1652 	fastmathError = PyErr_NewException ("_fastmath.error", NULL, NULL);
when PyErr_NewException() fails
1653  	PyDict_SetItemString (_fastmath_dict, "error", fastmathError);
calling PyDict_SetItemString with NULL as argument 3 (fastmathError.1) at src/_fastmath.c:1653
found 1 similar trace(s) to this
1654 
1655 	PyModule_AddIntConstant(_fastmath_module, "HAVE_DECL_MPZ_POWM_SEC", HAVE_DECL_MPZ_POWM_SEC);
1656 
1657 #ifdef IS_PY3K
1658 	return _fastmath_module;
1659 #endif
1660 }