Commit Graph

8972 Commits

Author SHA1 Message Date
Amaury Forgeot d'Arc 79fa5ab7b0 Merged revisions 73868 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73868 | amaury.forgeotdarc | 2009-07-07 02:43:08 +0200 (mar., 07 juil. 2009) | 3 lines

  #6428: py3k requires that __bool__ return a bool (and not an int)
  Fix the error message and the documentation.
........
2009-07-07 00:45:43 +00:00
Martin v. Löwis 6870f26d26 Merged revisions 73673 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73673 | martin.v.loewis | 2009-06-29 08:35:26 +0200 (Mo, 29 Jun 2009) | 2 lines

  Link to PEP 383.
........
2009-06-29 06:36:33 +00:00
Benjamin Peterson e65abb3fb0 Merged revisions 73671 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73671 | benjamin.peterson | 2009-06-28 22:37:21 -0500 (Sun, 28 Jun 2009) | 9 lines

  Merged revisions 73669 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73669 | benjamin.peterson | 2009-06-28 22:30:55 -0500 (Sun, 28 Jun 2009) | 1 line

    update to sphinx 0.6.2
  ........
................
2009-06-29 03:46:42 +00:00
Raymond Hettinger b8aff6a6aa Clean-up floating point tutorial 2009-06-29 01:50:51 +00:00
Mark Dickinson a1713bdfed Merged revisions 73642 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

........
  r73642 | mark.dickinson | 2009-06-28 22:24:42 +0100 (Sun, 28 Jun 2009) | 1 line

  Fix incorrect quote type on Decimal examples
........
2009-06-28 21:25:41 +00:00
Mark Dickinson 9307839ee9 Merged revisions 73640 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

........
  r73640 | mark.dickinson | 2009-06-28 22:19:18 +0100 (Sun, 28 Jun 2009) | 3 lines

  Issue #6354 continued:  reword confusing tutorial note on the (no-longer
  existing) difference between str(8/5) and repr(8/5).
........
2009-06-28 21:20:21 +00:00
Mark Dickinson d1cc39d3d8 Merged revisions 73636 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

........
  r73636 | mark.dickinson | 2009-06-28 21:59:42 +0100 (Sun, 28 Jun 2009) | 2 lines

  Issue #6354: More fixes for code examples involving the repr of a float.
........
2009-06-28 21:00:42 +00:00
Mark Dickinson cf2d9ff3c5 Merged revisions 73632 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

........
  r73632 | mark.dickinson | 2009-06-28 21:36:54 +0100 (Sun, 28 Jun 2009) | 3 lines

  Corrections to decimal flying circus:  round returns a Decimal;
  float should have a short repr.
........
2009-06-28 20:38:24 +00:00
Benjamin Peterson d76c8da098 Merged revisions 73623-73624 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73623 | benjamin.peterson | 2009-06-28 12:22:03 -0500 (Sun, 28 Jun 2009) | 58 lines

  Merged revisions 73004,73439,73496,73509,73529,73564,73576-73577,73595-73596,73605 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73004 | jeffrey.yasskin | 2009-05-28 22:44:31 -0500 (Thu, 28 May 2009) | 5 lines

    Fix nearly all compilation warnings under Apple gcc-4.0.  Tested with OPT="-g
    -Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without.
    There's still a batch of non-prototype warnings in Xlib.h that I don't know how
    to fix.
  ........
    r73439 | benjamin.peterson | 2009-06-15 19:29:31 -0500 (Mon, 15 Jun 2009) | 1 line

    don't mask encoding errors when decoding a string #6289
  ........
    r73496 | vinay.sajip | 2009-06-21 12:37:27 -0500 (Sun, 21 Jun 2009) | 1 line

    Issue #6314: logging.basicConfig() performs extra checks on the "level" argument.
  ........
    r73509 | amaury.forgeotdarc | 2009-06-22 14:33:48 -0500 (Mon, 22 Jun 2009) | 2 lines

    #4490 Fix sample code run by "python -m xml.sax.xmlreader"
  ........
    r73529 | r.david.murray | 2009-06-23 13:02:46 -0500 (Tue, 23 Jun 2009) | 4 lines

    Fix issue 5230 by having pydoc's safeimport check to see if the import
    error was thrown from itself in order to decide if the module can't be
    found.  Thanks to Lucas Prado Melo for collaborating on the fix and tests.
  ........
    r73564 | amaury.forgeotdarc | 2009-06-25 17:29:29 -0500 (Thu, 25 Jun 2009) | 6 lines

    #2016 Fix a crash in function call when the **kwargs dictionary is mutated
    during the function call setup.

    This even gives a slight speedup, probably because tuple allocation
    is faster than PyMem_NEW.
  ........
    r73576 | benjamin.peterson | 2009-06-26 18:37:06 -0500 (Fri, 26 Jun 2009) | 1 line

    document is_declared_global()
  ........
    r73577 | benjamin.peterson | 2009-06-27 09:16:23 -0500 (Sat, 27 Jun 2009) | 1 line

    link to extensive generator docs in the reference manual
  ........
    r73595 | ezio.melotti | 2009-06-27 18:45:39 -0500 (Sat, 27 Jun 2009) | 1 line

    stmt and setup can contain multiple statements, see #5896
  ........
    r73596 | ezio.melotti | 2009-06-27 19:07:45 -0500 (Sat, 27 Jun 2009) | 1 line

    Fixed a wrong apostrophe
  ........
    r73605 | georg.brandl | 2009-06-28 07:10:18 -0500 (Sun, 28 Jun 2009) | 1 line

    Remove stray pychecker directive.
  ........
................
  r73624 | benjamin.peterson | 2009-06-28 12:32:20 -0500 (Sun, 28 Jun 2009) | 1 line

  document BufferedIOBase.raw and TextIOBase.buffer
................
2009-06-28 17:35:48 +00:00
Benjamin Peterson 2a0a8fd8a5 Merged revisions 73585 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73585 | benjamin.peterson | 2009-06-27 17:15:41 -0500 (Sat, 27 Jun 2009) | 9 lines

  Merged revisions 73575 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73575 | benjamin.peterson | 2009-06-26 11:49:06 -0500 (Fri, 26 Jun 2009) | 1 line

    mark 3.1 as stable docs
  ........
................
2009-06-27 22:44:09 +00:00
Ezio Melotti 619de8f107 fixed double dict.items in glossary->view 2009-06-25 18:39:31 +00:00
R. David Murray 6601126233 Merged revisions 73511 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73511 | r.david.murray | 2009-06-22 18:11:04 -0400 (Mon, 22 Jun 2009) | 2 lines

  Improve English phrasing.
........
2009-06-25 17:37:57 +00:00
R. David Murray 7fcd3de3ca Fix some broken/missing function:: declarations in turtle docs
pointed out by Gregor Lingl in issue 6339.
2009-06-25 14:26:19 +00:00
Georg Brandl eeb575f329 Merged revisions 73544 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73544 | georg.brandl | 2009-06-24 06:41:19 +0000 (Mi, 24 Jun 2009) | 1 line

  #6332: fix word dupes throughout the source.
........
2009-06-24 06:42:05 +00:00
Amaury Forgeot d'Arc 378314330f Merged revisions 73537 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73537 | amaury.forgeotdarc | 2009-06-23 23:53:46 +0200 (mar., 23 juin 2009) | 3 lines

  Remove last remnants of the ipaddr package.
  The changes in mcast.py come from the first version of the patch for issue5379.
........
2009-06-23 22:01:54 +00:00
Benjamin Peterson 5250401bd0 must be bytes 2009-06-23 03:09:33 +00:00
Benjamin Peterson b48f63433e Merged revisions 73415,73417-73418 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73415 | benjamin.peterson | 2009-06-13 09:25:08 -0500 (Sat, 13 Jun 2009) | 1 line

  use 'rc' for release candidates for consistency
........
  r73417 | benjamin.peterson | 2009-06-13 10:42:23 -0500 (Sat, 13 Jun 2009) | 1 line

  special case release candidates
........
  r73418 | benjamin.peterson | 2009-06-13 10:48:04 -0500 (Sat, 13 Jun 2009) | 1 line

  handle different rc format
........
2009-06-22 19:36:31 +00:00
Nick Coghlan 4958cba231 Merged revisions 73465 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73465 | nick.coghlan | 2009-06-17 22:12:15 +1000 (Wed, 17 Jun 2009) | 1 line

  Issue 6288: update the contextlib.nested() docs to explain why it has been deprecated and should generally be avoided
........
2009-06-17 12:23:43 +00:00
Georg Brandl e810e5a03d Merged revisions 73462-73463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73462 | georg.brandl | 2009-06-17 11:36:21 +0200 (Mi, 17 Jun 2009) | 1 line

  #6295: clarify blocking behavior of getch().
........
  r73463 | georg.brandl | 2009-06-17 11:43:31 +0200 (Mi, 17 Jun 2009) | 1 line

  #6255: document PyInt_FromSize_t.
........
2009-06-17 10:03:58 +00:00
Raymond Hettinger 5bc472a9a4 Add usage note. 2009-06-17 01:40:52 +00:00
Benjamin Peterson c43a26da13 rephrase for clarity 2009-06-16 23:09:24 +00:00
Raymond Hettinger 8699aeaf34 The key-value pairs can be lists or tuples or any iterable. 2009-06-16 20:49:30 +00:00
Georg Brandl 2c8600446d Merged revisions 73447-73448 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73447 | georg.brandl | 2009-06-16 19:41:33 +0200 (Di, 16 Jun 2009) | 1 line

  Add tabularcolumns directive for tables with bullet lists in them.
........
  r73448 | georg.brandl | 2009-06-16 19:43:44 +0200 (Di, 16 Jun 2009) | 1 line

  Remove unused macro.
........
2009-06-16 19:24:38 +00:00
Georg Brandl fc11f27f61 Expand a bit on dict views. 2009-06-16 19:22:10 +00:00
Tarek Ziadé 5e06a65639 Merged revisions 73441 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73441 | tarek.ziade | 2009-06-16 09:29:52 +0200 (Tue, 16 Jun 2009) | 1 line

  Fixed #6287: documentation for the license field in distutils
........
2009-06-16 07:43:42 +00:00
Benjamin Peterson 995bb47c17 rewrite binary std streams part; note that detach()/buffer will not always work 2009-06-14 18:41:18 +00:00
Benjamin Peterson 2a8b54d29c update peek documentation to implementation 2009-06-14 14:37:23 +00:00
Raymond Hettinger be40db07c6 Issue 6261: Clarify behavior of random.uniform(). 2009-06-11 23:12:14 +00:00
Benjamin Peterson 87c8d87b91 Merged revisions 73196,73278-73280,73299,73308,73312-73313,73317-73318,73321,73324,73331,73335,73340,73363 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73196 | benjamin.peterson | 2009-06-03 20:40:29 -0500 (Wed, 03 Jun 2009) | 1 line

  use the offical api
........
  r73278 | benjamin.peterson | 2009-06-07 17:33:11 -0500 (Sun, 07 Jun 2009) | 1 line

  inherit from object
........
  r73279 | benjamin.peterson | 2009-06-07 17:35:00 -0500 (Sun, 07 Jun 2009) | 1 line

  always inherit from an appropiate base class
........
  r73280 | benjamin.peterson | 2009-06-07 17:54:35 -0500 (Sun, 07 Jun 2009) | 1 line

  use booleans for flags
........
  r73299 | georg.brandl | 2009-06-08 13:41:36 -0500 (Mon, 08 Jun 2009) | 1 line

  Typo fix.
........
  r73308 | benjamin.peterson | 2009-06-08 17:18:32 -0500 (Mon, 08 Jun 2009) | 1 line

  remove useless assertion
........
  r73312 | benjamin.peterson | 2009-06-08 18:44:13 -0500 (Mon, 08 Jun 2009) | 1 line

  remove error checks already done in set_context()
........
  r73313 | r.david.murray | 2009-06-08 19:44:22 -0500 (Mon, 08 Jun 2009) | 4 lines

  Issue 2947: document how return code handling translates from
  os.popen to subprocess.  Also fixes reference link in the
  os.spawn documentation.
........
  r73317 | benjamin.peterson | 2009-06-09 12:24:26 -0500 (Tue, 09 Jun 2009) | 1 line

  make ast.c depend on the grammar
........
  r73318 | benjamin.peterson | 2009-06-09 12:29:51 -0500 (Tue, 09 Jun 2009) | 1 line

  explain why keyword names are not just NAME
........
  r73321 | benjamin.peterson | 2009-06-09 16:13:43 -0500 (Tue, 09 Jun 2009) | 1 line

  update symbol.py from with statement changes
........
  r73324 | amaury.forgeotdarc | 2009-06-09 17:53:16 -0500 (Tue, 09 Jun 2009) | 2 lines

  Avoid invoking the parser/compiler just to test the presence of a function.
........
  r73331 | benjamin.peterson | 2009-06-10 08:45:31 -0500 (Wed, 10 Jun 2009) | 1 line

  fix spelling
........
  r73335 | raymond.hettinger | 2009-06-10 11:15:40 -0500 (Wed, 10 Jun 2009) | 1 line

  Fix signed/unsigned compiler warning.
........
  r73340 | amaury.forgeotdarc | 2009-06-10 15:30:19 -0500 (Wed, 10 Jun 2009) | 2 lines

  Fix a typo spotted by Nick Coghlan.
........
  r73363 | benjamin.peterson | 2009-06-11 12:51:17 -0500 (Thu, 11 Jun 2009) | 1 line

  use multi-with syntax
........
2009-06-11 22:54:11 +00:00
Raymond Hettinger 27352a5993 Move comment to correct line. 2009-06-11 22:06:06 +00:00
Raymond Hettinger e046d2aefd Add example of how to do key lookups with bisect(). 2009-06-11 22:01:24 +00:00
Raymond Hettinger 5c96308ee1 Fix funny typo. 2009-06-10 15:38:52 +00:00
Raymond Hettinger 5b4a54c5d5 Add notes for porting issues related to pickles. 2009-06-09 21:07:46 +00:00
Raymond Hettinger 662bad868e Add example for the change to pickle and note the effect of the fix_imports option. 2009-06-09 21:01:05 +00:00
Georg Brandl 10e0e30101 Fix markup. 2009-06-08 20:25:55 +00:00
Thomas Heller 3440c42f33 Fix typo. 2009-06-08 19:11:54 +00:00
Georg Brandl 7ae90dd22d Elaborate encoding recommendations, and fix ambiguous wording for list comprehensions. 2009-06-08 18:59:09 +00:00
Georg Brandl c6c3178942 Merged revisions 73190,73213,73257-73258,73260,73275,73294 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73190 | georg.brandl | 2009-06-04 01:23:45 +0200 (Do, 04 Jun 2009) | 2 lines

  Avoid PendingDeprecationWarnings emitted by deprecated unittest methods.
........
  r73213 | georg.brandl | 2009-06-04 12:15:57 +0200 (Do, 04 Jun 2009) | 1 line

  #5967: note that the C slicing APIs do not support negative indices.
........
  r73257 | georg.brandl | 2009-06-06 19:50:05 +0200 (Sa, 06 Jun 2009) | 1 line

  #6211: elaborate a bit on ways to call the function.
........
  r73258 | georg.brandl | 2009-06-06 19:51:31 +0200 (Sa, 06 Jun 2009) | 1 line

  #6204: use a real reference instead of "see later".
........
  r73260 | georg.brandl | 2009-06-06 20:21:58 +0200 (Sa, 06 Jun 2009) | 1 line

  #6224: s/JPython/Jython/, and remove one link to a module nine years old.
........
  r73275 | georg.brandl | 2009-06-07 22:37:52 +0200 (So, 07 Jun 2009) | 1 line

  Add Ezio.
........
  r73294 | georg.brandl | 2009-06-08 15:34:52 +0200 (Mo, 08 Jun 2009) | 1 line

  #6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf().
........
2009-06-08 13:41:29 +00:00
Georg Brandl 8d8f197c9c Review ctypes docs w.r.t. bytes/unicode. Use bytes where appropriate as the type for C strings. Lots of small markup fixes. Also fixes #4309. 2009-06-08 13:27:23 +00:00
Georg Brandl cd7f32b6cd Signature documentation style update, modules J, K, L and M. 2009-06-08 09:13:45 +00:00
Georg Brandl 0eaab97ad0 Recorded merge of revisions 73286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73286 | georg.brandl | 2009-06-08 09:57:35 +0200 (Mo, 08 Jun 2009) | 1 line

  Remove period from end of headings.
........
2009-06-08 08:00:22 +00:00
Georg Brandl 4049ce080c #6235: ASCII also affects \[dD] escapes. 2009-06-08 07:49:54 +00:00
Georg Brandl ed2a1db59d Remove duplicated sentence. Remove duplicated sentence. 2009-06-08 07:48:27 +00:00
Benjamin Peterson 0926ad1f05 give the C implementation of TextIOWrapper the errors property #6217 2009-06-06 18:02:12 +00:00
Antoine Pitrou 3bbbf18a38 Add what's new entry for r73236. 2009-06-06 14:21:44 +00:00
Antoine Pitrou d9dfaa9487 Issue #6137: The pickle module now translates module names when loading
or dumping pickles with a 2.x-compatible protocol, in order to make data
sharing and migration easier. This behaviour can be disabled using the
new `fix_imports` optional argument.
2009-06-04 20:32:06 +00:00
Raymond Hettinger 40925d288c Remove the ipaddr module per discussion on python-dev. 2009-06-04 18:32:39 +00:00
Eric Smith 5c01a8d1bd Merged revisions 73224 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73224 | eric.smith | 2009-06-04 13:58:15 -0400 (Thu, 04 Jun 2009) | 1 line

  Minor documentation fixes for logging.
........
2009-06-04 18:20:51 +00:00
Raymond Hettinger aa5acaa2d6 Take ipaddr out of whatsnew. 2009-06-04 17:39:41 +00:00
Georg Brandl f5123effa2 Merged revisions 73217 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73217 | georg.brandl | 2009-06-04 12:27:21 +0200 (Do, 04 Jun 2009) | 1 line

  #6175: document that inet_aton supports alternate input formats with less than three dots.
........
2009-06-04 10:28:36 +00:00