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 serhiy.storchaka
Recipients BreamoreBoy, gpolo, martin.panter, serhiy.storchaka, terry.reedy
Date 2014-10-05.10:43:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <37173723.QYqkNf2dv4@raxxla>
In-reply-to <1412473009.26.0.557516854472.issue18131@psf.upfronthosting.co.za>
Content
> I am thinking that all uses of _default_root should raise something like
> WhateverError("An explicit master is required when _default_root is None or
> deleted.")  Serhiy, what do you think?

Technically all works (raises some exception), but I agree that error message 
can be more friendly. But _default_root is implementation detail. This name 
doesn't mean anything for non-experienced user (and experienced user already 
knows about these mystical RuntimeError and NameError). The message should say 
something like "No default root window" if _default_root is None and "The 
master argument is mandatory after calling NoDefautRoot()" if _default_root 
isn't set.

And now we came to the way how to create default root window. Issue4343 looks 
related (I haven't looked at it close however).

Second issue was fixed in issue22068.
History
Date User Action Args
2014-10-05 10:43:51serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, gpolo, BreamoreBoy, martin.panter
2014-10-05 10:43:51serhiy.storchakalinkissue18131 messages
2014-10-05 10:43:51serhiy.storchakacreate