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 | -rw-r--r-- | 286 bytes |
Python.h | -rw-r--r-- | 3.3 KB |
abstract.h | -rw-r--r-- | 25.7 KB |
bitset.h | -rw-r--r-- | 2.3 KB |
cStringIO.h | -rw-r--r-- | 4.0 KB |
ceval.h | -rw-r--r-- | 4.3 KB |
classobject.h | -rw-r--r-- | 3.0 KB |
cobject.h | -rw-r--r-- | 3.1 KB |
compile.h | -rw-r--r-- | 3.1 KB |
complexobject.h | -rw-r--r-- | 1.4 KB |
config.h | -rwxr-xr-x | 3.2 KB |
dictobject.h | -rw-r--r-- | 2.6 KB |
errcode.h | -rw-r--r-- | 2.3 KB |
eval.h | -rw-r--r-- | 1.7 KB |
fileobject.h | -rw-r--r-- | 2.3 KB |
floatobject.h | -rw-r--r-- | 2.1 KB |
frameobject.h | -rw-r--r-- | 4.1 KB |
funcobject.h | -rw-r--r-- | 2.2 KB |
graminit.h | -rw-r--r-- | 1.2 KB |
grammar.h | -rw-r--r-- | 3.6 KB |
import.h | -rw-r--r-- | 2.7 KB |
intobject.h | -rw-r--r-- | 3.2 KB |
intrcheck.h | -rw-r--r-- | 1.7 KB |
listobject.h | -rw-r--r-- | 3.2 KB |
longintrepr.h | -rw-r--r-- | 3.1 KB |
longobject.h | -rw-r--r-- | 2.2 KB |
marshal.h | -rw-r--r-- | 2.1 KB |
metagrammar.h | -rw-r--r-- | 1.7 KB |
methodobject.h | -rw-r--r-- | 2.7 KB |
modsupport.h | -rw-r--r-- | 4.1 KB |
moduleobject.h | -rw-r--r-- | 1.9 KB |
mymalloc.h | -rw-r--r-- | 3.7 KB |
mymath.h | -rw-r--r-- | 1.4 KB |
myproto.h | -rw-r--r-- | 1.7 KB |
myselect.h | -rw-r--r-- | 2.8 KB |
mytime.h | -rw-r--r-- | 1.9 KB |
node.h | -rw-r--r-- | 2.4 KB |
object.h | -rw-r--r-- | 16.7 KB |
objimpl.h | -rw-r--r-- | 3.4 KB |
opcode.h | -rw-r--r-- | 4.8 KB |
osdefs.h | -rw-r--r-- | 2.3 KB |
parsetok.h | -rw-r--r-- | 1.9 KB |
patchlevel.h | -rw-r--r-- | 27 bytes |
pgenheaders.h | -rw-r--r-- | 2.7 KB |
pydebug.h | -rw-r--r-- | 1.9 KB |
pyerrors.h | -rw-r--r-- | 4.0 KB |
pyfpe.h | -rw-r--r-- | 8.3 KB |
pystate.h | -rw-r--r-- | 2.9 KB |
pythonrun.h | -rw-r--r-- | 4.0 KB |
pythread.h | -rw-r--r-- | 2.1 KB |
rangeobject.h | -rw-r--r-- | 1.9 KB |
rename1.h | -rwxr-xr-x | 12.7 KB |
rename2.h | -rw-r--r-- | 15.3 KB |
sliceobject.h | -rw-r--r-- | 900 bytes |
stringobject.h | -rw-r--r-- | 4.1 KB |
structmember.h | -rw-r--r-- | 3.3 KB |
sysmodule.h | -rw-r--r-- | 2.0 KB |
thread.h | -rw-r--r-- | 2.1 KB |
token.h | -rw-r--r-- | 2.8 KB |
traceback.h | -rw-r--r-- | 2.0 KB |
tupleobject.h | -rw-r--r-- | 3.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...