[Python-checkins] CVS: python/dist/src/Lib/test/output test_pkg,1.3,1.4

Thomas Wouters python-dev@python.org
Thu, 17 Aug 2000 15:55:03 -0700


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory slayer.i.sourceforge.net:/tmp/cvs-serv24798/Lib/test/output

Modified Files:
	test_pkg 
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: test_pkg
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_pkg,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** test_pkg	1997/09/08 16:06:20	1.3
--- test_pkg	2000/08/17 22:55:00	1.4
***************
*** 37,38 ****
--- 37,45 ----
  ['__all__', '__builtins__', '__doc__', '__file__', '__name__', '__path__', 'eggs', 'ham', 'spam']
  ['eggs', 'ham', 'spam', 't6']
+ running test t7
+ t7 loading
+ ['__builtins__', '__doc__', '__file__', '__name__', '__path__']
+ ['__builtins__', '__doc__', '__file__', '__name__', '__path__']
+ t7.sub.subsub loading
+ ['__builtins__', '__doc__', '__file__', '__name__', '__path__', 'spam']
+ t7.sub.subsub.spam = 1