[Python-checkins] CVS: python/dist/src/Lib tabnanny.py,1.15,1.16

Guido van Rossum gvanrossum@users.sourceforge.net
Tue, 07 Aug 2001 10:19:27 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv11061

Modified Files:
	tabnanny.py 
Log Message:
Add the NannyNag exception class and the process_tokens() function to
__all__, to indicate these are implied as part of the public API.

IDLE's "Check Module" command uses this, and it broke once already
because the reset_globals() and tokeneater() functions were deleted
when Neil converted this to using the generator API of tokenizer.
(See SF bug #448835.)


Index: tabnanny.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/tabnanny.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** tabnanny.py	2001/06/29 23:51:08	1.15
--- tabnanny.py	2001/08/07 17:19:25	1.16
***************
*** 18,22 ****
      raise ValueError("tokenize.NL doesn't exist -- tokenize module too old")
  
! __all__ = ["check"]
  
  verbose = 0
--- 18,22 ----
      raise ValueError("tokenize.NL doesn't exist -- tokenize module too old")
  
! __all__ = ["check", "NannyNag", "process_tokens"]
  
  verbose = 0