[Python-checkins] python/dist/src/Lib cmd.py,1.26.16.2,1.26.16.3

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
2003年1月13日 13:21:07 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv2160
Modified Files:
 Tag: release22-maint
	cmd.py 
Log Message:
Backport 1.33 from trunk:
Duh. cmdqueue should be an instance variable, not a class variable.
This was introduced in 1998 in rev. 1.13, where I imported extensive
patches that, I am sad to say, I didn't review as carefully as I
should have.
Index: cmd.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/cmd.py,v
retrieving revision 1.26.16.2
retrieving revision 1.26.16.3
diff -C2 -d -r1.26.16.2 -r1.26.16.3
*** cmd.py	29 May 2002 23:15:46 -0000	1.26.16.2
--- cmd.py	13 Jan 2003 21:21:00 -0000	1.26.16.3
***************
*** 69,73 ****
 ruler = '='
 lastcmd = ''
- cmdqueue = []
 intro = None
 doc_leader = ""
--- 69,72 ----
***************
*** 87,90 ****
--- 86,90 ----
 
 """
+ self.cmdqueue = []
 if completekey:
 try:

AltStyle によって変換されたページ (->オリジナル) /