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 nnorwitz
Recipients
Date 2003-03-01.22:46:36
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=33168

The problem is that CHECK_TCL_APPARTMENT is called in
Tkapp_CreateFileHandler() and Tkapp_DeleteFileHandler(). 
The CHECK_TCL_APPARTMENT macro uses self which is NULL when
called through the module.  Checking if (self == NULL)
before calling CHECK_TCL_APPARTMENT would prevent the crash,
but I'm not certain this is correct.

As a workaround, you should be able to access create/delete
filehandler through the instance:

   w.tk.createfilehandler(...)

instead of Tkinter.createfilehandler(...).
History
Date User Action Args
2007-08-23 14:11:24adminlinkissue692416 messages
2007-08-23 14:11:24admincreate