Commit Graph

8891 Commits

Author SHA1 Message Date
Gregory P. Smith ef24cb6437 version added 3.1 2009-05-04 19:35:16 +00:00
Gregory P. Smith 95e3b9c848 documentation clarification. mention bytes. 2009-05-04 19:34:45 +00:00
Gregory P. Smith 3f61d61b35 Merge refactoring I did when committing r72267 to trunk into the
already committed issue4751 support in py3k r68411.
2009-05-04 00:45:33 +00:00
Mark Dickinson 725bfd8489 Issue #5914: Add new C-API function PyOS_string_to_double, to complement
PyOS_double_to_string, and deprecate PyOS_ascii_strtod and PyOS_ascii_atof.
2009-05-03 20:33:40 +00:00
Gregory P. Smith 05bf1d23f6 Mention ipaddr in whatsnew for 3.1. 2009-05-03 06:53:18 +00:00
Martin v. Löwis db12d454e6 Issue #3672: Reject surrogates in utf-8 codec; add surrogates error
handler.
2009-05-02 18:52:14 +00:00
Benjamin Peterson c6b607d4a9 port simplejson upgrade from the trunk #4136
json also now works only with unicode strings

Patch by Antoine Pitrou; updated by me
2009-05-02 12:36:44 +00:00
Gregory P. Smith 842e8da642 Merged revisions 72183-72184 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72183 | georg.brandl | 2009-05-01 14:28:35 -0700 (Fri, 01 May 2009) | 2 lines

  Review ipaddr docs and add them in the TOC under "Internet protocols".
........
  r72184 | georg.brandl | 2009-05-01 14:30:25 -0700 (Fri, 01 May 2009) | 1 line

  Fix directive name.
........
2009-05-02 06:15:18 +00:00
Gregory P. Smith e54dff5e63 Merged revisions 72173 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72173 | gregory.p.smith | 2009-05-01 12:59:52 -0700 (Fri, 01 May 2009) | 5 lines

  Adds the ipaddr module to the standard library.  Issue #3959.
  Based off of subversion r69 from http://code.google.com/p/ipaddr-py/

  This code is 2to3 safe, I'll merge it into py3k later this afternoon.
........
2009-05-01 22:13:48 +00:00
Benjamin Peterson edc364717e versionadded 2009-05-01 20:48:14 +00:00
Benjamin Peterson ef9f2bde37 add myself 2009-05-01 20:45:43 +00:00
Benjamin Peterson d2e0c7955f implement a detach() method for BufferedIOBase and TextIOBase #5883 2009-05-01 20:40:59 +00:00
Walter Dörwald 155374d95d Merged revisions 72167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72167 | walter.doerwald | 2009-05-01 19:35:37 +0200 (Fr, 01 Mai 2009) | 5 lines

  Make test.test_support.EnvironmentVarGuard behave like a dictionary.

  All changes are mirrored to the underlying os.environ dict, but rolled back
  on exit from the with block.
........
2009-05-01 19:58:58 +00:00
Mark Dickinson 33841c3489 Issue #5859: Remove '%f' to '%g' formatting switch for large floats. 2009-05-01 15:37:04 +00:00
R. David Murray e08a66a371 Document the fact that 'compname' and 'comptype' are bytes. 2009-04-29 21:50:39 +00:00
Georg Brandl 476b355d63 Die, buffer(), die. 2009-04-29 06:37:12 +00:00
Raymond Hettinger a48db39992 Issue #5857: tokenize.tokenize() now returns named tuples. 2009-04-29 00:34:27 +00:00
R. David Murray 8e8099c491 Merged revisions 72060 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72060 | r.david.murray | 2009-04-28 12:08:18 -0400 (Tue, 28 Apr 2009) | 10 lines

  Various small fixups to the multiprocessing docs, mostly fixing and
  enabling doctests that Sphinx can run, and fixing and disabling tests that
  Sphinx can't run.  I hand checked every test not now marked as a doctest,
  and all except the two that have open bug reports against them now work,
  at least on Linux/trunk. (I did not look at the last example at all since
  there was already an open bug).  I did not read the whole document with
  an editor's eye, but I did fix a few things I noticed while working on
  the tests.
........
2009-04-28 18:02:00 +00:00
Raymond Hettinger 58c8c262f8 Add another example to the seealso section. 2009-04-27 21:01:21 +00:00
R. David Murray e02a3017ca Third to last example is now marked as a test, but I can't actually test
it yet since sphinx can't run the doctests using python3.

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

........
  r72038 | r.david.murray | 2009-04-27 13:22:36 -0400 (Mon, 27 Apr 2009) | 8 lines

  Make sys.xxx variable references into links, note that print_last only
  works when an exception gets to the interactive prompt, and update the
  examples after testing.  The last one is now a valid Sphinx doctest,
  but of the preceding two one can't be made a doctest and the other one
  I'm postponing to 3.x because sphinx handles doctests as Unicode strings
  and that makes the 2.x output confusing.
........
2009-04-27 18:38:19 +00:00
Georg Brandl 57e1b503ca Merged revisions 71955,71962 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71955 | georg.brandl | 2009-04-26 08:01:04 +0200 (So, 26 Apr 2009) | 1 line

  Mostly formatting nits, and "and-ed together" -> "or-ed together" flags.
........
  r71962 | eric.smith | 2009-04-26 12:05:11 +0200 (So, 26 Apr 2009) | 1 line

  Note that the caller is resposible for freeing the result of PyOS_double_to_string.
........
2009-04-27 16:54:22 +00:00
Georg Brandl ff2ad0e1a6 Merged revisions 71814-71817,71901-71903 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71814 | georg.brandl | 2009-04-23 10:44:57 +0200 (Do, 23 Apr 2009) | 1 line

  #5820: fix bug in usage of getreader().
........
  r71815 | georg.brandl | 2009-04-23 10:49:39 +0200 (Do, 23 Apr 2009) | 1 line

  Fix rewrapping accident.
........
  r71816 | georg.brandl | 2009-04-23 10:49:56 +0200 (Do, 23 Apr 2009) | 1 line

  #5813: add a reference to the "future statements" section.
........
  r71817 | georg.brandl | 2009-04-23 10:52:03 +0200 (Do, 23 Apr 2009) | 1 line

  Add link to PEP 236.
........
  r71901 | georg.brandl | 2009-04-25 16:50:25 +0200 (Sa, 25 Apr 2009) | 1 line

  #3320: fix spelling.
........
  r71902 | georg.brandl | 2009-04-25 16:51:31 +0200 (Sa, 25 Apr 2009) | 1 line

  #5834: use "failure" instead of "error" because the two have different meanings in unittest context.
........
  r71903 | georg.brandl | 2009-04-25 17:05:04 +0200 (Sa, 25 Apr 2009) | 1 line

  #5821: add some capabilities of TarFile's file-like object.
........
2009-04-27 16:51:45 +00:00
Georg Brandl 0192bffe90 Merged revisions 71607,71653,71696,71771,71786 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71607 | benjamin.peterson | 2009-04-14 23:23:09 +0200 (Di, 14 Apr 2009) | 1 line

  tupel -> tuple
........
  r71653 | raymond.hettinger | 2009-04-16 20:16:10 +0200 (Do, 16 Apr 2009) | 1 line

  Clarify the behavior of any() and all() with an empty iterable.
........
  r71696 | georg.brandl | 2009-04-18 10:26:21 +0200 (Sa, 18 Apr 2009) | 1 line

  "not subscriptable" should be a bit more understandable than "unsubscriptable".
........
  r71771 | raymond.hettinger | 2009-04-20 20:23:57 +0200 (Mo, 20 Apr 2009) | 1 line

  Fix typo
........
  r71786 | georg.brandl | 2009-04-21 20:23:08 +0200 (Di, 21 Apr 2009) | 1 line

  #5757: fix copy-paste error in notify().
........
2009-04-27 16:49:41 +00:00
Georg Brandl 3638e487b9 Merged revisions 71572 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71572 | georg.brandl | 2009-04-13 15:13:25 +0200 (Mo, 13 Apr 2009) | 1 line

  #5745: more linking for identifiers in email docs.
........
2009-04-27 16:46:17 +00:00
Georg Brandl 540b45c475 Merged revisions 71544,71546,71554-71555 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71544 | benjamin.peterson | 2009-04-13 01:19:56 +0200 (Mo, 13 Apr 2009) | 1 line

  fix extra parenthesis #5774
........
  r71546 | benjamin.peterson | 2009-04-13 01:44:15 +0200 (Mo, 13 Apr 2009) | 1 line

  fix missing quote
........
  r71554 | hirokazu.yamamoto | 2009-04-13 03:07:06 +0200 (Mo, 13 Apr 2009) | 1 line

  Fixed typo. (email.Utils => email.utils)
........
  r71555 | hirokazu.yamamoto | 2009-04-13 03:21:56 +0200 (Mo, 13 Apr 2009) | 1 line

  Fixed another typos. (email.Utils => email.utils)
........
2009-04-27 16:45:26 +00:00
Georg Brandl f3532df236 Merged revisions 71540,71563 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71540 | georg.brandl | 2009-04-12 22:30:53 +0200 (So, 12 Apr 2009) | 1 line

  #5719: add short usage example to optparse docstring.
........
  r71563 | georg.brandl | 2009-04-13 14:36:18 +0200 (Mo, 13 Apr 2009) | 1 line

  Simplify markup.
........
2009-04-27 16:41:41 +00:00
Georg Brandl 9078afe317 Merged revisions 71503 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71503 | eric.smith | 2009-04-12 04:57:29 +0200 (So, 12 Apr 2009) | 1 line

  Take credit for my patch for issue 5237.
........
2009-04-27 16:38:14 +00:00
Georg Brandl 747f0518e8 Remove merging accident. 2009-04-27 16:34:37 +00:00
Georg Brandl 4ca444241d Merged revisions 71958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71958 | georg.brandl | 2009-04-26 08:06:19 +0200 (So, 26 Apr 2009) | 1 line

  Remove outdated TODO file.
........
2009-04-27 16:32:11 +00:00
Georg Brandl b5b5bcc0d1 Merged revisions 71956 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71956 | georg.brandl | 2009-04-26 08:05:18 +0200 (So, 26 Apr 2009) | 1 line

  Update versions in instructions for manual set-up.
........
2009-04-27 16:29:51 +00:00
Georg Brandl 5617db86c3 Merged revisions 71960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71960 | georg.brandl | 2009-04-26 11:56:44 +0200 (So, 26 Apr 2009) | 1 line

  Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/.
........
2009-04-27 16:28:57 +00:00
Georg Brandl 3221dc9b31 Merged revisions 72008 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72008 | georg.brandl | 2009-04-27 17:10:44 +0200 (Mo, 27 Apr 2009) | 1 line

  Remove ".. warning::" markup that doesnt contain warnings for users, rather todo items.
........
2009-04-27 16:23:47 +00:00
Georg Brandl 0142d4a3df Merged revisions 72007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72007 | georg.brandl | 2009-04-27 17:09:25 +0200 (Mo, 27 Apr 2009) | 1 line

  #5856: fix typo s in traceback example.
........
2009-04-27 16:22:44 +00:00
Georg Brandl e720c0aa74 Merged revisions 72009 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72009 | georg.brandl | 2009-04-27 17:29:09 +0200 (Mo, 27 Apr 2009) | 3 lines

  Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
  should clutter the docs as possible.  Part 1: stuff that gets merged to Py3k.
........
2009-04-27 16:20:50 +00:00
Georg Brandl 56a59048ee Reintroduce versionchanged tags, but with correct version. 2009-04-27 08:58:15 +00:00
Jeroen Ruigrok van der Werven b70ccc348b After discussing some more with Georg, do no migrate versionchanged:: 2.5 to
this branch. While I am here, also get rid of other versionchanged:: 2.x
constructs, as discussed.
2009-04-27 08:07:12 +00:00
Georg Brandl 7b6ca4ab7f #5061: improve open() docs a bit. 2009-04-27 06:13:55 +00:00
Jeroen Ruigrok van der Werven 47a7d70002 Merged revisions 71920-71923,71925-71929,71931-71934,71937 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71920 | jeroen.ruigrok | 2009-04-25 21:44:55 +0200 (za, 25 apr 2009) | 5 lines

  Issue #4129: More documentation pointers about int -> Py_ssize_t.
  Also fix up the documentation for PyObject_GC_Resize(). It seems that since
  it first got documented, the documentation was actually for
  _PyObject_GC_Resize().
........
  r71921 | jeroen.ruigrok | 2009-04-25 21:46:19 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: Documentation notes for int -> Py_ssize_t changes.
........
  r71922 | jeroen.ruigrok | 2009-04-25 21:49:05 +0200 (za, 25 apr 2009) | 2 lines

  Reformat, since I've been busy here anyway.
........
  r71923 | jeroen.ruigrok | 2009-04-25 21:54:34 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: Add a versionchanged notice for a few forgotten entries.
........
  r71925 | jeroen.ruigrok | 2009-04-25 22:37:39 +0200 (za, 25 apr 2009) | 2 lines

  Since it's a macro, actually refer to it as such instead of function.
........
  r71926 | jeroen.ruigrok | 2009-04-25 22:40:10 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71927 | jeroen.ruigrok | 2009-04-25 22:41:40 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: int -> Py_ssize_t documentation.
........
  r71928 | jeroen.ruigrok | 2009-04-25 22:43:30 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71929 | jeroen.ruigrok | 2009-04-25 22:44:58 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: int -> Py_ssize_t documentation.
........
  r71931 | jeroen.ruigrok | 2009-04-25 22:50:27 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: int -> Py_ssize_t documentation.
........
  r71932 | jeroen.ruigrok | 2009-04-25 22:55:39 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: more int -> Py_ssize_t documentation.
........
  r71933 | jeroen.ruigrok | 2009-04-25 22:58:35 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: more int -> Py_ssize_t documentation.
........
  r71934 | jeroen.ruigrok | 2009-04-25 23:02:34 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: field changed from int to Py_ssize_t.
........
  r71937 | jeroen.ruigrok | 2009-04-25 23:16:05 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: document int -> Py_ssize_t changes.
........
2009-04-27 05:43:17 +00:00
Raymond Hettinger 5afb5c6630 Add link to math.fsum(). 2009-04-26 22:01:46 +00:00
Raymond Hettinger 4af362905c Improve the rounding and summing examples. 2009-04-26 21:37:46 +00:00
Eric Smith cc32a11976 Issue #5835: Deprecate PyOS_ascii_formatd. 2009-04-26 21:35:14 +00:00
Jeroen Ruigrok van der Werven bd87552a34 Merged revisions 71898-71900,71910,71914-71919 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71898 | jeroen.ruigrok | 2009-04-25 16:24:30 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71899 | jeroen.ruigrok | 2009-04-25 16:27:00 +0200 (za, 25 apr 2009) | 3 lines

  The type for ppos has been Py_ssize_t since 2.5, reflect this in the
  documentation.
........
  r71900 | jeroen.ruigrok | 2009-04-25 16:28:02 +0200 (za, 25 apr 2009) | 2 lines

  Reformat paragraph.
........
  r71910 | jeroen.ruigrok | 2009-04-25 19:59:03 +0200 (za, 25 apr 2009) | 4 lines

  Issue #4129: Belatedly document which C API functions had their argument(s) or
  return type changed from int or int * to Py_ssize_t or Py_ssize_t * as this
  might cause problems on 64-bit platforms.
........
  r71914 | jeroen.ruigrok | 2009-04-25 20:31:20 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71915 | jeroen.ruigrok | 2009-04-25 20:46:03 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: Document more int -> Py_ssize_t changes.
........
  r71916 | jeroen.ruigrok | 2009-04-25 20:53:48 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71917 | jeroen.ruigrok | 2009-04-25 20:57:32 +0200 (za, 25 apr 2009) | 2 lines

  Reference to an int type, whereas it's a Py_ssize_t as the synopsis states.
........
  r71918 | jeroen.ruigrok | 2009-04-25 21:04:15 +0200 (za, 25 apr 2009) | 2 lines

  Since I edited this file, reformat for future edits.
........
  r71919 | jeroen.ruigrok | 2009-04-25 21:10:52 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
2009-04-26 21:06:15 +00:00
Jeroen Ruigrok van der Werven 939c178379 Merged revisions 71874,71882,71890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71874 | jeroen.ruigrok | 2009-04-25 13:59:09 +0200 (za, 25 apr 2009) | 2 lines

  First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT.
........
  r71882 | jeroen.ruigrok | 2009-04-25 14:49:10 +0200 (za, 25 apr 2009) | 3 lines

  Issue #4239: adjust email examples not to use connect() and terminate with
  quit() and not close().
........
  r71890 | jeroen.ruigrok | 2009-04-25 15:07:40 +0200 (za, 25 apr 2009) | 3 lines

  Rewrite a sentence to be more in line with the rest of the documentation with
  regard to person and audience.
........
2009-04-26 20:25:45 +00:00
Jeroen Ruigrok van der Werven f4a9f96168 Merged revisions 71873 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71873 | jeroen.ruigrok | 2009-04-25 13:15:06 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to expanding.
........
2009-04-26 20:21:12 +00:00
Raymond Hettinger f0320c7ee6 Remove the round() discussion which is now out-of-date. 2009-04-26 20:10:50 +00:00
Hirokazu Yamamoto ae9eb5c4d0 Fixed documentation build warning. 2009-04-26 03:34:06 +00:00
Michael Foord 5859b869a3 Doc fix, closing issue 5826 2009-04-25 20:47:43 +00:00
Georg Brandl b58f46f691 Remove leftover word. 2009-04-24 19:06:29 +00:00
Raymond Hettinger 8bd1d4f52c Update for the new float.__repr__() 2009-04-24 03:09:06 +00:00
Raymond Hettinger d258d1e7e8 Update decimal docs for the new floating point repr(). 2009-04-23 22:06:12 +00:00
Mark Dickinson cf63f2fb88 Issue #5812: Make Fraction('1e6') valid. The Fraction constructor now
accepts all strings accepted by the float and Decimal constructors,
with the exception of strings representing NaNs or infinities.
2009-04-22 17:50:21 +00:00
Nick Coghlan 4738470402 Merged revisions 71799 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71799 | nick.coghlan | 2009-04-23 01:26:04 +1000 (Thu, 23 Apr 2009) | 1 line

  Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)
........
2009-04-22 16:13:36 +00:00
Eric Smith c4cae32683 Merged revisions 71788 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71788 | eric.smith | 2009-04-21 20:47:00 -0400 (Tue, 21 Apr 2009) | 1 line

  Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy.
........
2009-04-22 00:53:01 +00:00
Raymond Hettinger 960dc3626a Update links and version info. 2009-04-21 03:43:15 +00:00
Raymond Hettinger 9b8d069b31 Forward port r70471: Add object_pairs_hook. Issue 5381. 2009-04-21 03:27:12 +00:00
Raymond Hettinger 1a6b73dcdf Add porting notes. 2009-04-17 20:55:52 +00:00
Raymond Hettinger 0422e14155 Add more examples. 2009-04-17 18:58:06 +00:00
Eric Smith 86c06bc47f Nit. 2009-04-17 12:33:24 +00:00
Raymond Hettinger c548b6e724 Update list of supported types. 2009-04-17 10:09:27 +00:00
Raymond Hettinger fee346b5c4 Nits. 2009-04-17 09:45:19 +00:00
Raymond Hettinger 8648e501d8 Ladies and gentlemen, the new float.__repr__() has arrived. 2009-04-17 00:11:54 +00:00
Mark Dickinson b08a53a99d Issue #1580: use short float repr where possible.
- incorporate and adapt David Gay's dtoa and strtod
   into the Python core
 - on platforms where we can use Gay's code (almost
   all!), repr(float) is based on the shortest
   sequence of decimal digits that rounds correctly.
 - add sys.float_repr_style attribute to indicate
   whether we're using Gay's code or not
 - add autoconf magic to detect and enable SSE2
   instructions on x86/gcc
 - slight change to repr and str:  repr switches
   to exponential notation at 1e16 instead of
   1e17, str switches at 1e11 instead of 1e12
2009-04-16 19:52:09 +00:00
R. David Murray 1055e89a25 Merged revisions 71651 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71651 | r.david.murray | 2009-04-16 14:12:53 -0400 (Thu, 16 Apr 2009) | 2 lines

  Less red ink (warning->note) and add link to def of side-by-side assembly.
........
2009-04-16 18:15:32 +00:00
R. David Murray f4ac1494dc Merged revisions 71631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71631 | r.david.murray | 2009-04-15 18:33:07 -0400 (Wed, 15 Apr 2009) | 4 lines

  Fix for issue3440: add warning to subprocess discussion of
  env parameter that on Windows SystemRoot is required in order
  to run side-by-side assemblies.
........
2009-04-15 22:35:15 +00:00
Benjamin Peterson 50a1469557 reference the io momdule in file and directory section 2009-04-15 20:34:30 +00:00
Raymond Hettinger 55fc9ce7e1 Fix links 2009-04-14 20:45:17 +00:00
Raymond Hettinger d621dd7ecd Fix-up links. 2009-04-14 08:16:50 +00:00
Raymond Hettinger 7f5d746cdf New module names are lowercase 2009-04-14 08:05:31 +00:00
Georg Brandl abc387747d Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecate
string.maketrans() which actually works on bytes.  (Also closes #5675.)
2009-04-12 15:51:51 +00:00
R. David Murray 78532baeab Merged revisions 70873,70904,70934,71490 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70873 | josiah.carlson | 2009-03-31 15:32:34 -0400 (Tue, 31 Mar 2009) | 2 lines

  This resolves issue 1161031.  Tests pass.
........
  r70904 | josiah.carlson | 2009-03-31 17:49:36 -0400 (Tue, 31 Mar 2009) | 3 lines

  Made handle_expt_event() be called last, so that we don't accidentally read
  after closing the socket.
........
  r70934 | josiah.carlson | 2009-03-31 21:28:11 -0400 (Tue, 31 Mar 2009) | 2 lines

  Fix for failing asyncore tests.
........
  r71490 | r.david.murray | 2009-04-11 13:52:56 -0400 (Sat, 11 Apr 2009) | 4 lines

  Make test_asyncore tests match code changes introduced by the
  fix to Issue1161031, refactoring the test to simplify it in
  the process.
........
2009-04-12 15:35:44 +00:00
Benjamin Peterson 3f96a87902 Merged revisions 71498 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71498 | benjamin.peterson | 2009-04-11 15:27:15 -0500 (Sat, 11 Apr 2009) | 1 line

  fix markup
........
2009-04-11 20:58:12 +00:00
Benjamin Peterson f47ed4a014 Merged revisions 70912,70944,70968,71033,71041,71208,71263,71286,71395-71396,71405-71406,71485,71492,71494 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70912 | georg.brandl | 2009-03-31 17:35:46 -0500 (Tue, 31 Mar 2009) | 1 line

  #5617: add a handy function to print a unicode string to gdbinit.
........
  r70944 | georg.brandl | 2009-03-31 23:32:39 -0500 (Tue, 31 Mar 2009) | 1 line

  #5631: add upload to list of possible commands, which is presented in --help-commands.
........
  r70968 | michael.foord | 2009-04-01 13:25:38 -0500 (Wed, 01 Apr 2009) | 1 line

  Adding Wing project file
........
  r71033 | brett.cannon | 2009-04-01 22:34:53 -0500 (Wed, 01 Apr 2009) | 3 lines

  Fix two issues introduced by issue #71031 by changing the signature of
  PyImport_AppendInittab() to take a const char *.
........
  r71041 | jesse.noller | 2009-04-02 00:17:26 -0500 (Thu, 02 Apr 2009) | 1 line

  Add custom initializer argument to multiprocess.Manager*, courtesy of lekma
........
  r71208 | michael.foord | 2009-04-04 20:15:01 -0500 (Sat, 04 Apr 2009) | 4 lines

  Change the way unittest.TestSuite use their tests to always access them through iteration. Non behavior changing, this allows you to create custom subclasses that override __iter__.

  Issue #5693
........
  r71263 | michael.foord | 2009-04-05 14:19:28 -0500 (Sun, 05 Apr 2009) | 4 lines

  Adding assertIs and assertIsNot methods to unittest.TestCase

  Issue #2578
........
  r71286 | tarek.ziade | 2009-04-05 17:04:38 -0500 (Sun, 05 Apr 2009) | 1 line

  added a simplest test to distutils.spawn._nt_quote_args
........
  r71395 | benjamin.peterson | 2009-04-08 08:27:29 -0500 (Wed, 08 Apr 2009) | 1 line

  these must be installed to correctly run tests
........
  r71396 | benjamin.peterson | 2009-04-08 08:29:41 -0500 (Wed, 08 Apr 2009) | 1 line

  fix syntax
........
  r71405 | andrew.kuchling | 2009-04-09 06:22:47 -0500 (Thu, 09 Apr 2009) | 1 line

  Add items
........
  r71406 | andrew.kuchling | 2009-04-09 06:23:36 -0500 (Thu, 09 Apr 2009) | 1 line

  Typo fixes
........
  r71485 | andrew.kuchling | 2009-04-11 11:12:23 -0500 (Sat, 11 Apr 2009) | 1 line

  Add various items
........
  r71492 | georg.brandl | 2009-04-11 13:19:27 -0500 (Sat, 11 Apr 2009) | 1 line

  Take credit for a patch of mine.
........
  r71494 | benjamin.peterson | 2009-04-11 14:31:00 -0500 (Sat, 11 Apr 2009) | 1 line

  ignore py3_test_grammar when compiling the library
........
2009-04-11 20:45:40 +00:00
Benjamin Peterson ef3e4c2b4d Merged revisions 70980,71059,71225,71234,71241,71243,71249,71251,71255,71266,71299,71329,71397-71398,71486 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70980 | jack.diederich | 2009-04-01 15:26:13 -0500 (Wed, 01 Apr 2009) | 3 lines

  bounds check arguments to mmap.move().  All of them.  Really.
  fixes crasher on OS X 10.5
........
  r71059 | mark.dickinson | 2009-04-02 13:39:37 -0500 (Thu, 02 Apr 2009) | 2 lines

  sys.long_info attributes should be ints, not longs
........
  r71225 | georg.brandl | 2009-04-05 06:54:07 -0500 (Sun, 05 Apr 2009) | 1 line

  #5580: no need to use parentheses when converterr() argument is actually a type description.
........
  r71234 | georg.brandl | 2009-04-05 08:16:35 -0500 (Sun, 05 Apr 2009) | 1 line

  Whitespace normalization.
........
  r71241 | georg.brandl | 2009-04-05 09:48:49 -0500 (Sun, 05 Apr 2009) | 1 line

  #5471: fix expanduser() for $HOME set to "/".
........
  r71243 | georg.brandl | 2009-04-05 10:14:29 -0500 (Sun, 05 Apr 2009) | 1 line

  #5432: make plistlib docstring a raw string, since it contains examples with backslash escapes.
........
  r71249 | georg.brandl | 2009-04-05 11:30:43 -0500 (Sun, 05 Apr 2009) | 1 line

  #5444: adapt make.bat to new htmlhelp output file name.
........
  r71251 | georg.brandl | 2009-04-05 12:17:42 -0500 (Sun, 05 Apr 2009) | 1 line

  #5298: clarify docs about GIL by using more consistent wording.
........
  r71255 | georg.brandl | 2009-04-05 13:34:58 -0500 (Sun, 05 Apr 2009) | 1 line

  #602893: add indicator for current line in cgitb that doesnt rely on styling alone.
........
  r71266 | georg.brandl | 2009-04-05 15:23:13 -0500 (Sun, 05 Apr 2009) | 1 line

  Normalize issue referencing style.
........
  r71299 | gregory.p.smith | 2009-04-05 18:43:58 -0500 (Sun, 05 Apr 2009) | 3 lines

  Fixes issue5705: os.setuid() and friends did not accept the same range of
  values that pwd.getpwnam() returns.
........
  r71329 | benjamin.peterson | 2009-04-06 16:53:33 -0500 (Mon, 06 Apr 2009) | 1 line

  add create_connection to __all__ #5711
........
  r71397 | georg.brandl | 2009-04-08 11:36:39 -0500 (Wed, 08 Apr 2009) | 1 line

  Remove redundant backtick.
........
  r71398 | georg.brandl | 2009-04-08 11:39:04 -0500 (Wed, 08 Apr 2009) | 1 line

  Update ignore file for suspicious builder.
........
  r71486 | andrew.kuchling | 2009-04-11 11:18:14 -0500 (Sat, 11 Apr 2009) | 1 line

  Re-word
........
2009-04-11 19:48:14 +00:00
Georg Brandl 639ce96bcb Remove mentions of "long". 2009-04-11 18:18:16 +00:00
Tarek Ziadé f396ecf3b8 Merged revisions 71473 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71473 | tarek.ziade | 2009-04-11 16:55:07 +0200 (Sat, 11 Apr 2009) | 1 line

  #5732: added the check command into Distutils
........
2009-04-11 15:00:43 +00:00
Tarek Ziadé 99a0c67468 Merged revisions 71467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71467 | tarek.ziade | 2009-04-11 15:59:05 +0200 (Sat, 11 Apr 2009) | 1 line

  fixed link
........
2009-04-11 14:32:37 +00:00
Nick Coghlan fce769e73d Merged revisions 71465 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71465 | nick.coghlan | 2009-04-11 23:31:31 +1000 (Sat, 11 Apr 2009) | 1 line

  Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks
........
2009-04-11 14:30:59 +00:00
Raymond Hettinger 7f587cd3c3 Fix alignment 2009-04-10 19:43:50 +00:00
Raymond Hettinger 5bfd8ce56f Add examples. 2009-04-10 19:02:36 +00:00
Georg Brandl c2a4f4fb67 Update signature style for optional arguments, part 3. 2009-04-10 09:03:43 +00:00
Georg Brandl c4f8b24560 Merged revisions 71441 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71441 | georg.brandl | 2009-04-10 10:16:47 +0200 (Fr, 10 Apr 2009) | 1 line

  Let "lambda" point to the correct heading.
........
2009-04-10 08:17:21 +00:00
Georg Brandl b4d31fe436 Merged revisions 71424-71425,71428-71429 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71424 | raymond.hettinger | 2009-04-10 01:25:30 +0200 (Fr, 10 Apr 2009) | 1 line

  More table formatting.
........
  r71425 | raymond.hettinger | 2009-04-10 01:34:14 +0200 (Fr, 10 Apr 2009) | 1 line

  Center table headings.
........
  r71428 | raymond.hettinger | 2009-04-10 02:49:41 +0200 (Fr, 10 Apr 2009) | 1 line

  More table clean-up
........
  r71429 | raymond.hettinger | 2009-04-10 04:01:21 +0200 (Fr, 10 Apr 2009) | 1 line

  IE needs the border-left:0 for some reason.
........
2009-04-10 07:02:56 +00:00
Georg Brandl 71b67728c4 Merged revisions 71409 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71409 | georg.brandl | 2009-04-09 21:01:04 +0200 (Do, 09 Apr 2009) | 1 line

  Add a custom stylesheet with better table formatting.
........
2009-04-10 07:01:52 +00:00
Raymond Hettinger 175cb23bb9 Clarify the table entries for combinatorics. 2009-04-10 04:27:37 +00:00
Raymond Hettinger bf1537cd3c Fix link 2009-04-09 22:34:46 +00:00
Raymond Hettinger 3618078cd6 Add note on using keyword arguments with OrderedDict. 2009-04-09 22:34:23 +00:00
Raymond Hettinger be3a821b81 Fix markup 2009-04-09 00:18:29 +00:00
Raymond Hettinger 35a88363a5 Update whatsnew based on doc search. 2009-04-09 00:08:24 +00:00
Raymond Hettinger 2a39e0f98e Clean-up an example. 2009-04-08 22:50:09 +00:00
Raymond Hettinger b9b3319a89 Remove bits that pertained to earlier releases. 2009-04-08 09:38:32 +00:00
Raymond Hettinger 238018c5c4 Perform minor copy edits 2009-04-08 08:23:44 +00:00
Raymond Hettinger 4c0b1e4026 Add example for auto-renaming. 2009-04-08 07:49:03 +00:00
Raymond Hettinger d1b3de365c Fix-up attribution per IRC discussion with GPolo. 2009-04-08 00:09:26 +00:00
Raymond Hettinger 347396af73 Add link. 2009-04-07 23:10:59 +00:00
Raymond Hettinger d99fe9fea7 Fix make.bat to match makefile changes 2009-04-07 21:19:16 +00:00
Raymond Hettinger 79d0b0e0ad Put core language changes in a separate section from module changes. 2009-04-07 07:11:00 +00:00
Raymond Hettinger c4faeea9e0 Fix nits 2009-04-07 02:31:14 +00:00
Raymond Hettinger 15efcb6f9d Fix internal link. 2009-04-07 02:09:15 +00:00
Raymond Hettinger 958e368a68 Add an example metaclass showing a use of __prepare__() as outlined in PEP 3115. 2009-04-07 02:08:23 +00:00
Raymond Hettinger 76efa2b862 Fix nit. 2009-04-06 23:11:47 +00:00