Commit Graph

32 Commits

Author SHA1 Message Date
Serhiy Storchaka 40d4760aea Encoding name can contain underscores. 2016-03-17 15:47:38 +02:00
Guido van Rossum e8c05569ec Clarify things around the coding cookie.
Serhiy Storchaka: "Coding cookie must be in comment, only the first
occurrence in the line must be taken to account (here is a bug in
CPython), encoding name must be ASCII, and there must not be any
Python statement on the line that contains the encoding
declaration."
2016-03-16 17:19:40 -07:00
Brett Cannon be912df710 Fix a minor typo. 2009-06-04 19:44:37 +00:00
Brett Cannon 681781a940 Standardize Marin von Loewis' name. 2007-06-28 20:03:18 +00:00
Brett Cannon b5d4417ea3 Standard Martin v. Loewis' email address. 2007-06-28 00:03:22 +00:00
Brett Cannon cdf5d3ce68 Fix the headers so that they are in the right order and no required headers are
missing.
2007-06-19 04:20:07 +00:00
Georg Brandl 7cbb1c2f19 Clarify encoding cookie format. 2006-12-19 21:04:01 +00:00
David Goodger c5b5d3c83d added Last-Modified headers to all PEPs without 2006-03-23 20:13:19 +00:00
Neal Norwitz 996935cc16 Clarify what happens when passing a Unicode string to compile().
Based on MvL's comment from 2005-02-09 in SF bug # 1115379.
2006-03-23 05:25:38 +00:00
David Goodger 794b1f8f11 converted to UTF-8 & added coding slugs 2006-03-02 19:54:50 +00:00
Neal Norwitz 8a80d48999 Martin changed the encoding warning to an error 2006-02-28 23:10:27 +00:00
Marc-André Lemburg 119e550763 Correct numbering. 2005-11-04 09:45:13 +00:00
Marc-André Lemburg eec80f2059 Add examples section to help users reading the PEP due to a parser
error which pointed them to the text.
2005-11-04 09:42:51 +00:00
Martin v. Löwis a860b7fe69 Patch #1011144: Correct regex syntax. 2004-08-18 13:25:54 +00:00
Guido van Rossum 4df1a9b763 Remove leading blank line so pep2html recognizes this file. 2004-07-24 20:50:49 +00:00
Andrew M. Kuchling 1e0563b4e6 [Bug #995522] Fix regex 2004-07-21 21:22:51 +00:00
Andrew M. Kuchling 5c0f2e9923 Fix grammar nit 2003-02-21 15:24:41 +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
Martin v. Löwis 4114030692 Implemented in CVS. 2002-08-05 15:14:31 +00:00
Barry Warsaw b4b2812169 Typo 2002-07-15 02:47:06 +00:00
Martin v. Löwis 6c432cfe3f Use Hisao's strategy of converting to UTF-8. 2002-04-19 17:32:14 +00:00
Marc-André Lemburg 4903b95001 Changed Python's source code encoding default to ASCII.
Added note about handling of Unicode literals in phase 1.
2002-03-15 17:07:12 +00:00
Marc-André Lemburg bcc3471c33 Clarified the class of possible source code encodings. Added link
to Martin's patch.
2002-03-07 11:14:26 +00:00
Marc-André Lemburg e7818687b7 Added support for Last-Modified header and its (possibly automatic)
generation.
2002-03-01 19:07:46 +00:00
Marc-André Lemburg b96b9c4ea3 Extended the coding RE 2002-02-28 09:08:39 +00:00
Marc-André Lemburg 2e572852cf Changes regarding the default encoding and other minor tweaks.
See history for details.
2002-02-27 11:07:16 +00:00
Marc-André Lemburg ea3edf8588 Redo Barry's change... add fill-column. 2002-02-26 20:26:07 +00:00
Marc-André Lemburg 05c2b00dee Fix name. 2002-02-26 20:22:11 +00:00
Barry Warsaw a8e35f6899 Added fill-column: specification to Emacs block at end of file. 2002-02-26 15:58:09 +00:00
Marc-André Lemburg 4073747f5d Adapted to Martin's comments. 2002-02-26 10:01:25 +00:00
Marc-André Lemburg 5b87828901 Remove references to PEP 244. 2001-08-14 17:39:05 +00:00
Marc-André Lemburg ca40cb4bf0 Initial checkin of the PEP 263. 2001-07-18 20:27:09 +00:00