This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tkinter
Recipients GNJ, klappnase, serhiy.storchaka, tkinter
Date 2016-10-24.01:37:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477273051.14.0.954659007078.issue28498@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2016-10-24 01:37:31tkintersetrecipients: + tkinter, klappnase, serhiy.storchaka, GNJ
2016-10-24 01:37:31tkintersetmessageid: <1477273051.14.0.954659007078.issue28498@psf.upfronthosting.co.za>
2016-10-24 01:37:31tkinterlinkissue28498 messages
2016-10-24 01:37:30tkintercreate