Commit graph

8702 commits

Author SHA1 Message Date
Benjamin Peterson
6485f247e4 remove extraneous 'text' 2008-12-07 15:07:02 +00:00
Georg Brandl
af265f4977 Merged revisions 67531-67532,67538,67553-67554,67556-67557,67571,67574-67575,67579-67580,67591,67597,67608,67631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67531 | georg.brandl | 2008-12-04 19:54:05 +0100 (Thu, 04 Dec 2008) | 2 lines

  Add reference to enumerate() to indices example.
........
  r67532 | georg.brandl | 2008-12-04 19:59:16 +0100 (Thu, 04 Dec 2008) | 2 lines

  Add another heapq example.
........
  r67538 | georg.brandl | 2008-12-04 22:28:16 +0100 (Thu, 04 Dec 2008) | 2 lines

  Clarification to avoid confusing output with file descriptors.
........
  r67553 | georg.brandl | 2008-12-05 08:49:49 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4408: document regex.groups.
........
  r67554 | georg.brandl | 2008-12-05 08:52:26 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4409: fix asterisks looking like footnotes.
........
  r67556 | georg.brandl | 2008-12-05 09:02:17 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4441: improve doc for os.open() flags.
........
  r67557 | georg.brandl | 2008-12-05 09:06:57 +0100 (Fri, 05 Dec 2008) | 2 lines

  Add an index entry for "subclassing immutable types".
........
  r67571 | georg.brandl | 2008-12-05 10:13:45 +0100 (Fri, 05 Dec 2008) | 2 lines

  Use markup.
........
  r67574 | georg.brandl | 2008-12-05 10:25:32 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4441 followup: Add link to open() docs for Windows.
........
  r67575 | georg.brandl | 2008-12-05 12:34:51 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4544: add `dedent` to textwrap.__all__.
........
  r67579 | georg.brandl | 2008-12-05 16:29:39 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4517: add "special method" glossary entry and clarify when __getattribute__ is bypassed.
........
  r67580 | georg.brandl | 2008-12-05 16:32:29 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4478: document that copyfile() can raise Error.
........
  r67591 | georg.brandl | 2008-12-05 19:00:06 +0100 (Fri, 05 Dec 2008) | 2 lines

  Followup to #4511: add link from decorator glossary entry to definition.
........
  r67597 | georg.brandl | 2008-12-05 20:03:19 +0100 (Fri, 05 Dec 2008) | 2 lines

  Remove confusing sentence part.
........
  r67608 | georg.brandl | 2008-12-06 12:57:12 +0100 (Sat, 06 Dec 2008) | 2 lines

  Follow-up to #4488: document PIPE and STDOUT properly.
........
  r67631 | georg.brandl | 2008-12-07 12:54:07 +0100 (Sun, 07 Dec 2008) | 2 lines

  Add link to the favicon to the docs.
........
2008-12-07 15:06:20 +00:00
Benjamin Peterson
eb9fc524a8 document how to deal with binary standard streams 2008-12-07 14:58:03 +00:00
Georg Brandl
2ed237bd22 #4576: fix ob_type access. 2008-12-07 14:09:20 +00:00
Georg Brandl
17fe364b44 #4562: fix zip() examples. 2008-12-06 14:28:56 +00:00
Raymond Hettinger
518d8da05c Issue 1163367: Clarify super() docs. Also, fix-up the markup and XXX comment. 2008-12-06 11:44:00 +00:00
Georg Brandl
40c509d0b6 cmp() is not really gone. 2008-12-06 08:14:46 +00:00
Georg Brandl
d2aa7e6627 #4557: remove 'c' typecode from array docs and add a note in whatsnew. 2008-12-06 08:12:11 +00:00
Georg Brandl
badc7abc10 Use :samp: role. 2008-12-05 18:31:51 +00:00
Georg Brandl
fed7d80988 #4549: Mention nonlocal statement in tutorial section about scoping. 2008-12-05 18:06:58 +00:00
Georg Brandl
6d204bf9b6 #4550: fix 2.x syntax in webservers howto. 2008-12-05 18:04:41 +00:00
Georg Brandl
48367816e9 Manually merged r67583: move __import__ doc to the bottom. 2008-12-05 15:55:41 +00:00
Georg Brandl
913b2a382f #4504, #4505: Update noddy examples in "Extending & Embedding". 2008-12-05 15:12:15 +00:00
Georg Brandl
7a259ca8e3 #4427: fix arguments for "y" BuildValue type. 2008-12-05 07:57:51 +00:00
Georg Brandl
7fe2c4af0e #4355: refer to urlencode in the correct module. 2008-12-05 07:32:56 +00:00
Guido van Rossum
f519523f47 Tweak verbiage and markup for relative/absolute import. Backport candidate.
(I guess *all* changes to this file should be backported to the 3.0 branch.)
2008-12-05 05:49:12 +00:00
Benjamin Peterson
3432829ea0 fix Sphinx warnings 2008-12-05 03:05:29 +00:00
Georg Brandl
c47408acc1 Add a skeleton 3.1 whatsnew document. 2008-12-04 18:44:53 +00:00
Georg Brandl
83ebf383d7 #4521: fix getcwdu() vs getcwdb(). 2008-12-04 18:21:46 +00:00
Georg Brandl
a2361d908e #4526: fix typo. 2008-12-04 18:19:41 +00:00
Georg Brandl
b159008a54 #4527: fix "unicode or string". 2008-12-04 18:18:16 +00:00
Fred Drake
9baee31a44 - fix markup error
- remove silly emoticon
2008-12-04 15:28:51 +00:00
Andrew M. Kuchling
2982c32a00 Wording change (flaunt -> disobey); markup fixes. The largest edit is to the paragraph on relative imports; please review. (Backport candidate) 2008-12-04 15:07:14 +00:00
Barry Warsaw
97f005d137 Prep for Python 3.1! 2008-12-03 16:46:14 +00:00
Guido van Rossum
815427c481 Remove remark about NaN==NaN, I misunderstood that issue. 2008-12-03 15:24:50 +00:00
Raymond Hettinger
ab4c51c2b3 Minor edits. 2008-12-03 15:04:01 +00:00
Christian Heimes
6e72b9e619 Fixed a warning on whatsnew/3.0.rst 2008-12-03 13:39:03 +00:00
Georg Brandl
ffd1a759da Use the :mod: role. 2008-12-03 06:44:59 +00:00
Guido van Rossum
08388ef361 Some textual tweaks, and fixed a few typos found by a spell checker. 2008-12-03 05:39:28 +00:00
Guido van Rossum
b768d4f759 Fix bad markup. 2008-12-03 04:18:17 +00:00
Guido van Rossum
fedd14051b More cleanup. Moved all Unicode and str/bytes info to the text/data
subsection in common pitfalls, rather than spreading it out.  Made
this the last subsection of common pitfalls.  All XXX comments are now
gone.  I'm sure much is still missing, we'll have to clean that up
post 3.0.  At least all PEPs and all implemented items in PEP 3100
have at least one mention.
2008-12-03 04:15:35 +00:00
Guido van Rossum
67d75ba7e7 Another checkpoint.
(A bit of a mess, a previous submit apparently didn't go through.)
2008-12-03 02:31:31 +00:00
Guido van Rossum
3828768f45 Another checkpoint -- some stuff I managed to do on the train. 2008-12-03 02:03:19 +00:00
Guido van Rossum
7396135b90 Another checkpoint. 2008-12-03 00:54:52 +00:00
Gregory P. Smith
f3655c439d interators -> iterators (thanks Taggnostr) 2008-12-02 23:52:53 +00:00
Guido van Rossum
c46ee546ee Finished what I'm going to write about the standard library. 2008-12-02 23:46:46 +00:00
Guido van Rossum
56076dab76 Finished the "porting to 3.0" section. Had to add a label to
howto/cporting.rst.
2008-12-02 22:58:36 +00:00
Guido van Rossum
715287f12f Another checkpoint. More XXXes added...
Also add some labels to 2.6.rst and howto/unicode.rst so I can refer
to them.  (Somehow a label named 'module-contextlib' couldn't be
referenced -- why???)
2008-12-02 22:34:15 +00:00
Guido van Rossum
5b78dd9fad Another checkpoint to switch machines. 2008-12-02 17:31:14 +00:00
Walter Dörwald
eab34c954d Add missing bracket. 2008-12-02 11:58:09 +00:00
Walter Dörwald
a443856935 Fix typo. 2008-12-02 11:55:30 +00:00
Benjamin Peterson
cc163bb5db fix markup 2008-12-02 01:12:04 +00:00
Guido van Rossum
eb3d8d4665 Checkpoint. Added some stuff. Mostly XXX notes for myself. :-) 2008-12-02 00:56:25 +00:00
Georg Brandl
db6f108532 Merged revisions 67467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67467 | benjamin.peterson | 2008-12-01 13:52:51 +0100 (Mon, 01 Dec 2008) | 1 line

  let people using SVN Sphinx still build the docs
........
2008-12-01 23:02:51 +00:00
Benjamin Peterson
4469d0ca56 Merged revisions 67348,67355,67359,67362,67364-67365,67367-67368,67398,67423-67424,67432,67440-67441,67444-67445,67454-67455,67457-67458 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67348 | benjamin.peterson | 2008-11-22 20:09:41 -0600 (Sat, 22 Nov 2008) | 1 line

  raise a better error
........
  r67355 | georg.brandl | 2008-11-23 13:17:25 -0600 (Sun, 23 Nov 2008) | 2 lines

  #4392: fix parameter name.
........
  r67359 | georg.brandl | 2008-11-23 15:57:30 -0600 (Sun, 23 Nov 2008) | 2 lines

  #4399: fix typo.
........
  r67362 | gregory.p.smith | 2008-11-23 18:41:43 -0600 (Sun, 23 Nov 2008) | 2 lines

  Document PY_SSIZE_T_CLEAN for PyArg_ParseTuple.
........
  r67364 | benjamin.peterson | 2008-11-23 19:16:29 -0600 (Sun, 23 Nov 2008) | 2 lines

  replace reference to debugger-hooks
........
  r67365 | benjamin.peterson | 2008-11-23 22:09:03 -0600 (Sun, 23 Nov 2008) | 1 line

  #4396 make the parser module correctly validate the with syntax
........
  r67367 | georg.brandl | 2008-11-24 10:16:07 -0600 (Mon, 24 Nov 2008) | 2 lines

  Fix typo.
........
  r67368 | georg.brandl | 2008-11-24 13:56:47 -0600 (Mon, 24 Nov 2008) | 2 lines

  #4404: make clear what "path" is.
........
  r67398 | benjamin.peterson | 2008-11-26 11:39:17 -0600 (Wed, 26 Nov 2008) | 1 line

  fix typo in sqlite3 docs
........
  r67423 | jesse.noller | 2008-11-28 12:59:35 -0600 (Fri, 28 Nov 2008) | 2 lines

  issue4238: bsd support for cpu_count
........
  r67424 | christian.heimes | 2008-11-28 13:33:33 -0600 (Fri, 28 Nov 2008) | 1 line

  Retain copyright of processing examples. This was requested by a Debian maintainer during packaging of the multiprocessing package for 2.4/2.5
........
  r67432 | benjamin.peterson | 2008-11-28 17:18:46 -0600 (Fri, 28 Nov 2008) | 1 line

  SVN format 9 is the same it seems
........
  r67440 | jeremy.hylton | 2008-11-28 17:42:59 -0600 (Fri, 28 Nov 2008) | 4 lines

  Move definition int sval into branch of ifdef where it is used.

  Otherwise, you get a warning about an undefined variable.
........
  r67441 | jeremy.hylton | 2008-11-28 18:09:16 -0600 (Fri, 28 Nov 2008) | 2 lines

  Reflow long lines.
........
  r67444 | amaury.forgeotdarc | 2008-11-28 20:03:32 -0600 (Fri, 28 Nov 2008) | 2 lines

  Fix a small typo in docstring
........
  r67445 | benjamin.peterson | 2008-11-29 21:07:33 -0600 (Sat, 29 Nov 2008) | 1 line

  StringIO.close() stops you from using the buffer, too
........
  r67454 | benjamin.peterson | 2008-11-30 08:43:23 -0600 (Sun, 30 Nov 2008) | 1 line

  note the version that works
........
  r67455 | martin.v.loewis | 2008-11-30 13:28:27 -0600 (Sun, 30 Nov 2008) | 1 line

  Issue #4365: Add crtassem.h constants to the msvcrt module.
........
  r67457 | christian.heimes | 2008-11-30 15:16:28 -0600 (Sun, 30 Nov 2008) | 1 line

  w# requires Py_ssize_t
........
  r67458 | benjamin.peterson | 2008-11-30 15:46:16 -0600 (Sun, 30 Nov 2008) | 1 line

  fix pyspecific extensions that were broken by Sphinx's grand renaming
........
2008-11-30 22:46:23 +00:00
Jesse Noller
d0c4249efd Fix mp example, remove fix_logger call 2008-11-28 18:47:24 +00:00
Jesse Noller
4523968b6a Merge r67419 to py3k, mp doc fixes 2008-11-28 18:46:19 +00:00
Christian Heimes
aae1b70a83 2to3 run of multiprocessing examples.
mp_benchmarks, mp_newtypes and mp_distribution are still broken but the others are working properly. We should include the examples in our unit test suite ...
2008-11-28 11:23:26 +00:00
Brett Cannon
7317c1ef7a dbm.gnu and dbm.ndbm accept both strings and bytes as keys and values. For the
former they are converted to bytes before being written to the DB.

Closes issue 3799. Reviewed by Skip Montanaro.
2008-11-25 19:19:17 +00:00
Gregory P. Smith
02c3b5cc30 Document PY_SSIZE_T_CLEAN use and behavior for PyArg_ParseTuple and
mention that it will become the default in a future python version.
2008-11-23 23:49:16 +00:00