[Python-checkins] python/nondist/peps pep-0000.txt, 1.270,
1.271 pep-0329.txt, 1.3, 1.4
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Tue Apr 20 13:51:46 EDT 2004
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16729
Modified Files:
pep-0000.txt pep-0329.txt
Log Message:
Self reject PEP 329.
Index: pep-0000.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0000.txt,v
retrieving revision 1.270
retrieving revision 1.271
diff -C2 -d -r1.270 -r1.271
*** pep-0000.txt 19 Apr 2004 04:07:59 -0000 1.270
--- pep-0000.txt 20 Apr 2004 17:50:52 -0000 1.271
***************
*** 124,128 ****
S 325 Resource-Release Support for Generators Pedroni
S 327 Decimal Data Type Batista
- S 329 Treating Builtins as Constants in the Standard Library Hettinger
S 754 IEEE 754 Floating Point Special Values Warnes
--- 124,127 ----
***************
*** 196,199 ****
--- 195,199 ----
SR 317 Eliminate Implicit Exception Instantiation Taschuk
SR 326 A Case for Top and Bottom Values Carlson, Reedy
+ SR 329 Treating Builtins as Constants in the Standard Library Hettinger
SR 666 Reject Foolish Indentation Creighton
***************
*** 351,355 ****
S 327 Decimal Data Type Batista
SA 328 Imports: Multi-Line and Absolute/Relative Aahz
! S 329 Treating Builtins as Constants in the Standard Library Hettinger
SR 666 Reject Foolish Indentation Creighton
S 754 IEEE 754 Floating Point Special Values Warnes
--- 351,355 ----
S 327 Decimal Data Type Batista
SA 328 Imports: Multi-Line and Absolute/Relative Aahz
! SR 329 Treating Builtins as Constants in the Standard Library Hettinger
SR 666 Reject Foolish Indentation Creighton
S 754 IEEE 754 Floating Point Special Values Warnes
Index: pep-0329.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0329.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pep-0329.txt 20 Apr 2004 12:07:33 -0000 1.3
--- pep-0329.txt 20 Apr 2004 17:51:11 -0000 1.4
***************
*** 4,8 ****
Last-Modified: $Date$
Author: Raymond Hettinger <python at rcn.com>
! Status: Draft
Type: Standards Track
Content-Type: text/x-rst
--- 4,8 ----
Last-Modified: $Date$
Author: Raymond Hettinger <python at rcn.com>
! Status: Rejected
Type: Standards Track
Content-Type: text/x-rst
***************
*** 12,15 ****
--- 12,22 ----
+ Status
+ ======
+
+ The PEP is self rejected by the author due to the unprecedented
+ level of enmity it generated from developers.
+
+
Abstract
========
***************
*** 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
--- 60,64 ----
========
! 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
***************
*** 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
--- 68,73 ----
the end of the script::
! import codetweaks, sys
! codetweaks.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 `pragma.py` (it will have a disable flag).
8. How susceptible is this module to changes in Python's byte coding?
--- 122,126 ----
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?
***************
*** 136,140 ****
=====================
! Here is a sample implementation for pragma.py::
from types import ClassType, FunctionType
--- 143,147 ----
=====================
! Here is a sample implementation for codetweaks.py::
from types import ClassType, FunctionType
More information about the Python-checkins
mailing list