[issue3638] tkinter.mainloop() is meaningless and crash: remove it

Martin v. Löwis report at bugs.python.org
Sat Jan 3 21:57:11 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

These look fine. I think further changes are necessary:
tkinter/__init__.py tries to load createfilehandler/deletefilehandler;
this becomes redundant. Also, why did you leave DoOneEvent and Quit
as-is - don't they fall into the same category?

One minor nit: I personally dislike function pointer casts, because they
can easily go wrong. I rather prefer if the C compiler tells me when I
mess up with function pointer types. Hence _tkinter uses selfptr/self
all the time.

----------
assignee:  -> gpolo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3638>
_______________________________________


More information about the Python-bugs-list mailing list