Proposed PEP: Treating Builtins as Constants in the Standard Library

Yermat loic at fejoz.net
Mon Apr 19 03:48:01 EDT 2004


Raymond Hettinger wrote:
> Comments are invited on the following proposed PEP.
> 
> 
> Raymond Hettinger
> 
> -------------------------------------------------------
> 
> 
> 
> PEP: 329
> Title: Treating Builtins as Constants in the Standard Library
> Author: Raymond Hettinger <python at rcn.com>
> Status: Pre-PEP
> 
> 
> Abstract
> ========
> 
> This proposal is to add a private function for treating builtin
> references as constants and to apply that function throughout
> the standard library.

Is it really a good thing to do it manually?
Shouldn't be done automatically by a simple analyser?

-- 
Yermat




More information about the Python-list mailing list