Mailing List Archive

CVS: python/dist/src/Lib difflib.py,1.6,1.7 tokenize.py,1.29,1.30 types.py,1.25,1.26
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv27182/python/Lib

Modified Files:
difflib.py tokenize.py types.py
Log Message:
Remove some now-obsolete generator future statements.
I left the email pkg alone; I'm not sure how Barry would like to handle
that.


Index: difflib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/difflib.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** difflib.py 4 Oct 2001 05:36:56 -0000 1.6
--- difflib.py 1 Apr 2002 00:28:59 -0000 1.7
***************
*** 1,6 ****

- from __future__ import generators
-
"""
Module difflib -- helpers for computing deltas between objects.
--- 1,4 ----

Index: tokenize.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/tokenize.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** tokenize.py 26 Mar 2002 16:20:26 -0000 1.29
--- tokenize.py 1 Apr 2002 00:28:59 -0000 1.30
***************
*** 23,28 ****
each time a new token is found."""

- from __future__ import generators
-
__author__ = 'Ka-Ping Yee <ping@lfw.org>'
__credits__ = \
--- 23,26 ----

Index: types.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/types.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** types.py 2 Dec 2001 12:08:06 -0000 1.25
--- types.py 1 Apr 2002 00:28:59 -0000 1.26
***************
*** 3,8 ****
Types that are part of optional modules (e.g. array) are not listed.
"""
- from __future__ import generators
-
import sys

--- 3,6 ----
***************
*** 84,86 ****
DictProxyType = type(TypeType.__dict__)

! del sys, _f, _C, _x, generators # Not for export
--- 82,84 ----
DictProxyType = type(TypeType.__dict__)

! del sys, _f, _C, _x # Not for export