[Python-checkins] python/nondist/peps pep-0329.txt,1.2,1.3

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Tue Apr 20 08:07:36 EDT 2004


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10445

Modified Files:
	pep-0329.txt 
Log Message:
Adopt Jack Diederich's suggested module name.



Index: pep-0329.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0329.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pep-0329.txt	20 Apr 2004 11:01:35 -0000	1.2
--- pep-0329.txt	20 Apr 2004 12:07:33 -0000	1.3
***************
*** 53,57 ****
  ========
  
! Add a module called codetweaks.py which contains two functions,
  `bind_constants()` and `bind_all()`.  The first function performs
  constant binding and the second recursively applies it to every
--- 53,57 ----
  ========
  
! Add a module called pragma.py which contains two functions,
  `bind_constants()` and `bind_all()`.  The first function performs
  constant binding and the second recursively applies it to every
***************
*** 61,66 ****
  the end of the script::
  
!     import codetweaks, sys
!     codetweaks.bind_all(sys.modules[__name__])
  
  In addition to binding builtins, there are some modules (like
--- 61,66 ----
  the end of the script::
  
!     import pragma, sys
!     pragma.bind_all(sys.modules[__name__])
  
  In addition to binding builtins, there are some modules (like
***************
*** 115,119 ****
  
     Either do this before importing a module, or just reload the
!    module, or disable `codetweaks.py` (it will have a disable flag).
  
  8. How susceptible is this module to changes in Python's byte coding?
--- 115,119 ----
  
     Either do this before importing a module, or just reload the
!    module, or disable `pragma.py` (it will have a disable flag).
  
  8. How susceptible is this module to changes in Python's byte coding?
***************
*** 136,140 ****
  =====================
  
! Here is a sample implementation for codetweaks.py::
  
      from types import ClassType, FunctionType
--- 136,140 ----
  =====================
  
! Here is a sample implementation for pragma.py::
  
      from types import ClassType, FunctionType




More information about the Python-checkins mailing list