Miguel added the comment: In the C source code that I am reading of tkinter: _tkinter.c. It seems that these parameters are not used: - wantobjects - useTk - syn - use
It seems that it's dead code. I hope that somebody can tell me whether I am right. I suppose that now Python returns always Python objects instead of strings. For this reason, wantobjects is not any more necessary. This is the C code of Tkinter_Create that I am reading: static PyObject * Tkinter_Create (self, args) PyObject *self; PyObject *args; { char *screenName = NULL; char *baseName = NULL; char *className = NULL; int interactive = 0; baseName = strrchr (Py_GetProgramName (), '/'); if (baseName != NULL) baseName++; else baseName = Py_GetProgramName (); className = "Tk"; if (!PyArg_ParseTuple (args, "|zssi", &screenName, &baseName, &className, &interactive)) return NULL; return (PyObject *) Tkapp_New (screenName, baseName, className, interactive); } And this is the call to Tkinter_Create in Tkinter.py: self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28498> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com