Re: [Python-checkins] python/dist/src/Misc NEWS,1.542,1.543
On Tue, Nov 26, 2002 at 01:28:07AM -0800, loewis@users.sourceforge.net wrote:
+ - _tkinter now returns Tcl objects, instead of strings. Objects which + have Python equivalents are converted to Python objects, other objects + are wrapped. This can be configured through the wantobjects method, + or Tkinter.want_objects.
Will it be confusing to have the method be named wantobjects but the module variable named want_objects? (Glancing at the C code, it seems to use only want_objects as a variable name, so the method name is the only inconsistent name.) --amk (www.amk.ca) EDGAR: The worst is not, so long as we can say "This is the worst." -- _King Lear_, IV, i
Will it be confusing to have the method be named wantobjects but the module variable named want_objects? (Glancing at the C code, it seems to use only want_objects as a variable name, so the method name is the only inconsistent name.)
That might well be. I was trying to be consistent with "createfilehandler", "dooneevent", etc. Should I break this consistency, or remove the underscores everywhere else? I really have no bias either way. Regards, Martin
On Tue, Nov 26, 2002 at 03:04:35PM +0100, Martin v. L?wis wrote:
That might well be. I was trying to be consistent with "createfilehandler", "dooneevent", etc. Should I break this consistency, or remove the underscores everywhere else? I really have no bias either way.
Ah, OK. Consistency with the rest of the Tkinter module is most important, so wantobjects() makes the most sense as the method name. --amk (www.amk.ca) HAMLET: O my prophetic soul! -- _Hamlet_, I, v
participants (2)
-
Andrew Kuchling
-
Martin v. L�wis