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 martin.panter
Recipients docs@python, martin.panter
Date 2014-08-06.10:18:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407320317.87.0.0833040424562.issue22155@psf.upfronthosting.co.za>
In-reply-to
Content
The only documentation on “createfilehandle” and friends that I can find looks like it needs updating:

https://docs.python.org/release/3.4.0/faq/gui.html#can-i-have-tk-events-handled-while-waiting-for-i-o

I have been using the equivalent of this instead, for both Python 2 and 3:

import tkinter
widget = tkinter.Tk()
widget.tk.createfilehandler(file, tkinter.READABLE | tkinter.WRITABLE, callback)
...
widget.tk.deletefilehandler(file)

However I have no idea if this is a supported, proper way, if one even still exists. The old way was removed by Issue 3638.

BTW, there is a link to release/3.4.1 documentation but that returned a 404 error for me, so I linked to the 3.4.0 doc instead.
History
Date User Action Args
2014-08-06 10:18:37martin.pantersetrecipients: + martin.panter, docs@python
2014-08-06 10:18:37martin.pantersetmessageid: <1407320317.87.0.0833040424562.issue22155@psf.upfronthosting.co.za>
2014-08-06 10:18:37martin.panterlinkissue22155 messages
2014-08-06 10:18:37martin.pantercreate