[Python-checkins] CVS: python/nondist/peps pep-0280.txt,NONE,1.1 pep-0000.txt,1.153,1.154

Guido van Rossum gvanrossum@users.sourceforge.net
Sun, 10 Feb 2002 17:33:53 -0800


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv32229

Modified Files:
	pep-0000.txt 
Added Files:
	pep-0280.txt 
Log Message:
Add PEP 280, optimizing access to globals.

--- NEW FILE: pep-0280.txt ---
PEP: 280
Title: Optimizing access to globals
Version: $Revision: 1.1 $
Last-Modified: $Date: 2002/02/11 01:33:51 $
Author: skip@pobox.com, jeremy@alum.mit.edu, guido@python.org, tim.one@comcast.net, 
Status: Draft
Type: Standards Track
Created: 10-Feb-2002
Python-Version: 2.3
Post-History:


Abstract

    This PEP attempts to summarize various approaches for avoiding the
    dictionary lookup for accessing globals and built-ins in most
    cases.  There are several competing approaches, which originated
    in historical order by authors Montanaro, Hylton, and Van Rossum.
    The fourth author is added for his valuable feedback during all
    stages.

    The expectation is that eventually one approach will be picked and
    implemented; possibly multiple approaches will be prototyped
    first.


Montanaro's approach: tracking globals

    XXX (Skip, please check in a description!).


Hylton's approach: using a dlict

    XXX (Jerely, please check in a description!)


Van Rossum's approach: using a celldict

    XXX (Guido, please check in a description!)

Index: pep-0000.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0000.txt,v
retrieving revision 1.153
retrieving revision 1.154
diff -C2 -d -r1.153 -r1.154
*** pep-0000.txt	1 Feb 2002 05:59:29 -0000	1.153
--- pep-0000.txt	11 Feb 2002 01:33:51 -0000	1.154
***************
*** 91,94 ****
--- 91,95 ----
   S   278  Universal Newline Support                    Jansen
   S   279  Enhanced Generators                          Hettinger
+  S   280  Optimizing access to globals     Montanaro, Hylton, van Rossum, Peters
  
   Finished PEPs (done, implemented in CVS)
***************
*** 242,245 ****
--- 243,247 ----
   S   278  Universal Newline Support                    Jansen
   S   279  Enhanced Generators                          Hettinger
+  S   280  Optimizing access to globals     Montanaro, Hylton, van Rossum, Peters
   SR  666  Reject Foolish Indentation                   Creighton