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
Makefile.in
# NOTE: Makefile.in is converted into Makefile by the configure script
# in the parent directory. Once configure has run, you can recreate
# the Makefile by running just config.status.
# === Variables set by config.stat ===
VERSION= @VERSION@
srcdir= @srcdir@
VPATH= @srcdir@
CC= @CC@
RANLIB= @RANLIB@
AR= @AR@
DEFS= @DEFS@
# === Other things that are customizable but not by configure ===
INCLDIR= $(srcdir)/../Include
OPT= @OPT@
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
MKDEP= mkdep
SHELL= /bin/sh
# === Fixed definitions ===
POBJS= acceler.o grammar1.o \
listnode.o node.o parser.o \
parsetok.o tokenizer.o bitset.o \
firstsets.o grammar.o metagrammar.o pgen.o \
printgrammar.o
OBJS= $(POBJS) intrcheck.o myreadline.o
PGENMAIN= pgenmain.o
PGENOBJS= $(PGENMAIN) $(POBJS)
DOBJS= $(PGENMAIN) $(OBJS)
PGEN= pgen
LIBRARY= ../libpython$(VERSION).a
# === Rules ===
all: $(PGEN) $(OBJS)
# This target is used by the master Makefile to add the objects to the library
add2lib: $(OBJS)
$(AR) cr $(LIBRARY) $(OBJS)
touch add2lib
$(PGEN): $(PGENOBJS)
$(CC) $(OPT) $(PGENOBJS) -o $(PGEN)
clean:
-rm -f *.o core *~ [@,#]* *.old *.orig *.rej add2lib
clobber: clean
-rm -f $(PGEN) *.a tags TAGS
Makefile: $(srcdir)/Makefile.in ../config.status
(cd ..; CONFIG_FILES=Parser/Makefile CONFIG_HEADERS= \
$(SHELL) config.status)
depend:
$(MKDEP) $(CFLAGS) `echo $(DOBJS) | tr ' ' '\012' | \
sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
.PRECIOUS: Makefile
acceler.o: acceler.c
grammar1.o: grammar1.c
intrcheck.o: intrcheck.c
listnode.o: listnode.c
myreadline.o: myreadline.c
node.o: node.c
parser.o: parser.c
parsetok.o: parsetok.c
tokenizer.o: tokenizer.c
bitset.o: bitset.c
firstsets.o: firstsets.c
grammar.o: grammar.c
metagrammar.o: metagrammar.c
pgen.o: pgen.c
printgrammar.o: printgrammar.c
pgenmain.o: pgenmain.c
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...