remove __version__s dependent on subversion keyword expansion (closes #12221)

This commit is contained in:
Benjamin Peterson 2011-05-31 20:52:17 -05:00
parent 9e3e1c6e4e
commit 8c6f88efa2
13 changed files with 94 additions and 104 deletions

View file

@ -1662,7 +1662,6 @@ MODULE_INITFUNC(void)
PyObject *errors_module;
PyObject *modelmod_name;
PyObject *model_module;
PyObject *version;
PyObject *sys_modules;
PyObject *tmpnum, *tmpstr;
PyObject *codes_dict;
@ -1699,10 +1698,6 @@ MODULE_INITFUNC(void)
Py_INCREF(&Xmlparsetype);
PyModule_AddObject(m, "XMLParserType", (PyObject *) &Xmlparsetype);
version = PyUnicode_FromString(PY_VERSION);
if (!version)
return;
PyModule_AddObject(m, "__version__", version);
PyModule_AddStringConstant(m, "EXPAT_VERSION",
(char *) XML_ExpatVersion());
{