R. David Murray added the comment:

This is a question more suited to be asked on python-list or python-tutor, 
rather than a bug report.

I'll give you a clue while I'm closing the issue: in the font snippt you 
reference the font attribute when your module is imported.  In the messagebox 
snippet, you reference the messagebox attribute inside a callback which is 
*not* executed when your module is imported.  So while the file hierarchy 
structure is analogous in the two cases, your *code* is not.  When you close 
the window, you will see your messagebox attribute error when the callback is 
called.

----------
nosy: +r.david.murray
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed
type: compile error -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16448>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to