Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 9fd41e363b4780ae9af475f9c23c0a3cf69d70ad authored by Guido van Rossum on 29 December 1997, 19:59:33 UTC, committed by Guido van Rossum on 29 December 1997, 19:59:33 UTC
* The invoke methods of the three Tkinter widgets Button, Checkbutton and Radiobutton should return the value returned by the callback, (like the Menu widget does): def invoke(self): return self.tk.call(self._w, 'invoke') * The select_from method of the Canvas widget should use 'from', not 'set': def select_from(self, tagOrId, index): self.tk.call(self._w, 'select', 'from', tagOrId, index) Currently, if you use select_from, you get the error message: 'TclError: bad select option "set": must be adjust, clear, from, item, or to' * The 'entrycget' and 'type' methods of the Tk menu widget are missing from Tkinter. * There is a bug in grid_columnconfigure and grid_rowconfigure. For example, this should return the current value of the 'minsize' option for column 0: f.grid_columnconfigure(0, 'minsize') Instead it returns the same as: f.grid_columnconfigure(0) I suggest that the hint given in the comment in the Tkinter.Misc.configure method should be followed - "ought to generalize this so tag_config etc. can use it". Repeating the same configure code several times in Tkinter is inviting errors. [I did not follow this advice --G] * The grid_slaves method should handle options. Currently, to pass options to the grid_slaves method, you have to do something like: grid_slaves('-row', 1)
1 parent 23e21e7
Tip revision: 9fd41e363b4780ae9af475f9c23c0a3cf69d70ad authored by Guido van Rossum on 29 December 1997, 19:59:33 UTC
Fixed several bugs reported by Greg McFarmane:
Fixed several bugs reported by Greg McFarmane:
Tip revision: 9fd41e3
File | Mode | Size |
---|---|---|
Makefile.in | -rw-r--r-- | 2.6 KB |
atof.c | -rw-r--r-- | 2.3 KB |
bltinmodule.c | -rw-r--r-- | 45.1 KB |
ceval.c | -rw-r--r-- | 62.9 KB |
compile.c | -rw-r--r-- | 73.7 KB |
dup2.c | -rw-r--r-- | 691 bytes |
errors.c | -rw-r--r-- | 8.5 KB |
fmod.c | -rw-r--r-- | 1.9 KB |
frozen.c | -rw-r--r-- | 2.3 KB |
frozenmain.c | -rw-r--r-- | 2.4 KB |
getargs.c | -rw-r--r-- | 22.7 KB |
getcompiler.c | -rw-r--r-- | 1.8 KB |
getcopyright.c | -rw-r--r-- | 1.6 KB |
getcwd.c | -rw-r--r-- | 2.8 KB |
getmtime.c | -rw-r--r-- | 1.8 KB |
getopt.c | -rw-r--r-- | 2.3 KB |
getplatform.c | -rw-r--r-- | 1.6 KB |
getversion.c | -rw-r--r-- | 1.7 KB |
graminit.c | -rw-r--r-- | 24.1 KB |
hypot.c | -rw-r--r-- | 309 bytes |
import.c | -rw-r--r-- | 42.8 KB |
importdl.c | -rw-r--r-- | 19.7 KB |
importdl.h | -rw-r--r-- | 1.9 KB |
marshal.c | -rw-r--r-- | 14.9 KB |
memmove.c | -rw-r--r-- | 1.9 KB |
modsupport.c | -rw-r--r-- | 10.2 KB |
mystrtoul.c | -rw-r--r-- | 4.5 KB |
pyfpe.c | -rw-r--r-- | 493 bytes |
pystate.c | -rw-r--r-- | 4.8 KB |
pythonmain.c | -rw-r--r-- | 5.8 KB |
pythonrun.c | -rw-r--r-- | 24.8 KB |
sigcheck.c | -rw-r--r-- | 2.0 KB |
strdup.c | -rw-r--r-- | 321 bytes |
strerror.c | -rw-r--r-- | 1.9 KB |
strtod.c | -rw-r--r-- | 5.1 KB |
structmember.c | -rw-r--r-- | 6.5 KB |
sysmodule.c | -rw-r--r-- | 11.3 KB |
thread.c | -rw-r--r-- | 3.5 KB |
thread_cthread.h | -rw-r--r-- | 4.8 KB |
thread_foobar.h | -rw-r--r-- | 3.8 KB |
thread_lwp.h | -rw-r--r-- | 5.1 KB |
thread_nt.h | -rw-r--r-- | 6.8 KB |
thread_os2.h | -rw-r--r-- | 5.1 KB |
thread_pthread.h | -rw-r--r-- | 10.9 KB |
thread_sgi.h | -rw-r--r-- | 13.0 KB |
thread_solaris.h | -rw-r--r-- | 5.6 KB |
traceback.c | -rw-r--r-- | 6.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...