Updated the "Why" section based on comments from Andrew Durdin. More updates

to the PEP are no doubt still coming.
This commit is contained in:
Barry Warsaw 2004-09-10 03:02:32 +00:00
parent 7b7e8eece2
commit b65f4ea22d
1 changed files with 10 additions and 4 deletions

View File

@ -104,9 +104,13 @@ A Simpler Proposal
Why `$' and Braces?
The BDFL said it best: The $ means "substitution" in so many
The BDFL said it best[4]: "The $ means "substitution" in so many
languages besides Perl that I wonder where you've been. [...]
We're copying this from the shell.
We're copying this from the shell."
Thus the substitution rules are chosen because of the similarity
with so many other languages. This makes the substitution rules
easier to teach, learn, and remember.
Comparison to PEP 215
@ -164,7 +168,7 @@ Internationalization
Reference Implementation
A SourceForge patch[4] is available which implements this
A SourceForge patch[5] is available which implements this
proposal, include unit tests and documentation changes.
@ -179,7 +183,9 @@ References
[3] Guido's python-dev posting from 21-Jul-2002
http://mail.python.org/pipermail/python-dev/2002-July/026397.html
[4] Reference Implementation
[4] http://mail.python.org/pipermail/python-dev/2002-June/025652.html
[5] Reference Implementation
http://sourceforge.net/tracker/index.php?func=detail&aid=1014055&group_id=5470&atid=305470
Copyright