Commit graph

21441 commits

Author SHA1 Message Date
Ezio Melotti
a40bdda937 Merged revisions 75070 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75070 | ezio.melotti | 2009-09-26 14:20:53 +0300 (Sat, 26 Sep 2009) | 1 line

  #7000: document "sep" in capwords. Add a few tests
........
2009-09-26 12:33:22 +00:00
Ezio Melotti
ae1b4d2d1a Merged revisions 75059 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r75059 | ezio.melotti | 2009-09-25 23:14:02 +0300 (Fri, 25 Sep 2009) | 1 line

  #6998: fix missing () on a print
........
2009-09-25 20:15:31 +00:00
Ezio Melotti
b297e714e2 #6998: fix missing () on a print 2009-09-25 20:14:02 +00:00
Georg Brandl
7725e7fcb6 Merged revisions 74749 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r74749 | r.david.murray | 2009-09-12 05:09:02 +0200 (Sa, 12 Sep 2009) | 2 lines

  Fix typo.
........
2009-09-24 05:53:19 +00:00
Ezio Melotti
ceaebc3b58 Merged revisions 75041 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75041 | ezio.melotti | 2009-09-24 00:42:25 +0300 (Thu, 24 Sep 2009) | 9 lines

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

  ........
    r75039 | ezio.melotti | 2009-09-24 00:36:39 +0300 (Thu, 24 Sep 2009) | 1 line

    improved phrasing, markup and example
  ........
................
2009-09-23 21:44:27 +00:00
Ezio Melotti
ec5c8b8e9b Merged revisions 75039 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75039 | ezio.melotti | 2009-09-24 00:36:39 +0300 (Thu, 24 Sep 2009) | 1 line

  improved phrasing, markup and example
........
2009-09-23 21:42:25 +00:00
Mark Dickinson
3e124ae739 Issue #1766304: Optimize membership testing for ranges: 'n in range(...)'
does an O(1) check, if n is an integer.  Non-integers aren't affected.
Thanks Robert Lehmann.
2009-09-22 21:47:24 +00:00
Brett Cannon
60d6b35af9 Merged revisions 75026 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75026 | brett.cannon | 2009-09-22 13:08:09 -0700 (Tue, 22 Sep 2009) | 9 lines

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

  ........
    r75024 | brett.cannon | 2009-09-22 13:04:24 -0700 (Tue, 22 Sep 2009) | 1 line

    Fix a minor doc syntax typo.
  ........
................
2009-09-22 20:12:41 +00:00
Brett Cannon
2df8113622 Merged revisions 75024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75024 | brett.cannon | 2009-09-22 13:04:24 -0700 (Tue, 22 Sep 2009) | 1 line

  Fix a minor doc syntax typo.
........
2009-09-22 20:08:09 +00:00
Georg Brandl
73753d354b #6969: make it explicit that configparser writes/reads text files, and fix the example. 2009-09-22 13:53:14 +00:00
R. David Murray
c1eb92bb1a Merged revisions 74740 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74740 | benjamin.peterson | 2009-09-11 16:42:29 -0400 (Fri, 11 Sep 2009) | 1 line

  kill reference to default encoding #6889
........
2009-09-21 14:39:26 +00:00
Senthil Kumaran
c2e303348b I guess, someone overlooked this one in howto. (it is
proper in trunk. That particular line is removed).
2009-09-21 14:12:44 +00:00
Doug Hellmann
14214261c4 Merged revisions 74986 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74986 | doug.hellmann | 2009-09-20 16:56:56 -0400 (Sun, 20 Sep 2009) | 9 lines

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

  ........
    r74984 | doug.hellmann | 2009-09-20 16:44:13 -0400 (Sun, 20 Sep 2009) | 2 lines

    Fix markup for external links.
  ........
................
2009-09-21 12:16:43 +00:00
Doug Hellmann
eb097fca52 Merged revisions 74984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74984 | doug.hellmann | 2009-09-20 16:44:13 -0400 (Sun, 20 Sep 2009) | 2 lines

  Fix markup for external links.
........
2009-09-20 20:56:56 +00:00
Ronald Oussoren
2efd924754 Merged revisions 74970 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74970 | ronald.oussoren | 2009-09-20 16:18:15 +0200 (Sun, 20 Sep 2009) | 7 lines

  Issue 6877: this patch makes it possible to link the readline extension
  to the libedit emulation of the readline API on OSX 10.5 or later.

  This also adds a minimal testsuite for readline to check that the
  history manipuation functions have the same interface with both
  C libraries.
........
2009-09-20 14:53:22 +00:00
Ezio Melotti
bef78d2a08 Merged revisions 74960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74960 | ezio.melotti | 2009-09-20 10:19:57 +0300 (Sun, 20 Sep 2009) | 9 lines

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

  ........
    r74958 | ezio.melotti | 2009-09-20 10:10:39 +0300 (Sun, 20 Sep 2009) | 1 line

    #6881 - fixed wrong return type; improved the formatting
  ........
................
2009-09-20 07:22:00 +00:00
Ezio Melotti
bb43a05807 Merged revisions 74958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74958 | ezio.melotti | 2009-09-20 10:10:39 +0300 (Sun, 20 Sep 2009) | 1 line

  #6881 - fixed wrong return type; improved the formatting
........
2009-09-20 07:19:57 +00:00
Benjamin Peterson
e8ee03dbc6 adjust signature 2009-09-18 21:57:33 +00:00
Benjamin Peterson
308d637c94 Merged revisions 74929 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74929 | benjamin.peterson | 2009-09-18 16:14:55 -0500 (Fri, 18 Sep 2009) | 1 line

  add keyword arguments support to str/unicode encode and decode #6300
........
2009-09-18 21:42:35 +00:00
Georg Brandl
ec4cff06f5 #6935: update version. 2009-09-18 07:28:32 +00:00
Georg Brandl
a17487b321 #6935: update version. 2009-09-18 07:27:51 +00:00
Georg Brandl
6ba000cc9d Merged revisions 74889 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r74889 | georg.brandl | 2009-09-18 00:11:49 +0200 (Fr, 18 Sep 2009) | 17 lines

  Merged revisions 74868,74877-74878 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74868 | georg.brandl | 2009-09-17 12:23:02 +0200 (Do, 17 Sep 2009) | 2 lines

    String values should be shown with quotes, to avoid confusion with constants.
  ........
    r74877 | georg.brandl | 2009-09-17 18:26:06 +0200 (Do, 17 Sep 2009) | 1 line

    Remove duplicate doc of enable/disable_interspersed_args.
  ........
    r74878 | georg.brandl | 2009-09-17 19:14:04 +0200 (Do, 17 Sep 2009) | 1 line

    Make the optparse doc style a bit more standard: use standard description units for attrs/methods/etc., and use the correct referencing roles.
  ........
................
2009-09-17 22:17:38 +00:00
Georg Brandl
15a515f514 Merged revisions 74868,74877-74878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74868 | georg.brandl | 2009-09-17 12:23:02 +0200 (Do, 17 Sep 2009) | 2 lines

  String values should be shown with quotes, to avoid confusion with constants.
........
  r74877 | georg.brandl | 2009-09-17 18:26:06 +0200 (Do, 17 Sep 2009) | 1 line

  Remove duplicate doc of enable/disable_interspersed_args.
........
  r74878 | georg.brandl | 2009-09-17 19:14:04 +0200 (Do, 17 Sep 2009) | 1 line

  Make the optparse doc style a bit more standard: use standard description units for attrs/methods/etc., and use the correct referencing roles.
........
2009-09-17 22:11:49 +00:00
Antoine Pitrou
56abc1f431 Merged revisions 74879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74879 | antoine.pitrou | 2009-09-17 19:18:01 +0200 (jeu., 17 sept. 2009) | 3 lines

  Issue #6929: fix a couple of statements and clarify a lot of things in the IO docs.
........
2009-09-17 17:25:55 +00:00
Antoine Pitrou
497a767c59 Issue #6929: fix a couple of statements and clarify a lot of things in the IO docs. 2009-09-17 17:18:01 +00:00
Brett Cannon
7f98a6c0b6 Merged revisions 74862 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74862 | brett.cannon | 2009-09-16 20:24:45 -0700 (Wed, 16 Sep 2009) | 1 line

  Note in the intro to Extending... that ctypes can be a simpler, more portable solution than custom C code.
........
2009-09-17 03:39:33 +00:00
Georg Brandl
70177e9b15 Merged revisions 74792,74810 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r74792 | georg.brandl | 2009-09-14 16:49:30 +0200 (Mo, 14 Sep 2009) | 9 lines

  Recorded merge of revisions 74791 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74791 | georg.brandl | 2009-09-14 16:08:54 +0200 (Mo, 14 Sep 2009) | 1 line

    #6574: list the future features in a table.
  ........
................
  r74810 | georg.brandl | 2009-09-15 21:55:15 +0200 (Di, 15 Sep 2009) | 1 line

  Do not document the most important (at least for Guido) future import.
................
2009-09-16 16:09:06 +00:00
Georg Brandl
b044b2a701 Merged revisions 74821,74828-74831,74833,74835 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r74821 | georg.brandl | 2009-09-16 11:42:19 +0200 (Mi, 16 Sep 2009) | 1 line

  #6885: run python 3 as python3.
................
  r74828 | georg.brandl | 2009-09-16 16:23:20 +0200 (Mi, 16 Sep 2009) | 1 line

  Use true booleans.
................
  r74829 | georg.brandl | 2009-09-16 16:24:29 +0200 (Mi, 16 Sep 2009) | 1 line

  Small PEP8 correction.
................
  r74830 | georg.brandl | 2009-09-16 16:36:22 +0200 (Mi, 16 Sep 2009) | 1 line

  Use true booleans.
................
  r74831 | georg.brandl | 2009-09-16 17:54:04 +0200 (Mi, 16 Sep 2009) | 1 line

  Use true booleans and PEP8 for argdefaults.
................
  r74833 | georg.brandl | 2009-09-16 17:58:14 +0200 (Mi, 16 Sep 2009) | 1 line

  Last round of adapting style of documenting argument default values.
................
  r74835 | georg.brandl | 2009-09-16 18:00:31 +0200 (Mi, 16 Sep 2009) | 33 lines

  Merged revisions 74817-74820,74822-74824 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74817 | georg.brandl | 2009-09-16 11:05:11 +0200 (Mi, 16 Sep 2009) | 1 line

    Make deprecation notices as visible as warnings are right now.
  ........
    r74818 | georg.brandl | 2009-09-16 11:23:04 +0200 (Mi, 16 Sep 2009) | 1 line

    #6880: add reference to classes section in exceptions section, which comes earlier.
  ........
    r74819 | georg.brandl | 2009-09-16 11:24:57 +0200 (Mi, 16 Sep 2009) | 1 line

    #6876: fix base class constructor invocation in example.
  ........
    r74820 | georg.brandl | 2009-09-16 11:30:48 +0200 (Mi, 16 Sep 2009) | 1 line

    #6891: comment out dead link to Unicode article.
  ........
    r74822 | georg.brandl | 2009-09-16 12:12:06 +0200 (Mi, 16 Sep 2009) | 1 line

    #5621: refactor description of how class/instance attributes interact on a.x=a.x+1 or augassign.
  ........
    r74823 | georg.brandl | 2009-09-16 15:06:22 +0200 (Mi, 16 Sep 2009) | 1 line

    Remove strange trailing commas.
  ........
    r74824 | georg.brandl | 2009-09-16 15:11:06 +0200 (Mi, 16 Sep 2009) | 1 line

    #6892: fix optparse example involving help option.
  ........
................
2009-09-16 16:05:59 +00:00
Georg Brandl
ee8783d0fc Merged revisions 74817-74820,74822-74824 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74817 | georg.brandl | 2009-09-16 11:05:11 +0200 (Mi, 16 Sep 2009) | 1 line

  Make deprecation notices as visible as warnings are right now.
........
  r74818 | georg.brandl | 2009-09-16 11:23:04 +0200 (Mi, 16 Sep 2009) | 1 line

  #6880: add reference to classes section in exceptions section, which comes earlier.
........
  r74819 | georg.brandl | 2009-09-16 11:24:57 +0200 (Mi, 16 Sep 2009) | 1 line

  #6876: fix base class constructor invocation in example.
........
  r74820 | georg.brandl | 2009-09-16 11:30:48 +0200 (Mi, 16 Sep 2009) | 1 line

  #6891: comment out dead link to Unicode article.
........
  r74822 | georg.brandl | 2009-09-16 12:12:06 +0200 (Mi, 16 Sep 2009) | 1 line

  #5621: refactor description of how class/instance attributes interact on a.x=a.x+1 or augassign.
........
  r74823 | georg.brandl | 2009-09-16 15:06:22 +0200 (Mi, 16 Sep 2009) | 1 line

  Remove strange trailing commas.
........
  r74824 | georg.brandl | 2009-09-16 15:11:06 +0200 (Mi, 16 Sep 2009) | 1 line

  #6892: fix optparse example involving help option.
........
2009-09-16 16:00:31 +00:00
Georg Brandl
7f01a13e7c Last round of adapting style of documenting argument default values. 2009-09-16 15:58:14 +00:00
Georg Brandl
45bb63fd75 #6885: run python 3 as python3. 2009-09-16 09:42:19 +00:00
Ezio Melotti
f4b4623a30 Merged revisions 74815 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74815 | ezio.melotti | 2009-09-16 04:18:27 +0300 (Wed, 16 Sep 2009) | 1 line

  #6910 - for->or typo
........
2009-09-16 01:33:31 +00:00
Ezio Melotti
4bbfa2a099 #6910 - for->or typo 2009-09-16 01:18:27 +00:00
Ezio Melotti
1e112baf6a Merged revisions 74813 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74813 | ezio.melotti | 2009-09-16 03:49:03 +0300 (Wed, 16 Sep 2009) | 1 line

  updated the doc to match the module docstring, fixed a couple of errors in the doc markup and in the module
........
2009-09-16 00:57:27 +00:00
Ezio Melotti
6e9b1df499 updated the doc to match the module docstring, fixed a couple of errors in the doc markup and in the module 2009-09-16 00:49:03 +00:00
Georg Brandl
277b6f91c3 Do not document the most important (at least for Guido) future import. 2009-09-15 19:55:15 +00:00
Ronald Oussoren
6b084241e8 Merged revisions 74808 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74808 | ronald.oussoren | 2009-09-15 21:16:02 +0200 (Tue, 15 Sep 2009) | 10 lines

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

  ........
    r74806 | ronald.oussoren | 2009-09-15 21:13:15 +0200 (Tue, 15 Sep 2009) | 3 lines

    Finish support for --with-universal-archs=intel
    and --with-universal-archs=3-way (issue6245)
  ........
................
2009-09-15 19:16:40 +00:00
Ronald Oussoren
bea37aee6b Merged revisions 74806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74806 | ronald.oussoren | 2009-09-15 21:13:15 +0200 (Tue, 15 Sep 2009) | 3 lines

  Finish support for --with-universal-archs=intel
  and --with-universal-archs=3-way (issue6245)
........
2009-09-15 19:16:02 +00:00
Ezio Melotti
61c34d8c09 Merged revisions 74802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74802 | ezio.melotti | 2009-09-15 21:51:37 +0300 (Tue, 15 Sep 2009) | 9 lines

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

  ........
    r74799 | ezio.melotti | 2009-09-15 21:41:43 +0300 (Tue, 15 Sep 2009) | 1 line

    #6917 - typo in method name
  ........
................
2009-09-15 18:57:03 +00:00
Ezio Melotti
2d352d05ac Merged revisions 74799 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74799 | ezio.melotti | 2009-09-15 21:41:43 +0300 (Tue, 15 Sep 2009) | 1 line

  #6917 - typo in method name
........
2009-09-15 18:51:37 +00:00
Benjamin Peterson
b8f68ee7af Merged revisions 74794 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74794 | benjamin.peterson | 2009-09-14 22:34:15 -0500 (Mon, 14 Sep 2009) | 1 line

  Py_(Set|Get)PythonHome use wchar_t #6913
........
2009-09-15 03:38:09 +00:00
Benjamin Peterson
2ded55f79b Py_(Set|Get)PythonHome use wchar_t #6913 2009-09-15 03:34:15 +00:00
Georg Brandl
225f169933 Recorded merge of revisions 74791 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74791 | georg.brandl | 2009-09-14 16:08:54 +0200 (Mo, 14 Sep 2009) | 1 line

  #6574: list the future features in a table.
........
2009-09-14 14:49:30 +00:00
Ezio Melotti
806a006cd4 Merged revisions 74788 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74788 | ezio.melotti | 2009-09-14 03:51:48 +0300 (Mon, 14 Sep 2009) | 9 lines

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

  ........
    r74787 | ezio.melotti | 2009-09-14 03:48:31 +0300 (Mon, 14 Sep 2009) | 1 line

    #6904 - fix broken link
  ........
................
2009-09-14 01:09:44 +00:00
Ezio Melotti
85232bbee7 Merged revisions 74787 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74787 | ezio.melotti | 2009-09-14 03:48:31 +0300 (Mon, 14 Sep 2009) | 1 line

  #6904 - fix broken link
........
2009-09-14 00:51:48 +00:00
Ezio Melotti
713e042152 Merged revisions 74764 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74764 | ezio.melotti | 2009-09-13 10:54:02 +0300 (Sun, 13 Sep 2009) | 1 line

  fixed more examples that were using u"", print without () and unicode/str instead of str/bytes
........
2009-09-13 08:13:21 +00:00
Ezio Melotti
f388053649 Merged revisions 74763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74763 | ezio.melotti | 2009-09-13 08:49:25 +0300 (Sun, 13 Sep 2009) | 1 line

  small fixes in the examples and in the markup
........
2009-09-13 08:09:56 +00:00
Ezio Melotti
2befd9a34c Merged revisions 74762 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74762 | ezio.melotti | 2009-09-13 07:48:45 +0300 (Sun, 13 Sep 2009) | 1 line

  more list()s on dictviews
........
2009-09-13 08:08:32 +00:00
Ezio Melotti
dc2b8ec3a0 typo: string values *have* to be 2009-09-13 08:01:06 +00:00
Ezio Melotti
985e24dcf7 fixed more examples that were using u"", print without () and unicode/str instead of str/bytes 2009-09-13 07:54:02 +00:00