Commit Graph

1114 Commits

Author SHA1 Message Date
Guido van Rossum 33a01ef3d7 Delete stage 2 (turn on warnings for long literals). This seems to
have caused some concern on c.l.py.  These weill be illegal in Python
3.0, but there's no need to warn about them earlier.
2002-11-07 15:41:19 +00:00
David Goodger 26511b4f25 Withdrawn by author; marked rejected. 2002-11-06 05:41:32 +00:00
David Goodger 9b7cec2cd0 Officially take office. Reject PEP 270. 2002-11-06 05:40:39 +00:00
David Goodger 3906d98f25 updated 2002-11-06 05:38:56 +00:00
Andrew M. Kuchling a98db52a7e Use my personal address instead of my work address 2002-10-31 01:35:08 +00:00
David Goodger cb0de5fce0 Updated for new ``publish_string()`` convenience function. 2002-10-19 01:33:12 +00:00
David Goodger c44a73d95a vertical whitespace improvements 2002-10-18 05:19:39 +00:00
David Goodger 623c977f6e updated for Docutils API changes 2002-10-18 05:19:08 +00:00
Barry Warsaw 8e4c8019b1 Added a note on compound statements after remarks from David Goodger.
Make the code samples agree with this recommendation. ;)
2002-10-17 15:32:18 +00:00
Andrew M. Kuchling 5f41fd9b90 BDFL ruling: Add section on open issues and leave it at that 2002-10-15 00:24:12 +00:00
Andrew M. Kuchling ca7b344a47 Update description of sets to match the 2.3 sets.py 2002-10-13 21:02:35 +00:00
Andrew M. Kuchling fc4b0a2582 Forgot the numeric list -- mark PEP 262 as deferred 2002-10-13 20:22:45 +00:00
Andrew M. Kuchling 4a9868c159 Mark PEP 262 as deferred 2002-10-13 20:21:17 +00:00
Andrew M. Kuchling 729bd94f81 Add two methods to interface (old change) 2002-10-13 20:20:23 +00:00
Martin v. Löwis b1c21a1b80 The UTF-7 codec is implemented. 2002-10-13 14:17:00 +00:00
Martin v. Löwis e3164d0fcb Update status for PEP 277. 2002-10-07 18:38:47 +00:00
Martin v. Löwis 4b6a9cf9e2 The PEP is now implemented. 2002-10-07 18:34:33 +00:00
Guido van Rossum 36a82afee6 Add ruling about source code encodings. 2002-10-07 13:40:41 +00:00
Andrew M. Kuchling 1af0493a5d Fix typo 2002-09-30 01:56:17 +00:00
Andrew M. Kuchling dbadbf0092 Fix grammar error 2002-09-30 01:55:41 +00:00
Fred Drake 29581733e4 Identify modules by name, not source file.
Capitalize "MimeWriter" correctly.
2002-09-25 22:09:30 +00:00
Barry Warsaw 7ef01089e5 Christopher Craig takes over primary ownership of PEPs 239 and 240,
with Moshe as secondary, with Moshe's blessing.
2002-09-20 14:10:52 +00:00
Martin v. Löwis 49eaad86b4 Patch #531491: Deprecate modules superceded by email package. 2002-09-20 12:54:36 +00:00
David Goodger 38805e00d4 updated to warn if the installed Docutils is not up to date 2002-09-12 02:31:38 +00:00
David Goodger 8f37ebc5a5 accommodate a new feature enabling the stylesheet to be embedded in the output HTML (off by default) 2002-09-12 02:30:51 +00:00
Andrew M. Kuchling c9ac030060 Clarify key-length terminology to match my intention 2002-09-05 13:06:26 +00:00
Greg Stein b30961a2fe Per PEP 12, the body of paragraphs should not be indented. This commit
reflows all of the text, but makes no content changes.

The numbered list was indented appropriately for recognition, but
(again) no content changes occurred.
2002-09-05 06:50:07 +00:00
Greg Stein 8bff1bdaa0 Initial changes for reStructuredText. Mostly, this is about turning
some of the text into ``literals``
2002-09-05 06:44:46 +00:00
Barry Warsaw 3d754f3e07 PEP 293 is complete and checked in, so mark it as Final. 2002-09-03 15:58:43 +00:00
Martin v. Löwis f12cda0bc3 Require that the encoding declaration is on a line of its own, to simplify
parsing.
2002-09-03 11:56:15 +00:00
Guido van Rossum ceb037990d PEP 293 checked in. 2002-09-02 14:14:49 +00:00
Marc-André Lemburg 864e3428de Fixed a typo in the flag name. Found by Joakim Hove. 2002-09-02 08:30:27 +00:00
David Goodger bd6020c372 removed tab 2002-08-30 04:30:40 +00:00
David Goodger f1223d04f4 Posting it now. 2002-08-30 04:11:20 +00:00
David Goodger 1655ef5d34 Added an exception handler for a bad PEP number. Updated docstrings. 2002-08-30 03:22:58 +00:00
David Goodger 22562b2c81 Removed unused a.footnote-references style, added styles for line blocks and tt inside titles. 2002-08-30 03:18:22 +00:00
David Goodger 8d2831d855 Tracked Barry's changes to PEP 9. 2002-08-30 03:15:51 +00:00
David Goodger 4b0602458a Fixed some typos and simplified. 2002-08-30 03:13:40 +00:00
David Goodger eb9661b0f1 Better link. 2002-08-30 03:12:36 +00:00
David Goodger 631ff7f4a7 Converted to reStructuredText & edited for readability. 2002-08-30 03:11:40 +00:00
David Goodger dde379d684 Converted to reStructuredText & updated. 2002-08-30 03:10:51 +00:00
Barry Warsaw 2bba139678 Added PEP 299, Special __main__() function in modules, Jeff Epler 2002-08-26 18:12:03 +00:00
Barry Warsaw 84957e2c25 PEP 299, Special __main__() function in modules, Jeff Epler 2002-08-26 18:11:49 +00:00
Barry Warsaw 0e918468e6 push_pep(): Be sure the reST pep.css file gets pushed out too. 2002-08-26 17:02:09 +00:00
Barry Warsaw fbceb154cc Ignore docutils artifacts 2002-08-26 16:58:31 +00:00
Barry Warsaw c1a78f5127 Update the emacs turd 2002-08-26 16:55:56 +00:00
Barry Warsaw 9b5c941892 PEP 9 has been renamed, and PEP 12 was added. 2002-08-26 16:55:22 +00:00
Barry Warsaw f4f726904e David Goodger writes:
* Refactored the file I/O model throughout, to support multiple
  processing paths.  PEP source text is now read into a list of lines.

* In ``fixfile()``:

  - Updated its parameters for the new I/O model.
  - Changed ``fo`` to ``outfile``, ``fi`` to ``inpath`` and
    ``input_lines``.
  - Input is read in by iterating over the list of input lines, rather
    than using "readlines()".
  - Opening and closing of files is done by the caller, "make_html()".
  - Added PEP number processing in Requires header.
  - Linked "Content-Type: text/plain" to PEP 9.

* Added ``fix_rst_pep()``, which imports and calls Docutils code.

* Added ``get_pep_type()``, which checks for a Content-Type header and
  returns the value, defaulting to "text/plain".  If no PEP header is
  found, ``None`` is returned: input is not a PEP.

* Added ``get_input_lines()`` to read input file into a list.

* Expanded ``make_html()`` to catch errors and process the different
  PEP formats via the new ``PEP_TYPE_DISPATCH`` dict.

* Added ``check_requirements()`` to check both Python and Docutils
  requirements.  ``pep_type_error()`` is called if the required
  software is not available.

* In ``main()``:

  - Added an ``argv`` parameter, so that pep2html.py can be imported
    and command-line options passed in.  Yes, I use this functionality
    in the Docutils "buildhtml.py" front end.
  - Files skipped (due to an error) are not pushed onto the server.
2002-08-26 16:54:54 +00:00
Barry Warsaw 734a35b448 Helper files for David Goodger's reStructuredText PEP support. 2002-08-26 16:50:00 +00:00
Barry Warsaw 9ca8e6bba0 David Goodger writes:
New Meta-PEP, "Sample reStructuredText PEP Template"
====================================================

* I've presumed to use "PEP 12", as the next available Meta-PEP
  number; I'll change it if I'm mistaken.  (Barry: PEP 12 was agreed
  on as fine).

* Its status is "Draft".  If acceptable as-is, please change the
  Status header to "Active".  (Barry: Done)

* I've listed Barry as co-author.  Since much of the text was copied
  from PEP 9, I figure it's only fair.  (Barry: thanks!)

* This PEP is marked up using reStructuredText, naturally.

* The "Abstract", "Rationale", and "How to Use This Template" sections
  are based on PEP 9.  "Abstract" has a reference back to PEP 9.
  "Rationale" contains a one-paragraph rationale for reStructuredText
  PEPs.  "How to Use This Template" has been marked up a bit.

* The "ReStructuredText PEP Formatting Requirements" section is the
  big difference.  Subsection "General" contains the same text-level
  instructions as in PEP 9: two spaces at sentence end; 70 columns; no
  tabs; Emacs stanza.  The rest of the section describes the
  reStructuredText syntax and PEP-specific conventions.
2002-08-26 16:31:58 +00:00