Commit Graph

588 Commits

Author SHA1 Message Date
Barry Warsaw 80caa6827f Guido's famous Python Style Guide essay, converted to PEP format,
spellchecked and mildly edited.  It's still as incomplete as the
former.
2001-07-05 18:56:12 +00:00
Barry Warsaw 3197c4a15c Add a reference to PEP 8 2001-07-05 18:53:01 +00:00
Barry Warsaw 633cc715aa In PEP style section, describe how to refer to URLs and PEPs in the
body of a PEP document.  Also describe how to refer to PEP in the
References sections, including the use of www.python.org/peps as the
preferred link.

Added a section on reporting bugs and submitting patches w.r.t. PEPs.
2001-07-05 18:52:25 +00:00
Barry Warsaw cd50ab8461 Use new acceptable practices for PEP references. 2001-07-05 18:50:28 +00:00
Barry Warsaw b874a8a521 Added PEP 8, Style Guide for Python Code, Van Rossum, Warsaw
Adapted from Guido's Python Style Guide essay.
2001-07-05 18:48:30 +00:00
Barry Warsaw d7727706d9 fixpat: Recognize current preferred usage for PEP references in body,
e.g. "PEP 1".

fixanchor(): Turn preferred usage for PEP references into PEP url
using the new PEPURL template (which uses the canonical
www.python.org/peps url instead of the sourceforge.net site).
(Also, get rid of base argument in int() calls; base 10 is default.)

fixfile(): If we can't open the input file, print an error message and
continue on.
2001-07-05 18:44:20 +00:00
Guido van Rossum 2118d90cf2 Mention changes to PyRange_New(). 2001-07-05 14:50:56 +00:00
Guido van Rossum b43961fd5d Style Guide for C Code 2001-07-05 14:16:35 +00:00
Paul Prescod bdff046670 Updated terminology and format. 2001-07-01 19:52:25 +00:00
Barry Warsaw ec6436a790 Add PEP 261, Support for "wide" Unicode characters, Prescod 2001-06-27 23:12:54 +00:00
Barry Warsaw 91d6cfd268 Formatting and a title change to fit the PEP 1 guidelines. 2001-06-27 23:12:08 +00:00
Paul Prescod 46b137e31c Add new PEP about handling non-BMP Unicode characters. 2001-06-27 22:47:09 +00:00
Barry Warsaw b6056eb4dd Added PEP 100, Python Unicode Integration, Lemburg 2001-06-27 17:12:05 +00:00
Barry Warsaw f0639f2977 A reformat of Misc/unicode.txt (with some editorial comments).
Tagging at revision 1.7 to match the latest revision from
Misc/unicode.txt.
2001-06-27 17:11:33 +00:00
Guido van Rossum f3c016e25f PEP 260: simplify xrange() 2001-06-26 17:57:11 +00:00
Tim Peters be63f6f87c Record that the CVS tree now has generator tests. 2001-06-24 07:13:11 +00:00
Tim Peters b931f96dea Typos. 2001-06-23 08:56:42 +00:00
Tim Peters 1eee9e2d60 Lotsa changes: more details and examples covering recent decisions wrt
return stmts, try/except, try/finally; more Q&A.  I expect this is the
last major revision of this PEP, so I'm going to post it again too.
2001-06-23 08:53:21 +00:00
Guido van Rossum 0c7da3beb7 Change 2.2 release schedule author to GvR. 2001-06-22 15:37:01 +00:00
Guido van Rossum c25b4d926e Add some text to the release schedule.
The release dates are picked pretty arbitrary: 3 weeks apart, on
Wednesdays.
2001-06-22 15:36:31 +00:00
Tim Peters e36f9bc8d8 Added BDFL Pronouncement on reusing "def". 2001-06-21 16:56:41 +00:00
Tim Peters de1820491f Added Q&A about "return". 2001-06-20 20:56:07 +00:00
Tim Peters db019e19e7 Add section explaining that yield *isn't* special wrt try/except/finally. 2001-06-20 20:32:56 +00:00
Tim Peters 195afdf22f Added brief section about exception propagation. 2001-06-20 19:08:20 +00:00
Tim Peters 156af4640f Record that the generator work is part of the regular CVS tree now. 2001-06-19 20:11:50 +00:00
Guido van Rossum 66d57b047e Add back the Emacs stanza. 2001-06-19 11:43:26 +00:00
Guido van Rossum 8727f5379f Fix typo reported by Andrew MacKeith. 2001-06-18 20:46:13 +00:00
Guido van Rossum b6bd93ff82 Add van Rossum as co-author of PEP 257. 2001-06-18 19:19:51 +00:00
Guido van Rossum d96e4fbc05 New version from David Goodger, where he makes me co-author (since
it's mostly lifted from my style guide).  I don't plan to actively
contribute much -- David is the primary author.

There are many miscellaneous updates here.
2001-06-18 19:18:58 +00:00
Guido van Rossum 9bab4aa88d Make a dummy PEP so that PEP 0 doesn't have a broken link. 2001-06-18 18:13:07 +00:00
Tim Peters f898c80976 Add branch-retrieval instructions, adapted from PEP 253. 2001-06-15 21:37:15 +00:00
Tim Peters 385aea3fb0 Added pointer to the gen-branch of the CVS tree. 2001-06-15 20:50:42 +00:00
Guido van Rossum 9c2e1292f6 More good stuff. Consider this just a checkpoint. 2001-06-14 20:48:43 +00:00
Tim Peters c051fdc214 Minor changes; added "why a keyword?" Q&A; added Post-History. 2001-06-14 16:06:02 +00:00
Guido van Rossum 82dbbdfcee Clarified the paragraph about creating a subtype in C. 2001-06-14 13:37:45 +00:00
Tim Peters 00522cd5dc Substantial rewriting. 2001-06-14 06:57:29 +00:00
Guido van Rossum b54a36962d Another intermediate update. I've rewritten the requirements for a
base type to be subtypable.  Needs way more work!
2001-06-13 21:48:31 +00:00
Guido van Rossum 137a35ac05 PEP 259 rejected by user community with record unanimity. 2001-06-13 16:22:05 +00:00
Guido van Rossum 559c1c1ad4 PEP 259: Omit printing newline after newline 2001-06-11 20:07:37 +00:00
Guido van Rossum afd299ae13 I just figured out how to make automatic hyperlinks to other PEPs. 2001-06-08 20:50:31 +00:00
unknown e7232264a6 PEP Style section: allow optional Last-Modified: header to hold the
RCS $Date$ revision string.
2001-06-06 05:57:22 +00:00
unknown 67fa34c8aa Added the following PEPs:
S   256  pep-0256.txt  Docstring Processing System Framework  Goodger
 S   257  pep-0257.txt  Docstring Conventions                  Goodger
 S   258  pep-0258.txt  DPS Generic Implementation Details     Goodger
2001-06-06 05:56:34 +00:00
unknown ff682b330d PEP 256, Docstring Processing System Framework, David Goodger
Editing pass by Barry.
2001-06-06 05:55:51 +00:00
unknown 3cade7a68b PEP 257, Docstring Conventions, David Goodger
Editing pass by Barry.
2001-06-06 05:55:20 +00:00
unknown f1ae408a1c PEP 258, DPS Generic Implementation Details, David Goodger
Editing pass by Barry.
2001-06-06 05:54:49 +00:00
Barry Warsaw bdb526ef89 fixanchor(): Use a module global RFCURL template for RFC urls. Change
this template to point at the nice faqs.org html-ified RFCs.
2001-06-05 17:21:19 +00:00
Barry Warsaw 5acdb29467 Added pep 255, Simple Generators 2001-06-05 17:11:50 +00:00
Barry Warsaw 80e6bc7e2e Magnus Lie Hetland's first version of this pep. 2001-06-05 17:11:30 +00:00
Barry Warsaw 6426c51912 Paul Moore's latest update 2001-06-05 17:01:55 +00:00
Barry Warsaw f247ba6c7f Move PEP 218 from py-in-the-sky to active-for-2.2 2001-06-05 16:57:05 +00:00