[Python-checkins] CVS: python/dist/src/Lib dis.py,1.22,1.23

Thomas Wouters python-dev@python.org
2000年8月17日 15:55:02 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv24798/Lib
Modified Files:
	dis.py 
Log Message:
Apply SF patch #101135, adding 'import module as m' and 'from module import
name as n'. By doing some twists and turns, "as" is not a reserved word.
There is a slight change in semantics for 'from module import name' (it will
now honour the 'global' keyword) but only in cases that are explicitly
undocumented.
Index: dis.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/dis.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** dis.py	2000年08月11日 22:15:52	1.22
--- dis.py	2000年08月17日 22:54:59	1.23
***************
*** 196,200 ****
 def_op('LOAD_LOCALS', 82)
 def_op('RETURN_VALUE', 83)
! 
 def_op('EXEC_STMT', 85)
 
--- 196,200 ----
 def_op('LOAD_LOCALS', 82)
 def_op('RETURN_VALUE', 83)
! def_op('IMPORT_STAR', 84)
 def_op('EXEC_STMT', 85)
 

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