Commit Graph

1465 Commits

Author SHA1 Message Date
Guido van Rossum 584036ddd6 Extend intro; add motivation and a section on protocol versions. 2003-01-31 19:56:32 +00:00
Guido van Rossum f739e21311 Claim PEP 307 for extensions to the pickle protocol. 2003-01-31 19:12:53 +00:00
Skip Montanaro 2b35f15752 various tweaks
testing the current patch turned up a shortcoming.  When the bytecode base
is defined, it's not safe to delete the source code.  The bytecode file
generated won't be found.
2003-01-31 17:28:11 +00:00
Walter Dörwald b673f29c07 Change the treatment of positions returned by PEP293
error handers in the Unicode codecs: Negative
positions are treated as being relative to the end of
the input and out of bounds positions result in an
IndexError.

Also update the PEP and include an explanation of
this in the documentation for codecs.register_error.

Fixes a small bug in iconv_codecs: if the position
from the callback is negative *add* it to the size
instead of substracting it.

From SF patch #677429.
2003-01-31 17:19:09 +00:00
Raymond Hettinger 84dbf5d022 Remove an entry for an RFE that was already implemented. 2003-01-31 00:18:59 +00:00
Michael W. Hudson 7306ded076 Note posting to python-dev. 2003-01-30 15:22:56 +00:00
Dave Cole c9f7daf85b Use symbolic constants for quoting parameter rather than a string. 2003-01-30 13:34:29 +00:00
Skip Montanaro bfa7197b40 add some To Do items (to David Goodger - don't shoot me because the text now
has embedded URLs - they are temporary. ;-).
added [optional keyword args] to the constructor prototypes.
2003-01-30 12:53:40 +00:00
Dave Cole e1e46e817b Trying to bring PEP up to date with discussions on mailing list. I hope I
have not misinterpreted the conclusions.
* dialect argument is now either a string to identify one of the internally
  defined parameter sets, otherwise it is an object which contains
  attributes which correspond to the parameter set.
* Altered set_dialect() to take dialect name and dialect object.
* Altered get_dialect() to take dialect name and return dialect object.
* Fleshed out formatting parameters, adding escapechar, lineterminator,
  quoting.
2003-01-30 12:11:27 +00:00
Michael W. Hudson 59fc3f4bc8 Update after comments from Guido. 2003-01-30 10:27:45 +00:00
Skip Montanaro 19a5b5b1fa Expand abstract slightly. Reference patch containing beginnings of
implementation.
2003-01-29 22:49:04 +00:00
Skip Montanaro 0bc2b6d21e add note that this PEP is not about file-level or directory-level control of
bytecode file writes.
2003-01-29 19:28:10 +00:00
Skip Montanaro 1a2be3bbe4 Feedback from Terry Reedy. Make the sys module attribute simply
"bytecodebase".  Give concrete examples of the augmented directory in the
examples.
2003-01-29 18:49:47 +00:00
David Goodger 6a0ff8628b added PEP 306; 305 authors 2003-01-29 15:07:58 +00:00
David Goodger f47cf8f88d How to Change Python's Grammar 2003-01-29 15:07:17 +00:00
Skip Montanaro 4bd57ea00d started reorganizing the information about low-level formatting parameters.
Define dialects in their own subsection.  Define low-level parameters in a
separate subsection.  Define set_dialect() and get_dialect() module-level
functions.

More to be done, but I have to get to work... ;-)
2003-01-29 14:09:45 +00:00
Skip Montanaro e12319dd5d Belatedly added Dave and Andrew as authors. Changed Type to Standards
Track.
2003-01-29 13:36:59 +00:00
David Goodger efa2138e13 capitalized title 2003-01-29 04:23:26 +00:00
David Goodger 935a1711b3 Added PEP 305, CSV file API 2003-01-29 04:20:19 +00:00
David Goodger 7b1b08a413 fixed headers 2003-01-29 03:56:47 +00:00
Skip Montanaro 73a95274f5 add a note about my ignorance of import hooks and how they relate to this
pep.

add posting date, as it's about to be announced to the unwashed masses...
2003-01-27 22:33:41 +00:00
Raymond Hettinger 9c13bfc40f Just pointed out an improvement to the code example. 2003-01-25 20:30:02 +00:00
Raymond Hettinger 45511b4a61 Jp Calderone pointed out that most Python library modules were updated
to support __iter__ and __contains__.

* Removed shelve as a specific counter-example.
* Changed the wording to "may not" so that user and third party modules
  are considered.
2003-01-25 20:21:30 +00:00
Raymond Hettinger ae0f0f9903 Added migration issue for booleans. 2003-01-25 20:15:35 +00:00
David Goodger 7d8ea82a4c spelling 2003-01-23 18:51:09 +00:00
David Goodger f6324c80f8 markup fixes 2003-01-23 18:45:09 +00:00
Skip Montanaro ae27188998 new pep - initial feedback from python-dev incorporated. 2003-01-23 17:26:42 +00:00
Skip Montanaro 5e382b78a4 add pep 304 2003-01-23 17:25:59 +00:00
David Goodger 3719ffd32e Updates from Christopher Craig. 2003-01-18 00:59:04 +00:00
Raymond Hettinger f6e3df20d0 Good modernization advice from Terry J. Reedy:
Don't use list, dict, file, and such as variable names.
2003-01-15 01:55:12 +00:00
Barry Warsaw 87e4c7b2c1 Mark bsddb package as b/c with Python 2.1. I'll be responsible for
that.
2003-01-10 19:13:46 +00:00
Guido van Rossum f7f1408a1e Add a more concrete release schedule. 2003-01-07 02:23:50 +00:00
Guido van Rossum 070e5cfa2e PEPs 273+302 have landed.
New ideas:

  - Add reST?

  - Fix new-style pickling

  - Remove __safe_for_unpickling__
2003-01-06 18:58:25 +00:00
David Goodger dcab216455 update 2003-01-03 04:07:27 +00:00
David Goodger df2d62afcc More Python 2.3 & PyXML compatibility updates 2003-01-03 04:06:26 +00:00
Just van Rossum 1d35ead05d - added two items from Paul Moore to "Open Issues"
- removed section that still mentioned importers-on-sys.path
2003-01-02 18:47:04 +00:00
Guido van Rossum 4f39e03f4d More copyright years found. 2003-01-02 17:24:01 +00:00
Guido van Rossum 9592fe5a24 Add checklist for copyright year change. 2003-01-02 16:33:18 +00:00
Just van Rossum b24983fdf7 2.3a1 integration note 2003-01-01 20:22:03 +00:00
David Goodger f34235a5df update from latest Docutils code 2003-01-01 02:36:01 +00:00
David Goodger a48c05c8eb added PEP 303 2002-12-31 16:06:42 +00:00
David Goodger 5d0866f8b6 spell checked 2002-12-31 16:02:49 +00:00
David Goodger 74365f187c Extend divmod() for Multiple Divisors, by Thomas Bellman 2002-12-31 15:57:18 +00:00
Guido van Rossum f7322b8023 Add a few more places that have the version number. 2002-12-31 01:30:28 +00:00
Just van Rossum 59bf4255f7 removed get_package_path(), is_package() is back 2002-12-30 22:39:07 +00:00
Just van Rossum 7af5202bac - renamed __import__ to __loader__
- changed the get_data() definition
2002-12-30 21:23:57 +00:00
Guido van Rossum 6af0b3a5ce Remove Minor text tweak. 2002-12-30 17:30:25 +00:00
Just van Rossum bab98b7f32 - removed the importer-on-sys.path feature (an update patch will be posted
later)
- renamed imp.find_module2() to imp.get_loader() as suggested by Guido.
2002-12-28 10:16:07 +00:00
Just van Rossum 66feff0738 one more subtlety 2002-12-26 19:03:22 +00:00
Just van Rossum a83a6e2b05 fixed a typo 2002-12-26 18:06:11 +00:00