PEP 3111 (restoring input) has been implemented so mark it Final.

Also wrap some long lines in the PEP.
This commit is contained in:
Neal Norwitz 2007-05-25 06:17:11 +00:00
parent a2f9ba67ff
commit e0ce1d9e0a
2 changed files with 8 additions and 8 deletions

View File

@ -77,7 +77,6 @@ Index by Category
SA 358 The "bytes" Object Schemenauer, GvR SA 358 The "bytes" Object Schemenauer, GvR
SA 3106 Revamping dict.keys(), .values() & .items() GvR SA 3106 Revamping dict.keys(), .values() & .items() GvR
SA 3109 Raising Exceptions in Python 3000 Winter SA 3109 Raising Exceptions in Python 3000 Winter
SA 3111 Simple input built-in in Python 3000 Roberge
SA 3112 Bytes literals in Python 3000 Orendorff SA 3112 Bytes literals in Python 3000 Orendorff
SA 3115 Metaclasses in Python 3000 Talin SA 3115 Metaclasses in Python 3000 Talin
SA 3119 Introducing Abstract Base Classes GvR, Talin SA 3119 Introducing Abstract Base Classes GvR, Talin
@ -173,6 +172,7 @@ Index by Category
SF 3105 Make print a function Brandl SF 3105 Make print a function Brandl
SF 3107 Function Annotations Winter, Lownds SF 3107 Function Annotations Winter, Lownds
SF 3110 Catching Exceptions in Python 3000 Winter SF 3110 Catching Exceptions in Python 3000 Winter
SF 3111 Simple input built-in in Python 3000 Roberge
SF 3113 Removal of Tuple Parameter Unpacking Cannon SF 3113 Removal of Tuple Parameter Unpacking Cannon
SF 3114 Renaming iterator.next() to .__next__() Yee SF 3114 Renaming iterator.next() to .__next__() Yee
SF 3129 Class Decorators Winter SF 3129 Class Decorators Winter
@ -481,7 +481,7 @@ Numerical Index
S 3108 Standard Library Reorganization Cannon S 3108 Standard Library Reorganization Cannon
SA 3109 Raising Exceptions in Python 3000 Winter SA 3109 Raising Exceptions in Python 3000 Winter
SF 3110 Catching Exceptions in Python 3000 Winter SF 3110 Catching Exceptions in Python 3000 Winter
SA 3111 Simple input built-in in Python 3000 Roberge SF 3111 Simple input built-in in Python 3000 Roberge
SA 3112 Bytes literals in Python 3000 Orendorff SA 3112 Bytes literals in Python 3000 Orendorff
SF 3113 Removal of Tuple Parameter Unpacking Cannon SF 3113 Removal of Tuple Parameter Unpacking Cannon
SF 3114 Renaming iterator.next() to .__next__() Yee SF 3114 Renaming iterator.next() to .__next__() Yee

View File

@ -3,7 +3,7 @@ Title: Simple input built-in in Python 3000
Version: $Revision$ Version: $Revision$
Last-Modified: $Date$ Last-Modified: $Date$
Author: Andre Roberge <andre.roberge at gmail.com > Author: Andre Roberge <andre.roberge at gmail.com >
Status: Accepted Status: Final
Type: Standards Track Type: Standards Track
Content-Type: text/x-rst Content-Type: text/x-rst
Created: 13-Sep-2006 Created: 13-Sep-2006
@ -108,9 +108,9 @@ The Python 2 to 3 conversion tool will replace calls to ``input()`` with
Naming Discussion Naming Discussion
================= =================
With ``input()`` effectively removed from the language, the name ``raw_input()`` With ``input()`` effectively removed from the language,
makes much less sense and alternatives should be considered. The the name ``raw_input()`` makes much less sense and alternatives should be
various possibilities mentioned in various forums include:: considered. The various possibilities mentioned in various forums include::
ask() ask()
ask_user() ask_user()
@ -121,8 +121,8 @@ various possibilities mentioned in various forums include::
user_input() user_input()
get_response() get_response()
While it was initially rejected by the BDFL, it has been suggested that the most While it was initially rejected by the BDFL, it has been suggested that the
direct solution would be to rename "raw_input" to "input" in Python 3000. most direct solution would be to rename "raw_input" to "input" in Python 3000.
The main objection is that Python 2.x already has a function named "input", The main objection is that Python 2.x already has a function named "input",
and, even though it is not going to be included in Python 3000, and, even though it is not going to be included in Python 3000,
having a built-in function with the same name but different semantics may having a built-in function with the same name but different semantics may