Commit Graph

42063 Commits

Author SHA1 Message Date
Mark Dickinson 55a01488cd Blocked revisions 75651,75653,75658,75660,75664,75666,75672,75720,75730-75731,75739 via svnmerge
........
  r75651 | mark.dickinson | 2009-10-24 13:13:30 +0100 (Sat, 24 Oct 2009) | 7 lines

  Issue #7117: Prepare for backport of py3k float repr.
  Add the Python/dtoa.c file containing the main algorithms;
  add corresponding include file and include in Python.h;
  include license information for Python/dtoa.c;
  add dtoa.c and dtoa.h to Makefile.
........
  r75653 | mark.dickinson | 2009-10-24 13:17:24 +0100 (Sat, 24 Oct 2009) | 1 line

  Temporary define to avoid build failure
........
  r75658 | mark.dickinson | 2009-10-24 14:28:38 +0100 (Sat, 24 Oct 2009) | 8 lines

  Issue #7117 (backport py3k float repr) continued:
   - add double endianness detection to configure script
   - add configure-time check to see whether we can use inline
     assembly to get and set x87 control word in configure script
   - add functions to get and set x87 control word in Python/pymath.c
   - add pyport.h logic to determine whether it's safe to use the
     short float repr or not
........
  r75660 | mark.dickinson | 2009-10-24 14:31:41 +0100 (Sat, 24 Oct 2009) | 1 line

  Remove temporary define from r75653
........
  r75664 | mark.dickinson | 2009-10-24 14:44:16 +0100 (Sat, 24 Oct 2009) | 1 line

  Configure check for double rounding should take BASECFLAGS into account
........
  r75666 | mark.dickinson | 2009-10-24 15:01:08 +0100 (Sat, 24 Oct 2009) | 4 lines

  Issue #7117 (backport py3k float repr) continued:
  Add sys.float_repr_style attribute ('short' if short float
  repr is in used;  'legacy' otherwise).
........
  r75672 | mark.dickinson | 2009-10-24 16:54:35 +0100 (Sat, 24 Oct 2009) | 4 lines

  Issue #7117:  temporarily disable the short float repr while the
  pieces are being assembled.  To re-enable, define the preprocessor
  symbol PY_SHORT_FLOAT_REPR
........
  r75720 | mark.dickinson | 2009-10-26 15:39:50 +0000 (Mon, 26 Oct 2009) | 3 lines

  Issue #7117 (backport py3k float repr) continued:
  Backport pystrtod.c from py3k.
........
  r75730 | mark.dickinson | 2009-10-26 21:09:09 +0000 (Mon, 26 Oct 2009) | 2 lines

  Issue #7117:  Backport missing pystrtod.h declarations from py3k.
........
  r75731 | mark.dickinson | 2009-10-26 21:11:20 +0000 (Mon, 26 Oct 2009) | 4 lines

  Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
  floatobject.c.  Also, remove limitation on length of unicode inputs to
  float().
........
  r75739 | mark.dickinson | 2009-10-26 22:28:14 +0000 (Mon, 26 Oct 2009) | 5 lines

  Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
  complexobject.c.  Also remove length restriction on unicode inputs to
  the complex constructor.
........
2009-10-27 18:50:50 +00:00
Mark Dickinson 8d03956606 Blocked revisions 75728 via svnmerge
........
  r75728 | mark.dickinson | 2009-10-26 19:59:23 +0000 (Mon, 26 Oct 2009) | 3 lines

  Use correct conversion specifier and length modifier when printing an
  integer of type off_t.  Also, don't assume that long long is available.
........
2009-10-27 18:42:04 +00:00
Mark Dickinson 7a5c2655c1 Blocked revisions 75714 via svnmerge
........
  r75714 | mark.dickinson | 2009-10-26 14:18:44 +0000 (Mon, 26 Oct 2009) | 1 line

  Warn against replacing PyNumber_Add with PyNumber_InPlaceAdd in sum
........
2009-10-27 18:39:14 +00:00
Mark Dickinson 3e438e0b5e Blocked revisions 75711 via svnmerge
........
  r75711 | mark.dickinson | 2009-10-26 11:59:30 +0000 (Mon, 26 Oct 2009) | 1 line

  Skip readline tests if readline module is not available.
........
2009-10-27 18:38:17 +00:00
Mark Dickinson 2c835948b2 Merged revisions 75648 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75648 | mark.dickinson | 2009-10-24 12:47:17 +0100 (Sat, 24 Oct 2009) | 1 line

  Acknowledge Ned Deily (extensive bug hunting and testing on OS X)
........
2009-10-27 18:31:29 +00:00
Mark Dickinson 20a7cfcaa1 Merged revisions 75561 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75561 | mark.dickinson | 2009-10-20 14:33:03 +0100 (Tue, 20 Oct 2009) | 3 lines

  Issue #7099: Decimal.is_normal should return True for all nonzero
  finite non-subnormal values, even those with exponent > Emax.
........
2009-10-27 18:27:53 +00:00
Antoine Pitrou f3a0ff61e0 Merged revisions 75818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75818 | antoine.pitrou | 2009-10-27 18:41:58 +0100 (mar., 27 oct. 2009) | 3 lines

  Issue #7205: Fix a possible deadlock when using a BZ2File object from several threads at once.
........
2009-10-27 17:46:09 +00:00
Mark Dickinson ab90b90c7b Blocked revisions 75470 via svnmerge
........
  r75470 | mark.dickinson | 2009-10-17 22:46:32 +0100 (Sat, 17 Oct 2009) | 1 line

  Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in builtin sum
........
2009-10-27 17:34:20 +00:00
Mark Dickinson 8f919695d5 Blocked revisions 75454 via svnmerge
........
  r75454 | mark.dickinson | 2009-10-17 08:06:37 +0100 (Sat, 17 Oct 2009) | 1 line

  test_math ulp computation was wrong on big-endian systems
........
2009-10-27 17:32:46 +00:00
Mark Dickinson a47460ac34 Merged revisions 75440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75440 | mark.dickinson | 2009-10-15 18:45:39 +0100 (Thu, 15 Oct 2009) | 1 line

  Allow core Python build to succeed under WITHOUT_COMPLEX.  The module build stage still fails.
........
2009-10-27 17:26:31 +00:00
Mark Dickinson a649498a01 Blocked revisions 75438 via svnmerge
........
  r75438 | mark.dickinson | 2009-10-15 16:53:58 +0100 (Thu, 15 Oct 2009) | 1 line

  Issue #7142:  Fix uses of unicode in memoryview objects
........
2009-10-27 17:21:56 +00:00
Mark Dickinson 6de416c70f Blocked revisions 75434 via svnmerge
........
  r75434 | mark.dickinson | 2009-10-15 16:18:55 +0100 (Thu, 15 Oct 2009) | 1 line

  Fix missing semicolon
........
2009-10-27 17:21:04 +00:00
Mark Dickinson 25567ef13b Merged revisions 75286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75286 | mark.dickinson | 2009-10-08 17:28:39 +0100 (Thu, 08 Oct 2009) | 2 lines

  Update decimal test data to the most recent set from Mike Cowlishaw.
........
2009-10-27 17:02:46 +00:00
Mark Dickinson 9b12553a87 Merged revisions 75283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75283 | mark.dickinson | 2009-10-08 16:54:10 +0100 (Thu, 08 Oct 2009) | 4 lines

  Issue #7078:  _struct.__doc__ was being ignored.  Import it into struct.
  Also add description of '?' struct format character.  Thanks Gabriel
  Genellina for the patch.
........
2009-10-27 17:00:03 +00:00
Mark Dickinson 5e672d0ed6 Merged revisions 75275 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75275 | mark.dickinson | 2009-10-07 20:22:05 +0100 (Wed, 07 Oct 2009) | 6 lines

  Issue #7048: logb should round its result when that result doesn't fit
  into the available precision.  (Tests for this change are included in
  the most recent set of testcases from the Decimal Specification site;
  those testcases will be updated shortly.)
........
2009-10-27 16:54:45 +00:00
Georg Brandl 0bea8443cf Blocked revisions 70466,70470,70472,70475,70477,70533,70538,70544,70601,70691,70844,70969,71073,71078,71127,71389,71392,72052,72774,73001,73006,73334-73335,73372,73382,73532,73536,73540,73697,74300 via svnmerge
........
  r70466 | raymond.hettinger | 2009-03-18 23:13:20 +0100 (Mi, 18 Mär 2009) | 1 line

  Use mixin methods where possible. (2.7 only -- these don't all exist in 3.0)
........
  r70470 | raymond.hettinger | 2009-03-19 16:21:10 +0100 (Do, 19 Mär 2009) | 6 lines

  Improve implementation with better underlying data structure
  for O(1) deletions.  Big-Oh performance now the same as regular
  dictionaries.  Uses a doubly-linked list instead of a list/seq
  to track insertion order.
........
  r70472 | raymond.hettinger | 2009-03-19 20:24:43 +0100 (Do, 19 Mär 2009) | 1 line

  Silence a compiler warning.
........
  r70475 | raymond.hettinger | 2009-03-20 00:12:41 +0100 (Fr, 20 Mär 2009) | 6 lines

  * Add implementation notes.
  * Re-order methods so that those touching the underlying data
    structure come first and the derived methods come last.
........
  r70477 | raymond.hettinger | 2009-03-20 00:22:25 +0100 (Fr, 20 Mär 2009) | 1 line

  Fix typo
........
  r70533 | raymond.hettinger | 2009-03-23 01:08:09 +0100 (Mo, 23 Mär 2009) | 6 lines

  Add more comments.  Improve variable names.
  Make links clearer by using a Link object
  instead of a list.  Use proxy links to avoid
  circular references.
........
  r70538 | raymond.hettinger | 2009-03-23 05:42:18 +0100 (Mo, 23 Mär 2009) | 1 line

  Move initialization of root link to __init__.
........
  r70544 | raymond.hettinger | 2009-03-23 19:26:59 +0100 (Mo, 23 Mär 2009) | 1 line

  Make imported name private and wrap long-line.
........
  r70601 | raymond.hettinger | 2009-03-25 23:41:32 +0100 (Mi, 25 Mär 2009) | 1 line

  Separate initialization from clearing.
........
  r70691 | raymond.hettinger | 2009-03-29 20:51:11 +0200 (So, 29 Mär 2009) | 1 line

  Make life easier for non-CPython implementations.
........
  r70844 | raymond.hettinger | 2009-03-31 19:47:06 +0200 (Di, 31 Mär 2009) | 1 line

  Per the language summit, the optional fastpath imports should use from-import-star.
........
  r70969 | raymond.hettinger | 2009-04-01 20:50:56 +0200 (Mi, 01 Apr 2009) | 1 line

  Issue #5647: MutableSet.__iand__() no longer mutates self during iteration.
........
  r71073 | raymond.hettinger | 2009-04-03 00:25:40 +0200 (Fr, 03 Apr 2009) | 4 lines

  Have namedtuple's field renamer assign names that
  are consistent with the corresponding tuple index.
........
  r71078 | raymond.hettinger | 2009-04-03 04:43:54 +0200 (Fr, 03 Apr 2009) | 4 lines

  Localize the function lookup in timeit.
........
  r71127 | raymond.hettinger | 2009-04-04 10:46:58 +0200 (Sa, 04 Apr 2009) | 1 line

  Replace the localized min/max calls with normal if/else
........
  r71389 | raymond.hettinger | 2009-04-08 07:39:38 +0200 (Mi, 08 Apr 2009) | 1 line

  Add docstrings.
........
  r71392 | raymond.hettinger | 2009-04-08 10:26:55 +0200 (Mi, 08 Apr 2009) | 1 line

  Minor factoring.
........
  r72052 | raymond.hettinger | 2009-04-27 23:12:27 +0200 (Mo, 27 Apr 2009) | 1 line

  Update spec version number.
........
  r72774 | raymond.hettinger | 2009-05-18 17:51:59 +0200 (Mo, 18 Mai 2009) | 1 line

  Issue 6037: MutableSequence.__iadd__ should return self.
........
  r73001 | raymond.hettinger | 2009-05-29 03:36:26 +0200 (Fr, 29 Mai 2009) | 1 line

  Issue 5150: Add rstrip() option to IDLE's format menu.
........
  r73006 | raymond.hettinger | 2009-05-29 06:58:52 +0200 (Fr, 29 Mai 2009) | 1 line

  Issue 5982: Classmethod and staticmethod expose wrapped function with __func__.
........
  r73334 | raymond.hettinger | 2009-06-10 18:15:02 +0200 (Mi, 10 Jun 2009) | 1 line

  Issue 6256: Fix stacklevel in warning message.
........
  r73335 | raymond.hettinger | 2009-06-10 18:15:40 +0200 (Mi, 10 Jun 2009) | 1 line

  Fix signed/unsigned compiler warning.
........
  r73372 | raymond.hettinger | 2009-06-12 00:08:10 +0200 (Fr, 12 Jun 2009) | 1 line

  Move comment to correct line.
........
  r73382 | raymond.hettinger | 2009-06-12 01:14:53 +0200 (Fr, 12 Jun 2009) | 1 line

  Issue 6261: Clarify behavior of random.uniform().
........
  r73532 | raymond.hettinger | 2009-06-23 22:59:43 +0200 (Di, 23 Jun 2009) | 3 lines

  Issue 6329: Fix iteration for memoryviews.
........
  r73536 | raymond.hettinger | 2009-06-23 23:32:28 +0200 (Di, 23 Jun 2009) | 1 line

  Issue 6305: Clarify error message for large arguments to itertools.islice().
........
  r73540 | raymond.hettinger | 2009-06-24 00:20:04 +0200 (Mi, 24 Jun 2009) | 1 line

  Add procedural note.
........
  r73697 | raymond.hettinger | 2009-06-29 21:10:29 +0200 (Mo, 29 Jun 2009) | 1 line

  Issue 6370: Performance issue with collections.Counter().
........
  r74300 | raymond.hettinger | 2009-08-04 21:08:05 +0200 (Di, 04 Aug 2009) | 1 line

  Issue 6637: defaultdict.copy() failed with an empty factory.
........
2009-10-27 15:52:31 +00:00
Georg Brandl 5de0dce29e Blocked revisions 68964,69014,69023,69070,69080,69085,69087,69227,69237,69242,69466,69525,69528,69530,69743,69748,69751,69770,69837-69838,69937,70016,70149,70293,70296,70623,74448 via svnmerge
........
  r68964 | raymond.hettinger | 2009-01-26 17:52:22 +0100 (Mo, 26 Jan 2009) | 1 line

  Fix signed/unsigned mismatch.
........
  r69014 | raymond.hettinger | 2009-01-27 11:03:04 +0100 (Di, 27 Jan 2009) | 1 line

  Issue 5021: doctest.testfile should set __name__
........
  r69023 | raymond.hettinger | 2009-01-27 14:26:35 +0100 (Di, 27 Jan 2009) | 1 line

  Add more tests for the powerset() recipe.
........
  r69070 | raymond.hettinger | 2009-01-29 00:02:26 +0100 (Do, 29 Jan 2009) | 6 lines

  Issue 4920:  Fixed next() vs __next__() issues in the ABCs
  for Iterator and MutableSet.  Also added thorough test for
  required abstractmethods.
........
  r69080 | brett.cannon | 2009-01-29 01:55:33 +0100 (Do, 29 Jan 2009) | 2 lines

  Ignore .pyc and .pyo files.
........
  r69085 | raymond.hettinger | 2009-01-29 04:21:42 +0100 (Do, 29 Jan 2009) | 1 line

  Update itertools.__doc__ to include all tools.
........
  r69087 | raymond.hettinger | 2009-01-29 04:43:44 +0100 (Do, 29 Jan 2009) | 1 line

  Fix typo.
........
  r69227 | raymond.hettinger | 2009-02-02 22:50:13 +0100 (Mo, 02 Feb 2009) | 1 line

  Issue 1242657: list(obj) can swallow KeyboardInterrupt.
........
  r69237 | raymond.hettinger | 2009-02-03 03:23:19 +0100 (Di, 03 Feb 2009) | 1 line

  Validate that __length_hint__ returns a usable result.
........
  r69242 | raymond.hettinger | 2009-02-03 04:37:03 +0100 (Di, 03 Feb 2009) | 1 line

  Register decimals as numbers.Number
........
  r69466 | raymond.hettinger | 2009-02-09 19:39:41 +0100 (Mo, 09 Feb 2009) | 3 lines

  Issue 5171: itertools.product docstring missing 'repeat' argument
........
  r69525 | raymond.hettinger | 2009-02-12 11:16:19 +0100 (Do, 12 Feb 2009) | 1 line

  Fix spaces/tabs in example.
........
  r69528 | raymond.hettinger | 2009-02-12 13:04:26 +0100 (Do, 12 Feb 2009) | 1 line

  Add an extra testcase.
........
  r69530 | raymond.hettinger | 2009-02-12 13:43:01 +0100 (Do, 12 Feb 2009) | 1 line

  One more test.
........
  r69743 | raymond.hettinger | 2009-02-19 00:10:19 +0100 (Do, 19 Feb 2009) | 1 line

  Py3k warnings now automatically include -Qwarn for division.
........
  r69748 | raymond.hettinger | 2009-02-19 03:15:14 +0100 (Do, 19 Feb 2009) | 1 line

  Add keyword arg support to itertools.compress().
........
  r69751 | raymond.hettinger | 2009-02-19 03:38:25 +0100 (Do, 19 Feb 2009) | 1 line

  Add keyword arg support to itertools.repeat().
........
  r69770 | raymond.hettinger | 2009-02-19 10:50:24 +0100 (Do, 19 Feb 2009) | 1 line

  Inline coefficients in gamma().  Add reflection formula.  Add comments.
........
  r69837 | raymond.hettinger | 2009-02-21 08:17:22 +0100 (Sa, 21 Feb 2009) | 4 lines

  Fix keyword arguments for itertools.count().
  Step arg without a start arg was ignored.
........
  r69838 | raymond.hettinger | 2009-02-21 09:58:42 +0100 (Sa, 21 Feb 2009) | 1 line

  Speedup and simplify negative counter using count's new step argument.
........
  r69937 | raymond.hettinger | 2009-02-24 13:23:23 +0100 (Di, 24 Feb 2009) | 3 lines

  Backport 69934:  Register xrange() as a Sequence.
........
  r70016 | raymond.hettinger | 2009-02-27 09:09:47 +0100 (Fr, 27 Feb 2009) | 1 line

  Give mapping views a usable repr.
........
  r70149 | raymond.hettinger | 2009-03-03 23:59:25 +0100 (Di, 03 Mär 2009) | 5 lines

  Backport 70140, 70141, 70143, and 70144.
  Adds tests, switches from list to deque, fixes __reduce__
  which was unnecessarily copying __keys.
........
  r70293 | raymond.hettinger | 2009-03-10 05:49:21 +0100 (Di, 10 Mär 2009) | 1 line

  Add a version tag to the decimal module.
........
  r70296 | raymond.hettinger | 2009-03-10 10:31:48 +0100 (Di, 10 Mär 2009) | 1 line

  Small optimization for corner case where maxlen==0.
........
  r70623 | benjamin.peterson | 2009-03-26 22:30:10 +0100 (Do, 26 Mär 2009) | 1 line

  add missing import
........
  r74448 | guilherme.polo | 2009-08-14 16:36:45 +0200 (Fr, 14 Aug 2009) | 3 lines

  Issue #1135: Add the XView and YView mix-ins to avoid duplicating
  the xview* and yview* methods.
........
2009-10-27 15:48:57 +00:00
Georg Brandl 281f6e2a44 Blocked revisions 70615,70618-70621,70624,70856,70864,71004,71043,71208,71721,72582-72583,72812,72923,73151,73247,73839,74007,74095,75095 via svnmerge
........
  r70615 | benjamin.peterson | 2009-03-26 20:58:18 +0100 (Do, 26 Mär 2009) | 5 lines

  add some useful utilities for skipping tests with unittest's new skipping ability

  most significantly apply a modified portion of the patch from #4242 with
  patches for skipping implementation details
........
  r70618 | benjamin.peterson | 2009-03-26 21:48:25 +0100 (Do, 26 Mär 2009) | 1 line

  remove test_support.TestSkipped and just use unittest.SkipTest
........
  r70619 | benjamin.peterson | 2009-03-26 21:49:40 +0100 (Do, 26 Mär 2009) | 1 line

  fix naming
........
  r70620 | benjamin.peterson | 2009-03-26 22:10:30 +0100 (Do, 26 Mär 2009) | 1 line

  fix incorrect auto-translation of TestSkipped -> unittest.SkipTest
........
  r70621 | benjamin.peterson | 2009-03-26 22:11:16 +0100 (Do, 26 Mär 2009) | 1 line

  must pass argument to get expected behavior ;)
........
  r70624 | benjamin.peterson | 2009-03-26 22:30:54 +0100 (Do, 26 Mär 2009) | 1 line

  ** is required here
........
  r70856 | r.david.murray | 2009-03-31 20:32:17 +0200 (Di, 31 Mär 2009) | 7 lines

  A few more test skips via import_module, and change import_module to
  return the error message produced by importlib, so that if an import
  in the package whose import is being wrapped is what failed the skip
  message will contain the name of that module instead of the name of the
  wrapped module.  Also fixed formatting of some previous comments.
........
  r70864 | gregory.p.smith | 2009-03-31 21:03:28 +0200 (Di, 31 Mär 2009) | 10 lines

  Rename the actual method definitions to the official assertFoo names.

  Adds unittests to make sure the old fail* names continue to work now
  and adds a comment that they are pending deprecation.

  Also adds a test to confirm that the plural Equals method variants
  continue to exist even though we're unlikely to deprecate those.

  http://bugs.python.org/issue2578
........
  r71004 | benjamin.peterson | 2009-04-02 01:15:49 +0200 (Do, 02 Apr 2009) | 1 line

  remove double underscores
........
  r71043 | michael.foord | 2009-04-02 07:51:54 +0200 (Do, 02 Apr 2009) | 7 lines

  Store the functions in the _type_equality_funcs as wrapped objects that are deep copyable.

  This allows for the deep copying of TestCase instances.

  Issue 5660
........
  r71208 | michael.foord | 2009-04-05 03:15:01 +0200 (So, 05 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
........
  r71721 | benjamin.peterson | 2009-04-18 21:26:19 +0200 (Sa, 18 Apr 2009) | 1 line

  fix a few nits in unittest.py #5771
........
  r72582 | michael.foord | 2009-05-12 12:46:23 +0200 (Di, 12 Mai 2009) | 1 line

  Fix to restore command line behaviour for test modules using unittest.main(). Regression caused by issue 5995. Michael
........
  r72583 | michael.foord | 2009-05-12 12:49:13 +0200 (Di, 12 Mai 2009) | 1 line

  Better fix for modules using unittest.main(). Fixes regression caused by commit for issue 5995. Michael Foord
........
  r72812 | michael.foord | 2009-05-22 00:57:02 +0200 (Fr, 22 Mai 2009) | 1 line

  Rename TestCase._result to _resultForDoCleanups to avoid potential clashes in TestCase subclasses. Issue 6072.
........
  r72923 | michael.foord | 2009-05-25 22:36:56 +0200 (Mo, 25 Mai 2009) | 1 line

  Make assertSequenceEqual error messages less cryptic, particularly for nested sequences.
........
  r73151 | michael.foord | 2009-06-02 20:08:27 +0200 (Di, 02 Jun 2009) | 1 line

  Restore default testRunner argument in unittest.main to None. Issue 6177
........
  r73247 | michael.foord | 2009-06-05 16:14:34 +0200 (Fr, 05 Jun 2009) | 1 line

  Fix unittest discovery tests for Windows. Issue 6199
........
  r73839 | gregory.p.smith | 2009-07-04 10:42:10 +0200 (Sa, 04 Jul 2009) | 3 lines

  Merge r73838 from py3k branch.  Use the nondeprecated unittest method
  names.
........
  r74007 | michael.foord | 2009-07-14 19:58:12 +0200 (Di, 14 Jul 2009) | 1 line

  Move TestRunner initialisation into unittest.TestProgram.runTests. Fixes issue 6418.
........
  r74095 | benjamin.peterson | 2009-07-19 22:18:21 +0200 (So, 19 Jul 2009) | 1 line

  split unittest.py into a package
........
  r75095 | michael.foord | 2009-09-27 21:15:41 +0200 (So, 27 Sep 2009) | 1 line

  Test creation moved from TestProgram.parseArgs to TestProgram.createTests exclusively. Issue 6956.
........
2009-10-27 15:45:01 +00:00
Georg Brandl d98a9d0921 Blocked revisions 72199,72210,72241,73109,73135 via svnmerge
........
  r72199 | benjamin.peterson | 2009-05-02 19:33:01 +0200 (Sa, 02 Mai 2009) | 1 line

  remove py3k compat code
........
  r72210 | gregory.p.smith | 2009-05-02 20:58:21 +0200 (Sa, 02 Mai 2009) | 2 lines

  Convert test method names to PEP8 style.
........
  r72241 | gregory.p.smith | 2009-05-03 21:37:05 +0200 (So, 03 Mai 2009) | 3 lines

  Optimization: move RFC defined network constant construction out of
  the is_*() methods and into module private instances.
........
  r73109 | gregory.p.smith | 2009-06-01 19:40:41 +0200 (Mo, 01 Jun 2009) | 6 lines

  Sync up __version__ number with the version of the ipaddr-py project this
  library came from that it matches.

  Remove the former apache license text now that its been contributed to PSF to
  avoid confusion.
........
  r73135 | gregory.p.smith | 2009-06-02 07:25:34 +0200 (Di, 02 Jun 2009) | 3 lines

  Fixes issue6169: it was possible for two ipaddr network addresses to compare
  as both < and > than eachother.
........
2009-10-27 15:41:51 +00:00
Georg Brandl 69b342346d Blocked revisions 72314,73190,73201,73212,73252,73275,73448,73471,73605,74028-74029,74542,74644,74650,74811,74908,74912,74954-74955,75175,75181,75313,75315,75318,75321-75322,75325,75327,75329,75337,75339,75342,75344,75346,75348,75350-75351,75354,75356,75358 via svnmerge
........
  r72314 | georg.brandl | 2009-05-05 09:48:12 +0200 (Di, 05 Mai 2009) | 1 line

  #5932: fix error return in _convertPyInt_AsSsize_t() conversion function.
........
  r73190 | georg.brandl | 2009-06-04 01:23:45 +0200 (Do, 04 Jun 2009) | 2 lines

  Avoid PendingDeprecationWarnings emitted by deprecated unittest methods.
........
  r73201 | georg.brandl | 2009-06-04 10:58:32 +0200 (Do, 04 Jun 2009) | 1 line

  #5767: remove sgmlop support from xmlrpclib; the sgmlop parser does not do much validation and is no longer much faster than e.g. the cElementTree XMLParser.
........
  r73212 | georg.brandl | 2009-06-04 12:10:41 +0200 (Do, 04 Jun 2009) | 1 line

  Better name for "Ctor".
........
  r73252 | georg.brandl | 2009-06-06 07:54:34 +0200 (Sa, 06 Jun 2009) | 1 line

  #6206: fix test__locale.
........
  r73275 | georg.brandl | 2009-06-07 22:37:52 +0200 (So, 07 Jun 2009) | 1 line

  Add Ezio.
........
  r73448 | georg.brandl | 2009-06-16 19:43:44 +0200 (Di, 16 Jun 2009) | 1 line

  Remove unused macro.
........
  r73471 | georg.brandl | 2009-06-19 00:24:26 +0200 (Fr, 19 Jun 2009) | 1 line

  #6276: Remove usage of nested() in favor of new with statement with multiple managers.
........
  r73605 | georg.brandl | 2009-06-28 14:10:18 +0200 (So, 28 Jun 2009) | 1 line

  Remove stray pychecker directive.
........
  r74028 | georg.brandl | 2009-07-16 21:24:48 +0200 (Do, 16 Jul 2009) | 1 line

  #6482: simplify "except: raise" to "finally:".
........
  r74029 | georg.brandl | 2009-07-16 23:47:51 +0200 (Do, 16 Jul 2009) | 1 line

  Revert r74028.
........
  r74542 | georg.brandl | 2009-08-23 23:28:56 +0200 (So, 23 Aug 2009) | 1 line

  Restore alphabetic order.
........
  r74644 | georg.brandl | 2009-09-04 09:55:14 +0200 (Fr, 04 Sep 2009) | 1 line

  #5047: remove Monterey support from configure.
........
  r74650 | georg.brandl | 2009-09-04 13:19:34 +0200 (Fr, 04 Sep 2009) | 1 line

  #5101: add back tests to test_funcattrs that were lost during unittest conversion, and make some PEP8 cleanups.
........
  r74811 | georg.brandl | 2009-09-15 22:26:59 +0200 (Di, 15 Sep 2009) | 1 line

  Add Armin Ronacher.
........
  r74908 | georg.brandl | 2009-09-18 15:57:11 +0200 (Fr, 18 Sep 2009) | 1 line

  Use str.format() to fix beginner's mistake with %-style string formatting.
........
  r74912 | georg.brandl | 2009-09-18 18:19:56 +0200 (Fr, 18 Sep 2009) | 1 line

  Optimize optimization and fix method name in docstring.
........
  r74954 | georg.brandl | 2009-09-19 15:13:56 +0200 (Sa, 19 Sep 2009) | 1 line

  Add Doug.
........
  r74955 | georg.brandl | 2009-09-19 15:20:49 +0200 (Sa, 19 Sep 2009) | 1 line

  Add Mark Summerfield.
........
  r75175 | georg.brandl | 2009-10-01 22:11:14 +0200 (Do, 01 Okt 2009) | 1 line

  Fix some weird whitespace and two other overlong lines.
........
  r75181 | georg.brandl | 2009-10-01 23:02:39 +0200 (Do, 01 Okt 2009) | 1 line

  Add NEWS entry for r75180.
........
  r75313 | georg.brandl | 2009-10-10 23:07:35 +0200 (Sa, 10 Okt 2009) | 1 line

  Bring old demo up-to-date.
........
  r75315 | georg.brandl | 2009-10-10 23:10:05 +0200 (Sa, 10 Okt 2009) | 1 line

  Remove unneeded "L" suffixes.
........
  r75318 | benjamin.peterson | 2009-10-10 23:15:58 +0200 (Sa, 10 Okt 2009) | 1 line

  remove script which uses long gone module
........
  r75321 | georg.brandl | 2009-10-10 23:43:21 +0200 (Sa, 10 Okt 2009) | 1 line

  Remove outdated comment and fix a few style issues.
........
  r75322 | georg.brandl | 2009-10-10 23:47:31 +0200 (Sa, 10 Okt 2009) | 1 line

  Show use of range() step argument nicely.
........
  r75325 | georg.brandl | 2009-10-10 23:55:11 +0200 (Sa, 10 Okt 2009) | 1 line

  Modernize factorisation demo (mostly augassign.)
........
  r75327 | georg.brandl | 2009-10-11 00:03:43 +0200 (So, 11 Okt 2009) | 1 line

  Style fixes.
........
  r75329 | georg.brandl | 2009-10-11 00:26:45 +0200 (So, 11 Okt 2009) | 1 line

  Modernize all around (dont ask me how useful that script is nowadays...)
........
  r75337 | georg.brandl | 2009-10-11 10:18:44 +0200 (So, 11 Okt 2009) | 1 line

  Update morse script, avoid globals, use iterators.
........
  r75339 | georg.brandl | 2009-10-11 10:39:16 +0200 (So, 11 Okt 2009) | 1 line

  Update markov demo.
........
  r75342 | georg.brandl | 2009-10-11 10:45:03 +0200 (So, 11 Okt 2009) | 1 line

  Remove useless script "mkrcs" and update README.
........
  r75344 | georg.brandl | 2009-10-11 10:48:28 +0200 (So, 11 Okt 2009) | 1 line

  Update primes script.
........
  r75346 | mark.dickinson | 2009-10-11 11:35:57 +0200 (So, 11 Okt 2009) | 1 line

  Fix 'primes 0 1'
........
  r75348 | mark.dickinson | 2009-10-11 12:01:17 +0200 (So, 11 Okt 2009) | 1 line

  Set missing executable property on scripts
........
  r75350 | georg.brandl | 2009-10-11 14:00:18 +0200 (So, 11 Okt 2009) | 1 line

  Use getopt in script.py demo.
........
  r75351 | georg.brandl | 2009-10-11 14:03:01 +0200 (So, 11 Okt 2009) | 1 line

  Fix variable.
........
  r75354 | georg.brandl | 2009-10-11 16:23:49 +0200 (So, 11 Okt 2009) | 1 line

  Update lpwatch script.
........
  r75356 | georg.brandl | 2009-10-11 16:49:37 +0200 (So, 11 Okt 2009) | 1 line

  Remove ftpstats script, the daemon whose log files it reads is long gone.
........
  r75358 | georg.brandl | 2009-10-11 17:06:44 +0200 (So, 11 Okt 2009) | 1 line

  Overhaul of Demo/xml.
........
2009-10-27 15:41:02 +00:00
Georg Brandl f004d9dc84 Merged revisions 73206,73232,73299,73683,74020,74185,74544,74643,74647,74817,74838-74839,74865,74946,75402,75459,75604,75696 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73206 | georg.brandl | 2009-06-04 11:15:12 +0200 (Do, 04 Jun 2009) | 1 line

  #3584: ignore trailing newlines when placing the caret for a SyntaxError location.
........
  r73232 | georg.brandl | 2009-06-04 20:59:58 +0200 (Do, 04 Jun 2009) | 1 line

  Add test for #3684.
........
  r73299 | georg.brandl | 2009-06-08 20:41:36 +0200 (Mo, 08 Jun 2009) | 1 line

  Typo fix.
........
  r73683 | georg.brandl | 2009-06-29 16:44:49 +0200 (Mo, 29 Jun 2009) | 1 line

  Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint.
........
  r74020 | georg.brandl | 2009-07-16 09:18:07 +0200 (Do, 16 Jul 2009) | 1 line

  #5910: fix kqueue for calls with more than one event.
........
  r74185 | georg.brandl | 2009-07-23 11:17:09 +0200 (Do, 23 Jul 2009) | 1 line

  Fix the "pylocals" gdb command.
........
  r74544 | georg.brandl | 2009-08-24 19:12:30 +0200 (Mo, 24 Aug 2009) | 1 line

  #6775: fix python.org URLs in README.
........
  r74643 | georg.brandl | 2009-09-04 08:59:20 +0200 (Fr, 04 Sep 2009) | 2 lines

  Issue #2666: Handle BROWSER environment variable properly for unknown browser names in the webbrowser module.
........
  r74647 | georg.brandl | 2009-09-04 10:17:04 +0200 (Fr, 04 Sep 2009) | 2 lines

  Issue #5275: In Cookie's Cookie.load(), properly handle non-string arguments as documented.
........
  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.
........
  r74838 | georg.brandl | 2009-09-16 18:22:12 +0200 (Mi, 16 Sep 2009) | 1 line

  Remove some more boilerplate from the actual tests in test_pdb.
........
  r74839 | georg.brandl | 2009-09-16 18:36:39 +0200 (Mi, 16 Sep 2009) | 1 line

  Make the pdb displayhook compatible with the standard displayhook: do not print Nones. Add a test for that.
........
  r74865 | georg.brandl | 2009-09-17 09:49:37 +0200 (Do, 17 Sep 2009) | 1 line

  #6912: add "with" block support to pindent.
........
  r74946 | georg.brandl | 2009-09-19 10:43:16 +0200 (Sa, 19 Sep 2009) | 1 line

  Update bug tracker reference.
........
  r75402 | georg.brandl | 2009-10-14 17:51:48 +0200 (Mi, 14 Okt 2009) | 1 line

  #7125: fix typo.
........
  r75459 | georg.brandl | 2009-10-17 10:57:43 +0200 (Sa, 17 Okt 2009) | 1 line

  Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in test___all__.
........
  r75604 | georg.brandl | 2009-10-22 13:36:50 +0200 (Do, 22 Okt 2009) | 1 line

  Fix stylesheet for multi-paragraph impl-details.
........
  r75696 | georg.brandl | 2009-10-25 21:25:43 +0100 (So, 25 Okt 2009) | 1 line

  Fix a demo.
........
2009-10-27 15:39:53 +00:00
Georg Brandl a7fef6aaf0 Merged revisions 75795 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75795 | georg.brandl | 2009-10-27 16:10:22 +0100 (Di, 27 Okt 2009) | 1 line

  Fix a strange mis-edit.
........
2009-10-27 15:10:48 +00:00
Georg Brandl 9d084f9885 Merged revisions 75593 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75593 | georg.brandl | 2009-10-22 09:06:49 +0200 (Do, 22 Okt 2009) | 1 line

  Revert unintended change.
........
2009-10-27 15:09:20 +00:00
Georg Brandl 02b30c5029 Blocked revisions 75370-75372,75391,75551 via svnmerge
........
  r75370 | georg.brandl | 2009-10-11 23:10:07 +0200 (So, 11 Okt 2009) | 1 line

  Move find_recursionlimit.py to Tools/scripts; it is out of place in Misc.
........
  r75371 | georg.brandl | 2009-10-11 23:14:37 +0200 (So, 11 Okt 2009) | 1 line

  Add find_recursionlimit.py to README.
........
  r75372 | georg.brandl | 2009-10-11 23:17:14 +0200 (So, 11 Okt 2009) | 1 line

  Update Misc/README.
........
  r75391 | andrew.kuchling | 2009-10-13 17:49:33 +0200 (Di, 13 Okt 2009) | 1 line

  Link to PEP
........
  r75551 | benjamin.peterson | 2009-10-20 05:14:10 +0200 (Di, 20 Okt 2009) | 1 line

  use property api
........
2009-10-27 15:08:53 +00:00
Georg Brandl 5d2eb34f5c Merged revisions 75363,75365,75376,75392,75394,75403,75418,75484,75572,75580,75590,75592,75594-75596,75600,75602-75603,75605-75607,75610-75613,75616-75617,75623,75627,75647 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75363 | georg.brandl | 2009-10-11 20:31:23 +0200 (So, 11 Okt 2009) | 1 line

  Add the Python FAQ lists to the documentation.  Copied from sandbox/faq.  Many thanks to AMK for the preparation work.
........
  r75365 | georg.brandl | 2009-10-11 22:16:16 +0200 (So, 11 Okt 2009) | 1 line

  Fix broken links found by "make linkcheck".  scipy.org seems to be done right now, so I could not verify links going there.
........
  r75376 | benjamin.peterson | 2009-10-12 03:26:07 +0200 (Mo, 12 Okt 2009) | 1 line

  platform we don't care about
........
  r75392 | andrew.kuchling | 2009-10-13 18:11:49 +0200 (Di, 13 Okt 2009) | 1 line

  Various link, textual, and markup fixes
........
  r75394 | georg.brandl | 2009-10-13 20:10:59 +0200 (Di, 13 Okt 2009) | 1 line

  Fix markup.
........
  r75403 | georg.brandl | 2009-10-14 17:57:46 +0200 (Mi, 14 Okt 2009) | 1 line

  #7126: os.environ changes *do* take effect in subprocesses started with os.system().
........
  r75418 | georg.brandl | 2009-10-14 20:48:32 +0200 (Mi, 14 Okt 2009) | 1 line

  #7116: str.join() takes an iterable.
........
  r75484 | georg.brandl | 2009-10-18 09:58:12 +0200 (So, 18 Okt 2009) | 1 line

  Fix missing word.
........
  r75572 | benjamin.peterson | 2009-10-20 23:55:17 +0200 (Di, 20 Okt 2009) | 1 line

  clarify buffer arg #7178
........
  r75580 | georg.brandl | 2009-10-21 09:15:59 +0200 (Mi, 21 Okt 2009) | 1 line

  #7170: fix explanation about non-weakrefable builtin types.
........
  r75590 | benjamin.peterson | 2009-10-22 04:36:47 +0200 (Do, 22 Okt 2009) | 1 line

  rewrite to be nice to other implementations
........
  r75592 | georg.brandl | 2009-10-22 09:05:48 +0200 (Do, 22 Okt 2009) | 1 line

  Fix punctuation.
........
  r75594 | georg.brandl | 2009-10-22 09:56:02 +0200 (Do, 22 Okt 2009) | 1 line

  Fix markup.
........
  r75595 | georg.brandl | 2009-10-22 09:56:56 +0200 (Do, 22 Okt 2009) | 1 line

  Fix duplicate target.
........
  r75596 | georg.brandl | 2009-10-22 10:05:04 +0200 (Do, 22 Okt 2009) | 1 line

  Add a new directive marking up implementation details and start using it.
........
  r75600 | georg.brandl | 2009-10-22 13:01:46 +0200 (Do, 22 Okt 2009) | 1 line

  Make it more robust.
........
  r75602 | georg.brandl | 2009-10-22 13:28:06 +0200 (Do, 22 Okt 2009) | 1 line

  Document new directive.
........
  r75603 | georg.brandl | 2009-10-22 13:28:23 +0200 (Do, 22 Okt 2009) | 1 line

  Allow short form with text as argument.
........
  r75605 | georg.brandl | 2009-10-22 13:48:10 +0200 (Do, 22 Okt 2009) | 1 line

  Use "impl-detail" directive where applicable.
........
  r75606 | georg.brandl | 2009-10-22 17:00:06 +0200 (Do, 22 Okt 2009) | 1 line

  #6324: membership test tries iteration via __iter__.
........
  r75607 | georg.brandl | 2009-10-22 17:04:09 +0200 (Do, 22 Okt 2009) | 1 line

  #7088: document new functions in signal as Unix-only.
........
  r75610 | georg.brandl | 2009-10-22 17:27:24 +0200 (Do, 22 Okt 2009) | 1 line

  Reorder __slots__ fine print and add a clarification.
........
  r75611 | georg.brandl | 2009-10-22 17:42:32 +0200 (Do, 22 Okt 2009) | 1 line

  #7035: improve docs of the various <method>_errors() functions, and give them docstrings.
........
  r75612 | georg.brandl | 2009-10-22 17:52:15 +0200 (Do, 22 Okt 2009) | 1 line

  #7156: document curses as Unix-only.
........
  r75613 | georg.brandl | 2009-10-22 17:54:35 +0200 (Do, 22 Okt 2009) | 1 line

  #6977: getopt does not support optional option arguments.
........
  r75616 | georg.brandl | 2009-10-22 18:17:05 +0200 (Do, 22 Okt 2009) | 1 line

  Add proper references.
........
  r75617 | georg.brandl | 2009-10-22 18:20:55 +0200 (Do, 22 Okt 2009) | 1 line

  Make printout margin important.
........
  r75623 | georg.brandl | 2009-10-23 10:14:44 +0200 (Fr, 23 Okt 2009) | 1 line

  #7188: fix optionxform() docs.
........
  r75627 | fred.drake | 2009-10-23 15:04:51 +0200 (Fr, 23 Okt 2009) | 2 lines

  add further note about what's passed to optionxform
........
  r75647 | georg.brandl | 2009-10-24 12:04:19 +0200 (Sa, 24 Okt 2009) | 1 line

  Fix markup.
........
2009-10-27 15:08:27 +00:00
Georg Brandl 832c2b232e Blocked revisions 74929,75076,75098,75139,75180,75264,75267-75268,75272-75273,75310 via svnmerge
........
  r74929 | benjamin.peterson | 2009-09-18 23:14:55 +0200 (Fr, 18 Sep 2009) | 1 line

  add keyword arguments support to str/unicode encode and decode #6300
........
  r75076 | vinay.sajip | 2009-09-26 16:53:32 +0200 (Sa, 26 Sep 2009) | 1 line

  Tidied up name of parameter in StreamHandler
........
  r75098 | michael.foord | 2009-09-27 22:08:23 +0200 (So, 27 Sep 2009) | 1 line

  Documentation improvement for load_tests protocol in unittest. Issue 6515.
........
  r75139 | raymond.hettinger | 2009-09-29 20:53:24 +0200 (Di, 29 Sep 2009) | 3 lines

  Issue 7008: Better document str.title and show how to work around the apostrophe problem.
........
  r75180 | georg.brandl | 2009-10-01 22:59:31 +0200 (Do, 01 Okt 2009) | 1 line

  #7031: Add TestCase.assertIsInstance and negated method.
........
  r75264 | andrew.kuchling | 2009-10-06 00:30:22 +0200 (Di, 06 Okt 2009) | 1 line

  Add various items
........
  r75267 | andrew.kuchling | 2009-10-06 00:42:56 +0200 (Di, 06 Okt 2009) | 1 line

  Backport r73983: Document the thousands separator.
........
  r75268 | andrew.kuchling | 2009-10-06 00:45:39 +0200 (Di, 06 Okt 2009) | 1 line

  Remove two notes
........
  r75272 | amaury.forgeotdarc | 2009-10-06 21:56:32 +0200 (Di, 06 Okt 2009) | 5 lines

  #1571184: makeunicodedata.py now generates the functions _PyUnicode_ToNumeric,
  _PyUnicode_IsLinebreak and _PyUnicode_IsWhitespace.

  It now also parses the Unihan.txt for numeric values.
........
  r75273 | amaury.forgeotdarc | 2009-10-06 22:02:09 +0200 (Di, 06 Okt 2009) | 2 lines

  Add Anders Chrigstrom to Misc/ACKS for his work on unicodedata.
........
  r75310 | vinay.sajip | 2009-10-10 22:32:36 +0200 (Sa, 10 Okt 2009) | 1 line

  Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code.
........
2009-10-27 15:00:48 +00:00
Georg Brandl 8a85945151 Merged revisions 74861-74863,74876,74896,74930,74933,74952-74953,75015,75019,75260-75263,75265-75266,75289 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74861 | benjamin.peterson | 2009-09-17 05:18:28 +0200 (Do, 17 Sep 2009) | 1 line

  pep 8 defaults
........
  r74862 | brett.cannon | 2009-09-17 05:24:45 +0200 (Do, 17 Sep 2009) | 1 line

  Note in the intro to Extending... that ctypes can be a simpler, more portable solution than custom C code.
........
  r74863 | benjamin.peterson | 2009-09-17 05:27:33 +0200 (Do, 17 Sep 2009) | 1 line

  rationalize a bit
........
  r74876 | georg.brandl | 2009-09-17 18:15:53 +0200 (Do, 17 Sep 2009) | 1 line

  #6932: remove paragraph that advises relying on __del__ being called.
........
  r74896 | georg.brandl | 2009-09-18 09:22:41 +0200 (Fr, 18 Sep 2009) | 1 line

  #6936: for interactive use, quit() is just fine.
........
  r74930 | georg.brandl | 2009-09-18 23:21:41 +0200 (Fr, 18 Sep 2009) | 1 line

  #6925: rewrite docs for locals() and vars() a bit.
........
  r74933 | georg.brandl | 2009-09-18 23:35:59 +0200 (Fr, 18 Sep 2009) | 1 line

  #6930: clarify description about byteorder handling in UTF decoder routines.
........
  r74952 | georg.brandl | 2009-09-19 12:42:34 +0200 (Sa, 19 Sep 2009) | 1 line

  #6946: fix duplicate index entries for datetime classes.
........
  r74953 | georg.brandl | 2009-09-19 14:04:16 +0200 (Sa, 19 Sep 2009) | 1 line

  Fix references to threading.enumerate().
........
  r75015 | georg.brandl | 2009-09-22 12:55:08 +0200 (Di, 22 Sep 2009) | 1 line

  Fix encoding name.
........
  r75019 | vinay.sajip | 2009-09-22 19:23:41 +0200 (Di, 22 Sep 2009) | 1 line

  Fixed a typo, and added sections on optimization and using arbitrary objects as messages.
........
  r75260 | andrew.kuchling | 2009-10-05 23:24:20 +0200 (Mo, 05 Okt 2009) | 1 line

  Wording fix
........
  r75261 | andrew.kuchling | 2009-10-05 23:24:35 +0200 (Mo, 05 Okt 2009) | 1 line

  Fix narkup
........
  r75262 | andrew.kuchling | 2009-10-05 23:25:03 +0200 (Mo, 05 Okt 2009) | 1 line

  Document 'skip' parameter to constructor
........
  r75263 | andrew.kuchling | 2009-10-05 23:25:35 +0200 (Mo, 05 Okt 2009) | 1 line

  Note side benefit of socket.create_connection()
........
  r75265 | andrew.kuchling | 2009-10-06 00:31:11 +0200 (Di, 06 Okt 2009) | 1 line

  Reword sentence
........
  r75266 | andrew.kuchling | 2009-10-06 00:32:48 +0200 (Di, 06 Okt 2009) | 1 line

  Use standard comma punctuation; reword some sentences in the docs
........
  r75289 | mark.dickinson | 2009-10-08 22:02:25 +0200 (Do, 08 Okt 2009) | 2 lines

  Issue #7051:  Clarify behaviour of 'g' and 'G'-style formatting.
........
2009-10-27 14:59:26 +00:00
Georg Brandl a34e1041ff Blocked revisions 74000-74001,74006,74150,74152,74173,74365,74513,74524,74556,74625,74733-74734,74780,74783,74785-74786 via svnmerge
........
  r74000 | amaury.forgeotdarc | 2009-07-13 22:01:11 +0200 (Mo, 13 Jul 2009) | 4 lines

  #1616979: Add the cp720 (Arabic DOS) encoding.
  Since there is no official mapping file from unicode.org,
  the codec file is generated on Windows with the new genwincodec.py script.
........
  r74001 | amaury.forgeotdarc | 2009-07-13 22:03:21 +0200 (Mo, 13 Jul 2009) | 2 lines

  NEWS entry for r74000.
........
  r74006 | amaury.forgeotdarc | 2009-07-14 01:11:54 +0200 (Di, 14 Jul 2009) | 2 lines

  Document the newly added codec
........
  r74150 | benjamin.peterson | 2009-07-22 01:13:14 +0200 (Mi, 22 Jul 2009) | 1 line

  install unittest as a package
........
  r74152 | benjamin.peterson | 2009-07-22 02:03:43 +0200 (Mi, 22 Jul 2009) | 1 line

  simplify
........
  r74173 | benjamin.peterson | 2009-07-22 18:34:37 +0200 (Mi, 22 Jul 2009) | 1 line

  revert r74152
........
  r74365 | georg.brandl | 2009-08-13 09:48:05 +0200 (Do, 13 Aug 2009) | 1 line

  #6679: Remove mention that sub supports no flags.
........
  r74513 | skip.montanaro | 2009-08-18 16:37:52 +0200 (Di, 18 Aug 2009) | 1 line

  missing module ref (issue6723)
........
  r74524 | gregory.p.smith | 2009-08-20 11:39:38 +0200 (Do, 20 Aug 2009) | 2 lines

  Add weakref support to the thread.lock type.
........
  r74556 | kristjan.jonsson | 2009-08-28 00:20:21 +0200 (Fr, 28 Aug 2009) | 2 lines

  issue 6275
  Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package.  This allows further tests on the exception that was raised after the context manager exits.
........
  r74625 | benjamin.peterson | 2009-09-02 00:27:57 +0200 (Mi, 02 Sep 2009) | 1 line

  remove the check that classmethod's argument is a callable
........
  r74733 | benjamin.peterson | 2009-09-09 13:40:54 +0200 (Mi, 09 Sep 2009) | 1 line

  tabbify
........
  r74734 | benjamin.peterson | 2009-09-09 13:42:57 +0200 (Mi, 09 Sep 2009) | 1 line

  revert unintended changes
........
  r74780 | michael.foord | 2009-09-13 18:40:02 +0200 (So, 13 Sep 2009) | 1 line

  Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567.
........
  r74783 | michael.foord | 2009-09-13 19:28:35 +0200 (So, 13 Sep 2009) | 1 line

  unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866.
........
  r74785 | michael.foord | 2009-09-13 21:07:03 +0200 (So, 13 Sep 2009) | 1 line

  Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
........
  r74786 | michael.foord | 2009-09-13 21:08:18 +0200 (So, 13 Sep 2009) | 1 line

  Remove an extraneous space in unittest documentation.
........
2009-10-27 14:56:32 +00:00
Georg Brandl 5be70d44da Merged revisions 74492,74531,74545-74550,74553-74555,74588,74603,74608,74614,74616-74618,74631-74633,74652-74653,74666,74671,74737,74739,74779,74781-74782,74784,74791,74793,74818-74820,74822,74832 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74492 | r.david.murray | 2009-08-17 21:26:49 +0200 (Mo, 17 Aug 2009) | 2 lines

  Issue 6685: 'toupper' -> 'upper' in cgi doc example explanation.
........
  r74531 | vinay.sajip | 2009-08-21 00:04:32 +0200 (Fr, 21 Aug 2009) | 1 line

  Added section on exceptions raised during logging.
........
  r74545 | georg.brandl | 2009-08-24 19:14:29 +0200 (Mo, 24 Aug 2009) | 1 line

  #6772: mention utf-8 as utf8 alias.
........
  r74546 | georg.brandl | 2009-08-24 19:20:40 +0200 (Mo, 24 Aug 2009) | 1 line

  #6725: spell "namespace" consistently.
........
  r74547 | georg.brandl | 2009-08-24 19:22:05 +0200 (Mo, 24 Aug 2009) | 1 line

  #6718: fix example.
........
  r74548 | georg.brandl | 2009-08-24 19:24:27 +0200 (Mo, 24 Aug 2009) | 1 line

  #6677: mention "deleting" as an alias for removing files.
........
  r74549 | benjamin.peterson | 2009-08-24 19:42:36 +0200 (Mo, 24 Aug 2009) | 1 line

  fix pdf building by teaching latex the right encoding package
........
  r74550 | georg.brandl | 2009-08-24 19:48:40 +0200 (Mo, 24 Aug 2009) | 1 line

  #6677: note that rmdir only removes empty directories.
........
  r74553 | r.david.murray | 2009-08-27 03:04:59 +0200 (Do, 27 Aug 2009) | 2 lines

  Remove leftover text from end of sentence.
........
  r74554 | georg.brandl | 2009-08-27 20:59:02 +0200 (Do, 27 Aug 2009) | 1 line

  Typo fix.
........
  r74555 | georg.brandl | 2009-08-27 21:02:43 +0200 (Do, 27 Aug 2009) | 1 line

  #6787: reference fix.
........
  r74588 | georg.brandl | 2009-08-30 10:35:01 +0200 (So, 30 Aug 2009) | 1 line

  #6803: fix old name.
........
  r74603 | georg.brandl | 2009-08-31 08:38:29 +0200 (Mo, 31 Aug 2009) | 1 line

  other -> others where multiple arguments are accepted.
........
  r74608 | senthil.kumaran | 2009-08-31 18:40:27 +0200 (Mo, 31 Aug 2009) | 3 lines

  Doc fix for the issue2637.
........
  r74614 | georg.brandl | 2009-09-01 09:40:54 +0200 (Di, 01 Sep 2009) | 1 line

  #6813: better documentation for numberless string formats.
........
  r74616 | georg.brandl | 2009-09-01 09:46:26 +0200 (Di, 01 Sep 2009) | 1 line

  #6808: clarification.
........
  r74617 | georg.brandl | 2009-09-01 09:53:37 +0200 (Di, 01 Sep 2009) | 1 line

  #6765: hint that log(x, base) is not very sophisticated.
........
  r74618 | georg.brandl | 2009-09-01 10:00:47 +0200 (Di, 01 Sep 2009) | 1 line

  #6810: add a link to the section about frame objects instead of just a description where to find it.
........
  r74631 | georg.brandl | 2009-09-02 22:37:16 +0200 (Mi, 02 Sep 2009) | 1 line

  #6821: fix signature of PyBuffer_Release().
........
  r74632 | georg.brandl | 2009-09-03 09:27:26 +0200 (Do, 03 Sep 2009) | 1 line

  #6828: fix wrongly highlighted blocks.
........
  r74633 | georg.brandl | 2009-09-03 14:31:39 +0200 (Do, 03 Sep 2009) | 1 line

  #6757: complete the list of types that marshal can serialize.
........
  r74652 | georg.brandl | 2009-09-04 13:25:37 +0200 (Fr, 04 Sep 2009) | 1 line

  #6756: add some info about the "acct" parameter.
........
  r74653 | georg.brandl | 2009-09-04 13:32:18 +0200 (Fr, 04 Sep 2009) | 1 line

  #6777: dont discourage usage of Exception.args or promote usage of Exception.message.
........
  r74666 | georg.brandl | 2009-09-05 11:04:09 +0200 (Sa, 05 Sep 2009) | 1 line

  #6841: remove duplicated word.
........
  r74671 | georg.brandl | 2009-09-05 18:47:17 +0200 (Sa, 05 Sep 2009) | 1 line

  #6843: add link from filterwarnings to where the meaning of the arguments is covered.
........
  r74737 | georg.brandl | 2009-09-09 18:49:13 +0200 (Mi, 09 Sep 2009) | 1 line

  Properly document copy and deepcopy as functions.
........
  r74739 | georg.brandl | 2009-09-11 09:55:20 +0200 (Fr, 11 Sep 2009) | 1 line

  Move function back to its section.
........
  r74779 | michael.foord | 2009-09-13 18:13:36 +0200 (So, 13 Sep 2009) | 1 line

  Change to tutorial wording for reading text / binary files on Windows. Issue #6301.
........
  r74781 | michael.foord | 2009-09-13 18:46:19 +0200 (So, 13 Sep 2009) | 1 line

  Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712.
........
  r74782 | michael.foord | 2009-09-13 19:07:46 +0200 (So, 13 Sep 2009) | 1 line

  Tutorial tweaks. Issue 6849.
........
  r74784 | georg.brandl | 2009-09-13 20:15:07 +0200 (So, 13 Sep 2009) | 1 line

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

  #6574: list the future features in a table.
........
  r74793 | georg.brandl | 2009-09-14 16:50:47 +0200 (Mo, 14 Sep 2009) | 1 line

  #6908: fix association of hashlib hash attributes.
........
  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.
........
  r74832 | georg.brandl | 2009-09-16 17:57:46 +0200 (Mi, 16 Sep 2009) | 1 line

  Rewrap long lines.
........
2009-10-27 14:50:20 +00:00
Georg Brandl 46e9daa3ae Merged revisions 74210,74239,74252-74253,74256,74258-74261,74332-74333,74404,74411,74445,74465,74467,74488 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74210 | georg.brandl | 2009-07-26 16:44:23 +0200 (So, 26 Jul 2009) | 1 line

  Move member descriptions inside the classes.
........
  r74239 | georg.brandl | 2009-07-28 20:55:32 +0200 (Di, 28 Jul 2009) | 1 line

  Clarify quote_plus() usage.
........
  r74252 | georg.brandl | 2009-07-29 18:06:31 +0200 (Mi, 29 Jul 2009) | 1 line

  #6593: fix link targets.
........
  r74253 | georg.brandl | 2009-07-29 18:09:17 +0200 (Mi, 29 Jul 2009) | 1 line

  #6591: add reference to ioctl in fcntl module for platforms other than Windows.
........
  r74256 | georg.brandl | 2009-07-29 18:32:30 +0200 (Mi, 29 Jul 2009) | 1 line

  #6336: Add nb_divide.
........
  r74258 | georg.brandl | 2009-07-29 18:57:05 +0200 (Mi, 29 Jul 2009) | 1 line

  Add a link to readline, and mention IPython and bpython.
........
  r74259 | georg.brandl | 2009-07-29 19:07:21 +0200 (Mi, 29 Jul 2009) | 1 line

  Fix some markup and small factual glitches found by M. Markert.
........
  r74260 | georg.brandl | 2009-07-29 19:15:20 +0200 (Mi, 29 Jul 2009) | 1 line

  Fix a few markup glitches.
........
  r74261 | georg.brandl | 2009-07-29 19:50:25 +0200 (Mi, 29 Jul 2009) | 1 line

  Rewrite the section about classes a bit; mostly tidbits, and a larger update to the section about "private" variables to reflect the Pythonic consensus better.
........
  r74332 | georg.brandl | 2009-08-06 19:23:21 +0200 (Do, 06 Aug 2009) | 1 line

  Fix punctuation and one copy-paste error.
........
  r74333 | georg.brandl | 2009-08-06 19:43:55 +0200 (Do, 06 Aug 2009) | 1 line

  #6658: fix two typos.
........
  r74404 | georg.brandl | 2009-08-13 14:05:52 +0200 (Do, 13 Aug 2009) | 1 line

  Use locale.format_string() for more than one specifier.
........
  r74411 | georg.brandl | 2009-08-13 14:57:25 +0200 (Do, 13 Aug 2009) | 2 lines

  Remove potentially confusing sentence in __mangling description.
........
  r74445 | vinay.sajip | 2009-08-14 13:33:54 +0200 (Fr, 14 Aug 2009) | 1 line

  Added versionchanged notices for optional 'delay' parameter to file handler classes.
........
  r74465 | vinay.sajip | 2009-08-16 01:23:12 +0200 (So, 16 Aug 2009) | 1 line

  Added section on logging to one file from multiple processes.
........
  r74467 | vinay.sajip | 2009-08-16 01:34:47 +0200 (So, 16 Aug 2009) | 1 line

  Refined section on logging to one file from multiple processes.
........
  r74488 | vinay.sajip | 2009-08-17 15:14:37 +0200 (Mo, 17 Aug 2009) | 1 line

  Further refined section on logging to one file from multiple processes.
........
2009-10-27 14:41:50 +00:00
Georg Brandl 4ae4f876a2 Merged revisions 74209 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74209 | georg.brandl | 2009-07-26 16:37:28 +0200 (So, 26 Jul 2009) | 1 line

  builtin -> built-in.
........
2009-10-27 14:37:48 +00:00
Georg Brandl 0dfdf006a6 Merged revisions 74207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line

  #6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
........
2009-10-27 14:36:50 +00:00
Georg Brandl cda25a1af6 Merged revisions 74008,74021-74022,74074-74075,74077,74148,74179,74188,74192-74194,74200,74205 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74008 | benjamin.peterson | 2009-07-15 02:46:42 +0200 (Mi, 15 Jul 2009) | 1 line

  update year
........
  r74021 | georg.brandl | 2009-07-16 09:33:04 +0200 (Do, 16 Jul 2009) | 1 line

  #6486: start with built in functions rather than "built in objects".
........
  r74022 | georg.brandl | 2009-07-16 09:38:35 +0200 (Do, 16 Jul 2009) | 1 line

  #6481: fix typo in os.system() replacement.
........
  r74074 | georg.brandl | 2009-07-18 11:03:10 +0200 (Sa, 18 Jul 2009) | 1 line

  #6513: fix example code: warning categories are classes, not instances.
........
  r74075 | georg.brandl | 2009-07-18 11:06:31 +0200 (Sa, 18 Jul 2009) | 1 line

  #6505: fix typos.
........
  r74077 | georg.brandl | 2009-07-18 11:43:40 +0200 (Sa, 18 Jul 2009) | 1 line

  #6489: fix an ambiguity in getiterator() documentation.
........
  r74148 | ezio.melotti | 2009-07-21 22:18:27 +0200 (Di, 21 Jul 2009) | 1 line

  #6536 fixed typo
........
  r74179 | ezio.melotti | 2009-07-22 23:08:49 +0200 (Mi, 22 Jul 2009) | 1 line

  #6423 has_key -> in
........
  r74188 | benjamin.peterson | 2009-07-23 16:25:31 +0200 (Do, 23 Jul 2009) | 1 line

  use bools
........
  r74192 | georg.brandl | 2009-07-24 18:28:38 +0200 (Fr, 24 Jul 2009) | 1 line

  Fix arg types of et#.
........
  r74193 | georg.brandl | 2009-07-24 18:46:38 +0200 (Fr, 24 Jul 2009) | 1 line

  Dont put "void" in signature for nullary functions.
........
  r74194 | georg.brandl | 2009-07-24 22:09:46 +0200 (Fr, 24 Jul 2009) | 1 line

  #6564: fix section about the two raise syntaxes.
........
  r74200 | georg.brandl | 2009-07-25 15:02:15 +0200 (Sa, 25 Jul 2009) | 1 line

  #6571: add index entries for more operators.
........
  r74205 | georg.brandl | 2009-07-26 15:36:39 +0200 (So, 26 Jul 2009) | 1 line

  #6576: fix cross-refs in re docs.
........
2009-10-27 14:34:21 +00:00
Georg Brandl 4ebc29eeca Blocked revisions 73325-73326,73340,73367,73370,73447,73534,73537,73546,73638,73712,73714,73717,73720,73725,73818,73916,73962-73963 via svnmerge
................
  r73325 | amaury.forgeotdarc | 2009-06-10 01:08:13 +0200 (Mi, 10 Jun 2009) | 8 lines

  #6201: Fix test_winreg on Windows:
  since the introduction of the SETUP_WITH opcode,
  __enter__ and __exit__ methods must belong to the type,
  and are not retrieved at the instance level (__dict__ or __getattr__).

  Add a note in whatsnew about this incompatibility;
  old style classes are not affected.
................
  r73326 | amaury.forgeotdarc | 2009-06-10 01:18:50 +0200 (Mi, 10 Jun 2009) | 2 lines

  Both kind of types are concerned.
................
  r73340 | amaury.forgeotdarc | 2009-06-10 22:30:19 +0200 (Mi, 10 Jun 2009) | 2 lines

  Fix a typo spotted by Nick Coghlan.
................
  r73367 | raymond.hettinger | 2009-06-12 00:04:00 +0200 (Fr, 12 Jun 2009) | 1 line

  Add example of how to do key lookups with bisect().
................
  r73370 | benjamin.peterson | 2009-06-12 00:06:46 +0200 (Fr, 12 Jun 2009) | 105 lines

  Merged revisions 72523,72950-72951,72994,73003,73033,73036-73040,73091-73093,73096,73179-73181,73192,73231,73244,73255-73256,73365 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r72523 | benjamin.peterson | 2009-05-09 14:42:26 -0500 (Sat, 09 May 2009) | 1 line

    remove parenthesis
  ........
    r72950 | benjamin.peterson | 2009-05-26 18:19:45 -0500 (Tue, 26 May 2009) | 1 line

    remove unused imports
  ........
    r72951 | benjamin.peterson | 2009-05-26 18:27:00 -0500 (Tue, 26 May 2009) | 1 line

    this is no longer executable
  ........
    r72994 | benjamin.peterson | 2009-05-28 15:32:54 -0500 (Thu, 28 May 2009) | 1 line

    fix test_all_fixers on Windows #6134
  ........
    r73003 | benjamin.peterson | 2009-05-28 21:57:28 -0500 (Thu, 28 May 2009) | 4 lines

    make 2to3 test utilities easier to use with other applications (3to2)

    Patch by Joe Amenta
  ........
    r73033 | benjamin.peterson | 2009-05-29 16:58:32 -0500 (Fri, 29 May 2009) | 1 line

    update grammar for multi with statement
  ........
    r73036 | benjamin.peterson | 2009-05-29 17:33:20 -0500 (Fri, 29 May 2009) | 1 line

    simplify fix_unicode
  ........
    r73037 | benjamin.peterson | 2009-05-29 17:53:03 -0500 (Fri, 29 May 2009) | 1 line

    add custom error for pattern syntax errors
  ........
    r73038 | benjamin.peterson | 2009-05-29 17:55:00 -0500 (Fri, 29 May 2009) | 1 line

    complain if details are attached to a token
  ........
    r73039 | benjamin.peterson | 2009-05-29 18:00:28 -0500 (Fri, 29 May 2009) | 1 line

    add a test for whitespace
  ........
    r73040 | benjamin.peterson | 2009-05-29 18:01:17 -0500 (Fri, 29 May 2009) | 1 line

    a fix for emacs highlighting
  ........
    r73091 | benjamin.peterson | 2009-05-31 20:55:25 -0500 (Sun, 31 May 2009) | 1 line

    deprecate set_prefix() and get_prefix() in favor of a prefix property
  ........
    r73092 | benjamin.peterson | 2009-05-31 21:00:51 -0500 (Sun, 31 May 2009) | 1 line

    change hideous java naming scheme
  ........
    r73093 | benjamin.peterson | 2009-05-31 21:01:39 -0500 (Sun, 31 May 2009) | 1 line

    remove dated comment
  ........
    r73096 | benjamin.peterson | 2009-05-31 21:40:53 -0500 (Sun, 31 May 2009) | 1 line

    group tests
  ........
    r73179 | benjamin.peterson | 2009-06-03 13:09:53 -0500 (Wed, 03 Jun 2009) | 1 line

    handle the case where there's multiple trailers #6185
  ........
    r73180 | benjamin.peterson | 2009-06-03 13:18:05 -0500 (Wed, 03 Jun 2009) | 1 line

    scrap __main__ section
  ........
    r73181 | benjamin.peterson | 2009-06-03 13:24:48 -0500 (Wed, 03 Jun 2009) | 1 line

    remove shebang lines and __main__ sections
  ........
    r73192 | benjamin.peterson | 2009-06-03 19:16:30 -0500 (Wed, 03 Jun 2009) | 4 lines

    actually test something here

    Thanks to Joe Amenta for noticing.y
  ........
    r73231 | benjamin.peterson | 2009-06-04 13:38:50 -0500 (Thu, 04 Jun 2009) | 1 line

    remove unused variable
  ........
    r73244 | benjamin.peterson | 2009-06-05 08:39:25 -0500 (Fri, 05 Jun 2009) | 1 line

    allow fixers to give different options in setUp
  ........
    r73255 | benjamin.peterson | 2009-06-06 11:23:46 -0500 (Sat, 06 Jun 2009) | 1 line

    fix the except fixer on one line suites #6222
  ........
    r73256 | benjamin.peterson | 2009-06-06 11:27:40 -0500 (Sat, 06 Jun 2009) | 1 line

    test one-line else and finally clauses
  ........
    r73365 | benjamin.peterson | 2009-06-11 17:01:32 -0500 (Thu, 11 Jun 2009) | 1 line

    normalize whitespace
  ........
................
  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.
................
  r73534 | amaury.forgeotdarc | 2009-06-23 23:09:09 +0200 (Di, 23 Jun 2009) | 2 lines

  Remove the ipaddr module per discussion on python-dev
................
  r73537 | amaury.forgeotdarc | 2009-06-23 23:53:46 +0200 (Di, 23 Jun 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.
................
  r73546 | kristjan.jonsson | 2009-06-24 11:17:04 +0200 (Mi, 24 Jun 2009) | 2 lines

  http://bugs.python.org/issue6192
  Move the newly introduced disable_nagle_algorithm flag into the StreamRequestHandler, where it is more appropriate.
................
  r73638 | kristjan.jonsson | 2009-06-28 23:04:17 +0200 (So, 28 Jun 2009) | 2 lines

  http://bugs.python.org/issue6267
  Cumulative patch to http and xmlrpc
................
  r73712 | ezio.melotti | 2009-07-01 00:51:06 +0200 (Mi, 01 Jul 2009) | 1 line

  Fixed defaultTestCase -> defaultTestResult
................
  r73714 | benjamin.peterson | 2009-07-01 00:57:08 +0200 (Mi, 01 Jul 2009) | 1 line

  convert usage of fail* to assert*
................
  r73717 | benjamin.peterson | 2009-07-01 01:30:12 +0200 (Mi, 01 Jul 2009) | 1 line

  use assert* methods in test_unittest
................
  r73720 | benjamin.peterson | 2009-07-01 02:36:41 +0200 (Mi, 01 Jul 2009) | 4 lines

  fix a few cases where automated fail -> assert translation messed up

  Thanks Joe Amenta
................
  r73725 | benjamin.peterson | 2009-07-01 02:49:09 +0200 (Mi, 01 Jul 2009) | 21 lines

  Merged revisions 73379,73388,73507,73722 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r73379 | benjamin.peterson | 2009-06-11 18:06:21 -0500 (Thu, 11 Jun 2009) | 1 line

    use a real conditional expresion
  ........
    r73388 | benjamin.peterson | 2009-06-12 09:44:29 -0500 (Fri, 12 Jun 2009) | 1 line

    fix typo in last fix
  ........
    r73507 | benjamin.peterson | 2009-06-22 13:32:04 -0500 (Mon, 22 Jun 2009) | 1 line

    remove svn:executable property
  ........
    r73722 | benjamin.peterson | 2009-06-30 19:44:30 -0500 (Tue, 30 Jun 2009) | 1 line

    replace fail* with assert*
  ........
................
  r73818 | gregory.p.smith | 2009-07-03 22:48:31 +0200 (Fr, 03 Jul 2009) | 2 lines

  Adds the select.PIPE_BUF attribute to expose the system constant.
................
  r73916 | amaury.forgeotdarc | 2009-07-10 00:37:22 +0200 (Fr, 10 Jul 2009) | 5 lines

  #6416: Fix compilation of the select module on Windows, as well as test_subprocess:
  PIPE_BUF is not defined on Windows, and probably has no meaning there.

  Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
................
  r73962 | benjamin.peterson | 2009-07-12 00:15:13 +0200 (So, 12 Jul 2009) | 1 line

  put downloaded test support files in Lib/test/data instead of the cwd
................
  r73963 | benjamin.peterson | 2009-07-12 00:25:24 +0200 (So, 12 Jul 2009) | 1 line

  ignore things in Lib/test/data/
................
2009-10-27 14:30:57 +00:00
Georg Brandl f18d5cea53 Merged revisions 73286,73294,73296,73459,73462-73463,73544,73576-73577,73595-73596,73693-73694,73704-73705,73707,73713,73937-73940,73945,73951,73979 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.
........
  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().
........
  r73296 | georg.brandl | 2009-06-08 18:03:41 +0200 (Mo, 08 Jun 2009) | 1 line

  #6238: add fillchar to string.just function family.
........
  r73459 | raymond.hettinger | 2009-06-17 03:43:47 +0200 (Mi, 17 Jun 2009) | 1 line

  Add usage note.
........
  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.
........
  r73544 | georg.brandl | 2009-06-24 08:41:19 +0200 (Mi, 24 Jun 2009) | 1 line

  #6332: fix word dupes throughout the source.
........
  r73576 | benjamin.peterson | 2009-06-27 01:37:06 +0200 (Sa, 27 Jun 2009) | 1 line

  document is_declared_global()
........
  r73577 | benjamin.peterson | 2009-06-27 16:16:23 +0200 (Sa, 27 Jun 2009) | 1 line

  link to extensive generator docs in the reference manual
........
  r73595 | ezio.melotti | 2009-06-28 01:45:39 +0200 (So, 28 Jun 2009) | 1 line

  stmt and setup can contain multiple statements, see #5896
........
  r73596 | ezio.melotti | 2009-06-28 02:07:45 +0200 (So, 28 Jun 2009) | 1 line

  Fixed a wrong apostrophe
........
  r73693 | jesse.noller | 2009-06-29 20:20:34 +0200 (Mo, 29 Jun 2009) | 1 line

  Bug 5906: add a documentation note for unix daemons vs. multiprocessing daemons
........
  r73694 | jesse.noller | 2009-06-29 20:24:26 +0200 (Mo, 29 Jun 2009) | 1 line

  Issue 5740: multiprocessing.connection.* authkey fixes
........
  r73704 | georg.brandl | 2009-06-30 18:15:43 +0200 (Di, 30 Jun 2009) | 1 line

  #6376: fix copy-n-paste oversight.
........
  r73705 | georg.brandl | 2009-06-30 18:17:28 +0200 (Di, 30 Jun 2009) | 1 line

  #6374: add a bit of explanation about shell=True on Windows.
........
  r73707 | georg.brandl | 2009-06-30 18:35:11 +0200 (Di, 30 Jun 2009) | 1 line

  #6371: fix link targets.
........
  r73713 | ezio.melotti | 2009-07-01 00:56:16 +0200 (Mi, 01 Jul 2009) | 1 line

  Fixed a backslash that was not supposed to be there
........
  r73937 | georg.brandl | 2009-07-11 12:12:36 +0200 (Sa, 11 Jul 2009) | 1 line

  Fix style.
........
  r73938 | georg.brandl | 2009-07-11 12:14:54 +0200 (Sa, 11 Jul 2009) | 1 line

  #6446: fix import_spam() function to use correct error and reference handling.
........
  r73939 | georg.brandl | 2009-07-11 12:18:10 +0200 (Sa, 11 Jul 2009) | 1 line

  #6448: clarify docs for find_module().
........
  r73940 | georg.brandl | 2009-07-11 12:37:38 +0200 (Sa, 11 Jul 2009) | 1 line

  #6430: add note about size of "u" type.
........
  r73945 | georg.brandl | 2009-07-11 12:51:31 +0200 (Sa, 11 Jul 2009) | 1 line

  #6456: clarify the meaning of constants used as arguments to nl_langinfo().
........
  r73951 | georg.brandl | 2009-07-11 16:23:38 +0200 (Sa, 11 Jul 2009) | 2 lines

  array.array is actually a class.
........
  r73979 | benjamin.peterson | 2009-07-12 18:56:54 +0200 (So, 12 Jul 2009) | 1 line

  add versionadded
........
2009-10-27 14:29:22 +00:00
Georg Brandl 189977e512 Blocked revisions 72570,72616,72786,72813,72879-72880,72890,72905,72912,72956,73002,73027,73029,73049,73060,73068,73071-73072,73272 via svnmerge
........
  r72570 | michael.foord | 2009-05-11 19:59:43 +0200 (Mo, 11 Mai 2009) | 7 lines

  Adds a verbosity keyword argument to unittest.main plus a minor fix allowing you to specify test modules / classes
  from the command line.

  Closes issue 5995.

  Michael Foord
........
  r72616 | benjamin.peterson | 2009-05-14 02:33:10 +0200 (Do, 14 Mai 2009) | 1 line

  importlib.import_module is better these days
........
  r72786 | raymond.hettinger | 2009-05-19 19:43:59 +0200 (Di, 19 Mai 2009) | 1 line

  Note that ordered dictionaries work with reversed().
........
  r72813 | raymond.hettinger | 2009-05-22 03:06:44 +0200 (Fr, 22 Mai 2009) | 1 line

  Fix-up moving average example.
........
  r72879 | jeffrey.yasskin | 2009-05-24 01:23:01 +0200 (So, 24 Mai 2009) | 14 lines

  Issue #6042:
  lnotab-based tracing is very complicated and isn't documented very well.  There
  were at least 3 comment blocks purporting to document co_lnotab, and none did a
  very good job. This patch unifies them into Objects/lnotab_notes.txt which
  tries to completely capture the current state of affairs.

  I also discovered that we've attached 2 layers of patches to the basic tracing
  scheme. The first layer avoids jumping to instructions that don't start a line,
  to avoid problems in if statements and while loops.  The second layer
  discovered that jumps backward do need to trace at instructions that don't
  start a line, so it added extra lnotab entries for 'while' and 'for' loops, and
  added a special case for backward jumps within the same line. I replaced these
  patches by just treating forward and backward jumps differently.
........
  r72880 | senthil.kumaran | 2009-05-24 11:14:50 +0200 (So, 24 Mai 2009) | 3 lines

  Fixed Issue1424152, urllib2 fails with HTTPS over Proxy.
........
  r72890 | gregory.p.smith | 2009-05-24 20:00:13 +0200 (So, 24 Mai 2009) | 2 lines

  add a versionadded tag for set_tunnel
........
  r72905 | benjamin.peterson | 2009-05-25 02:48:58 +0200 (Mo, 25 Mai 2009) | 4 lines

  make class skipping decorators the same as skipping every test of the class

  This removes ClassTestSuite and a good bit of hacks.
........
  r72912 | benjamin.peterson | 2009-05-25 15:13:44 +0200 (Mo, 25 Mai 2009) | 5 lines

  add a SETUP_WITH opcode

  It speeds up the with statement and correctly looks up the special
  methods involved.
........
  r72956 | raymond.hettinger | 2009-05-27 04:24:45 +0200 (Mi, 27 Mai 2009) | 3 lines

  Fix field name conflicts for named tuples.
........
  r73002 | raymond.hettinger | 2009-05-29 03:46:48 +0200 (Fr, 29 Mai 2009) | 3 lines

  Deprecate contextlib.nested().  The with-statement now provides this functionality directly.
........
  r73027 | michael.foord | 2009-05-29 22:33:46 +0200 (Fr, 29 Mai 2009) | 1 line

  Add test discovery to unittest. Issue 6001.
........
  r73029 | raymond.hettinger | 2009-05-29 23:20:41 +0200 (Fr, 29 Mai 2009) | 1 line

  Move the basic examples section back to the beginning.
........
  r73049 | georg.brandl | 2009-05-30 12:45:40 +0200 (Sa, 30 Mai 2009) | 1 line

  Rewrap a few long lines.
........
  r73060 | gregory.p.smith | 2009-05-30 21:58:11 +0200 (Sa, 30 Mai 2009) | 2 lines

  Add more examples to the ipaddr documentation.
........
  r73068 | antoine.pitrou | 2009-05-30 23:45:40 +0200 (Sa, 30 Mai 2009) | 3 lines

  Update ACKS
........
  r73071 | georg.brandl | 2009-05-31 16:15:25 +0200 (So, 31 Mai 2009) | 1 line

  Fix markup.
........
  r73072 | antoine.pitrou | 2009-05-31 16:20:14 +0200 (So, 31 Mai 2009) | 4 lines

  Issue #6152: New option '-j'/'--multiprocess' for regrtest allows running
  regression tests in parallel, shortening the total runtime.
........
  r73272 | kristjan.jonsson | 2009-06-07 18:43:23 +0200 (So, 07 Jun 2009) | 2 lines

  http://bugs.python.org/issue6192
  Add a feature to disable the Nagle algorithm on sockets in TCPServer
........
2009-10-27 14:21:22 +00:00
Georg Brandl a3c242c19d Merged revisions 72558,72745,72750,72876,73042,73045-73048,73069,73089,73163,73186,73213,73215,73217,73257-73258,73260 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72558 | benjamin.peterson | 2009-05-11 01:52:09 +0200 (Mo, 11 Mai 2009) | 1 line

  sys.setdefaultencoding() strikes me as a bad example
........
  r72745 | benjamin.peterson | 2009-05-17 16:16:29 +0200 (So, 17 Mai 2009) | 1 line

  ignore .rst files in sphinx its self
........
  r72750 | benjamin.peterson | 2009-05-17 18:59:27 +0200 (So, 17 Mai 2009) | 1 line

  chop off slash
........
  r72876 | benjamin.peterson | 2009-05-23 22:59:09 +0200 (Sa, 23 Mai 2009) | 1 line

  remove mention of old ctypes version
........
  r73042 | benjamin.peterson | 2009-05-30 05:10:52 +0200 (Sa, 30 Mai 2009) | 1 line

  no fdatasync on macos
........
  r73045 | georg.brandl | 2009-05-30 09:26:04 +0200 (Sa, 30 Mai 2009) | 1 line

  #6146: fix markup bug.
........
  r73046 | georg.brandl | 2009-05-30 09:31:25 +0200 (Sa, 30 Mai 2009) | 1 line

  Use preferred form of raising exceptions.
........
  r73047 | georg.brandl | 2009-05-30 12:33:23 +0200 (Sa, 30 Mai 2009) | 1 line

  Fix some more small markup problems.
........
  r73048 | georg.brandl | 2009-05-30 12:34:25 +0200 (Sa, 30 Mai 2009) | 1 line

  Fix markup problem.
........
  r73069 | benjamin.peterson | 2009-05-31 02:42:42 +0200 (So, 31 Mai 2009) | 1 line

  fix signature
........
  r73089 | andrew.kuchling | 2009-06-01 02:14:19 +0200 (Mo, 01 Jun 2009) | 1 line

  The class for regexes isn't called RegexObject any more; correct the text
........
  r73163 | georg.brandl | 2009-06-03 09:25:35 +0200 (Mi, 03 Jun 2009) | 1 line

  Use the preferred form of raise statements in the docs.
........
  r73186 | georg.brandl | 2009-06-03 23:21:09 +0200 (Mi, 03 Jun 2009) | 1 line

  #6174: fix indentation in code example.
........
  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.
........
  r73215 | georg.brandl | 2009-06-04 12:22:31 +0200 (Do, 04 Jun 2009) | 1 line

  #6176: fix man page section for flock(2).
........
  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.
........
  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.
........
2009-10-27 14:19:50 +00:00
Georg Brandl c917746ad6 Blocked revisions 71119,71263,71406,71419,71430,71435,71448,71771,72173,72191,72198,72219,72225,72267,72487-72489,72494 via svnmerge
................
  r71119 | raymond.hettinger | 2009-04-04 07:37:47 +0200 (Sa, 04 Apr 2009) | 1 line

  Add helpful link.
................
  r71263 | michael.foord | 2009-04-05 21:19:28 +0200 (So, 05 Apr 2009) | 4 lines

  Adding assertIs and assertIsNot methods to unittest.TestCase

  Issue #2578
................
  r71406 | andrew.kuchling | 2009-04-09 13:23:36 +0200 (Do, 09 Apr 2009) | 1 line

  Typo fixes
................
  r71419 | raymond.hettinger | 2009-04-10 00:31:51 +0200 (Fr, 10 Apr 2009) | 1 line

  Add note on using keyword arguments with OrderedDict.
................
  r71430 | raymond.hettinger | 2009-04-10 06:25:45 +0200 (Fr, 10 Apr 2009) | 1 line

  Clarify the table entries for combinatorics.
................
  r71435 | raymond.hettinger | 2009-04-10 08:38:39 +0200 (Fr, 10 Apr 2009) | 1 line

  Fix the count of datatypes.
................
  r71448 | raymond.hettinger | 2009-04-10 15:16:50 +0200 (Fr, 10 Apr 2009) | 1 line

  Add examples.
................
  r71771 | raymond.hettinger | 2009-04-20 20:23:57 +0200 (Mo, 20 Apr 2009) | 1 line

  Fix typo
................
  r72173 | gregory.p.smith | 2009-05-01 21:59:52 +0200 (Fr, 01 Mai 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.
................
  r72191 | michael.foord | 2009-05-02 13:43:06 +0200 (Sa, 02 Mai 2009) | 9 lines

  Adds an exit parameter to unittest.main(). If False main no longer
  calls sys.exit.

  Closes issue 3379.

  Michael Foord

................
  r72198 | andrew.kuchling | 2009-05-02 19:12:15 +0200 (Sa, 02 Mai 2009) | 1 line

  Add items
................
  r72219 | michael.foord | 2009-05-02 22:15:05 +0200 (Sa, 02 Mai 2009) | 8 lines

  Add addCleanup and doCleanups to unittest.TestCase.

  Closes issue 5679.

  Michael Foord
................
  r72225 | michael.foord | 2009-05-03 00:43:34 +0200 (So, 03 Mai 2009) | 1 line
................
  r72267 | gregory.p.smith | 2009-05-04 02:16:49 +0200 (Mo, 04 Mai 2009) | 3 lines

  Issue #4751: For hashlib algorithms provided by OpenSSL, the Python
  GIL is now released during computation on data lengths >= 2048 bytes.
................
  r72487 | jeffrey.yasskin | 2009-05-08 23:51:06 +0200 (Fr, 08 Mai 2009) | 7 lines

  PyCode_NewEmpty:
  Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
  are trying to build an empty code object, usually to put it in a dummy frame
  object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
  just the filename, function name, and first line number, instead of also
  requiring lots of code internals.
................
  r72488 | jeffrey.yasskin | 2009-05-09 00:23:21 +0200 (Sa, 09 Mai 2009) | 13 lines

  Issue 5954, PyFrame_GetLineNumber:
  Most uses of PyCode_Addr2Line
  (http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get
  the line number of a specified frame, but there's no way to do that directly.
  Forcing people to go through the code object makes them know more about the
  guts of the interpreter than they should need.

  The remaining uses of PyCode_Addr2Line seem to be getting the line from a
  traceback (for example,
  http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&q=PyCode_Addr2Line),
  which is replaced by the tb_lineno field.  So we may be able to deprecate
  PyCode_Addr2Line entirely for external use.
................
  r72489 | gregory.p.smith | 2009-05-09 01:16:47 +0200 (Sa, 09 Mai 2009) | 3 lines

  Fix an off by one error on negative indexs to __getitem__
  http://code.google.com/p/ipaddr-py/issues/detail?id=15
................
  r72494 | benjamin.peterson | 2009-05-09 03:01:14 +0200 (Sa, 09 Mai 2009) | 21 lines

  Merged revisions 72491-72493 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r72491 | benjamin.peterson | 2009-05-08 19:33:27 -0500 (Fri, 08 May 2009) | 7 lines

    make 2to3 use unicode internally on 2.x

    This started out as a fix for #2660, but became this large refactoring
    when I realized the dire state this was in. 2to3 now uses
    tokenize.detect_encoding to decode the files correctly into unicode.
  ........
    r72492 | benjamin.peterson | 2009-05-08 19:35:38 -0500 (Fri, 08 May 2009) | 1 line

    remove compat code
  ........
    r72493 | benjamin.peterson | 2009-05-08 19:54:15 -0500 (Fri, 08 May 2009) | 1 line

    add a test for \r\n newlines
  ........
................
2009-10-27 14:12:28 +00:00
Georg Brandl 20f2ee9439 Merged revisions 71094,71102-71103,71106,71486,71962,72053,72221,72418-72419 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71094 | vinay.sajip | 2009-04-03 12:23:18 +0200 (Fr, 03 Apr 2009) | 1 line

  Added warning about logging use from asynchronous signal handlers.
........
  r71102 | andrew.kuchling | 2009-04-03 23:44:49 +0200 (Fr, 03 Apr 2009) | 1 line

  Fix 'the the'; grammar fix
........
  r71103 | andrew.kuchling | 2009-04-03 23:45:29 +0200 (Fr, 03 Apr 2009) | 1 line

  Fix 'the the' duplication
........
  r71106 | vinay.sajip | 2009-04-03 23:58:16 +0200 (Fr, 03 Apr 2009) | 1 line

  Clarified warning about logging use from asynchronous signal handlers.
........
  r71486 | andrew.kuchling | 2009-04-11 18:18:14 +0200 (Sa, 11 Apr 2009) | 1 line

  Re-word
........
  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.
........
  r72053 | raymond.hettinger | 2009-04-27 23:12:54 +0200 (Mo, 27 Apr 2009) | 1 line

  Add example to the seealso section.
........
  r72221 | benjamin.peterson | 2009-05-02 22:26:53 +0200 (Sa, 02 Mai 2009) | 1 line

  add myself
........
  r72418 | r.david.murray | 2009-05-07 03:39:25 +0200 (Do, 07 Mai 2009) | 3 lines

  Document how to pass a 'decode' argument to get_payload when
  is_multipart is False.
........
  r72419 | r.david.murray | 2009-05-07 03:43:57 +0200 (Do, 07 Mai 2009) | 2 lines

  Revert inappropriate doc change.
........
2009-10-27 14:10:28 +00:00
Barry Warsaw 39f6a74dc5 bump version number 2009-10-27 14:08:18 +00:00
Georg Brandl 3ed69c2a38 Blocked revisions 70598,70605,70616,70668-70669,70671,70771-70772,70837,70878,70918,70939,70986,71031-71032,71036,71070,71075 via svnmerge
........
  r70598 | benjamin.peterson | 2009-03-25 22:24:04 +0100 (Mi, 25 Mär 2009) | 1 line

  add shorthands for expected failures and unexpected success
........
  r70605 | benjamin.peterson | 2009-03-26 17:32:23 +0100 (Do, 26 Mär 2009) | 1 line

  remove uneeded function
........
  r70616 | benjamin.peterson | 2009-03-26 21:05:50 +0100 (Do, 26 Mär 2009) | 1 line

  rename TestCase.skip() to skipTest() because it causes annoying problems with trial #5571
........
  r70668 | benjamin.peterson | 2009-03-29 05:16:57 +0200 (So, 29 Mär 2009) | 1 line

  a more realistic example
........
  r70669 | benjamin.peterson | 2009-03-29 05:31:40 +0200 (So, 29 Mär 2009) | 1 line

  stop the versionchanged directive from hiding the docs
........
  r70671 | benjamin.peterson | 2009-03-29 05:39:58 +0200 (So, 29 Mär 2009) | 1 line

  fix consistency
........
  r70771 | andrew.kuchling | 2009-03-31 00:31:11 +0200 (Di, 31 Mär 2009) | 1 line

  Many edits
........
  r70772 | barry.warsaw | 2009-03-31 00:42:17 +0200 (Di, 31 Mär 2009) | 5 lines

  A fix for issue 1974, inspired by the patch from Andi Albrecht (aalbrecht),
  though with some changes by me.  This patch should not be back ported or
  forward ported.  It's a bit too risky for 2.6 and 3.x does things fairly
  differently.
........
  r70837 | gregory.p.smith | 2009-03-31 18:54:10 +0200 (Di, 31 Mär 2009) | 9 lines

  The unittest.TestCase.assertEqual() now displays the differences in lists,
  tuples, dicts and sets on failure.

  Many new handy type and comparison specific assert* methods have been added
  that fail with error messages actually useful for debugging.  Contributed in
  by Google and completed with help from mfoord and GvR at PyCon 2009 sprints.

  Discussion lives in http://bugs.python.org/issue2578.
........
  r70878 | gregory.p.smith | 2009-03-31 21:59:14 +0200 (Di, 31 Mär 2009) | 3 lines

  Issue an actual PendingDeprecationWarning for the TestCase.fail* methods.
  Document the deprecation.
........
  r70918 | raymond.hettinger | 2009-04-01 00:43:03 +0200 (Mi, 01 Apr 2009) | 1 line

  Improve examples for collections.deque()
........
  r70939 | jesse.noller | 2009-04-01 05:45:50 +0200 (Mi, 01 Apr 2009) | 1 line

  Fix multiprocessing.event to match the new threading.Event API
........
  r70986 | raymond.hettinger | 2009-04-01 22:50:58 +0200 (Mi, 01 Apr 2009) | 1 line

  Add link to an alternative generator with a long-period.
........
  r71031 | brett.cannon | 2009-04-02 05:17:39 +0200 (Do, 02 Apr 2009) | 6 lines

  PyImport_AppendInittab() took a char * as a first argument even though that
  string was stored beyond the life of the call. Changed the signature to be
  const char * to help make this point.

  Closes issue #1419652.
........
  r71032 | michael.foord | 2009-04-02 05:20:38 +0200 (Do, 02 Apr 2009) | 13 lines

  Better exception messages for unittest assert methods.

  - unittest.assertNotEqual() now uses the inequality operator (!=) instead
    of the equality operator.

  - Default assertTrue and assertFalse messages are now useful.

  - TestCase has a longMessage attribute. This defaults to False, but if set to True
    useful error messages are shown in addition to explicit messages passed to assert methods.

  Issue #5663
........
  r71036 | jesse.noller | 2009-04-02 06:22:09 +0200 (Do, 02 Apr 2009) | 1 line

  Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES
........
  r71070 | antoine.pitrou | 2009-04-02 23:18:34 +0200 (Do, 02 Apr 2009) | 3 lines

  Issue #2396: backport the memoryview object.
........
  r71075 | raymond.hettinger | 2009-04-03 00:34:17 +0200 (Fr, 03 Apr 2009) | 1 line

  Update docs for namedtuple's renaming change.
........
2009-10-27 14:04:39 +00:00
Georg Brandl 785595448b Merged revisions 70590,70650,70704,70768-70769,70776,71008,71010-71011 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70590 | skip.montanaro | 2009-03-25 01:52:11 +0100 (Mi, 25 Mär 2009) | 1 line

  clarify the type of data returned
........
  r70650 | benjamin.peterson | 2009-03-28 20:16:10 +0100 (Sa, 28 Mär 2009) | 1 line

  give os.symlink and os.link() better parameter names #5564
........
  r70704 | benjamin.peterson | 2009-03-30 04:49:32 +0200 (Mo, 30 Mär 2009) | 1 line

  there's actually three methods here #5600
........
  r70768 | andrew.kuchling | 2009-03-31 00:29:15 +0200 (Di, 31 Mär 2009) | 1 line

  Typo fixes
........
  r70769 | andrew.kuchling | 2009-03-31 00:29:53 +0200 (Di, 31 Mär 2009) | 1 line

  Remove comment
........
  r70776 | andrew.kuchling | 2009-03-31 01:08:24 +0200 (Di, 31 Mär 2009) | 1 line

  typo fix
........
  r71008 | andrew.kuchling | 2009-04-02 02:02:14 +0200 (Do, 02 Apr 2009) | 1 line

  Typo fix
........
  r71010 | benjamin.peterson | 2009-04-02 02:11:52 +0200 (Do, 02 Apr 2009) | 1 line

  fix markup
........
  r71011 | benjamin.peterson | 2009-04-02 02:12:47 +0200 (Do, 02 Apr 2009) | 1 line

  this should be :noindex:
........
2009-10-27 14:03:07 +00:00
Georg Brandl ed1fd1d0e8 Blocked revisions 70145,70261,70267,70271,70281,70286,70295,70298,70300,70305,70319,70471,70473,70485,70546,70555,70558,70561-70564,70568-70571,70574,70578,70588-70589 via svnmerge
........
  r70145 | benjamin.peterson | 2009-03-03 23:51:57 +0100 (Di, 03 Mär 2009) | 1 line

  making the writing more formal
........
  r70261 | raymond.hettinger | 2009-03-09 12:31:39 +0100 (Mo, 09 Mär 2009) | 1 line

  Issue 5443: Fix typo.
........
  r70267 | raymond.hettinger | 2009-03-09 12:57:29 +0100 (Mo, 09 Mär 2009) | 1 line

  Add consume() recipe to itertools docs.
........
  r70271 | raymond.hettinger | 2009-03-09 13:56:23 +0100 (Mo, 09 Mär 2009) | 1 line

  Add cross-reference to the collections docs.
........
  r70281 | benjamin.peterson | 2009-03-09 21:38:56 +0100 (Mo, 09 Mär 2009) | 1 line

  gzip and bz2 are context managers
........
  r70286 | raymond.hettinger | 2009-03-10 01:06:05 +0100 (Di, 10 Mär 2009) | 1 line

  Fix markup.
........
  r70295 | raymond.hettinger | 2009-03-10 09:16:05 +0100 (Di, 10 Mär 2009) | 1 line

  Update the decimal FAQ for the from_float() classmethod and improve the recipe for remove_exponent() to make it cut and pasteable.
........
  r70298 | raymond.hettinger | 2009-03-10 13:50:59 +0100 (Di, 10 Mär 2009) | 1 line

  For collections.deque() objects, expose the maxlen parameter as a read-only attribute.
........
  r70300 | raymond.hettinger | 2009-03-10 14:04:30 +0100 (Di, 10 Mär 2009) | 1 line

  Fix typo.
........
  r70305 | brett.cannon | 2009-03-11 05:51:06 +0100 (Mi, 11 Mär 2009) | 5 lines

  Require implementations for warnings.showwarning() support the 'line' argument.
  Was a DeprecationWarning for not supporting it since Python 2.6.

  Closes issue #3652.
........
  r70319 | raymond.hettinger | 2009-03-12 01:31:58 +0100 (Do, 12 Mär 2009) | 1 line

  Issue 5477: Fix buglet in the itertools documentation.
........
  r70471 | raymond.hettinger | 2009-03-19 20:19:03 +0100 (Do, 19 Mär 2009) | 3 lines

  Issue 5381:  Add object_pairs_hook to the json module.
........
  r70473 | raymond.hettinger | 2009-03-19 20:59:58 +0100 (Do, 19 Mär 2009) | 6 lines

  * Add clearer comment to initialization code.
  * Add optional argument to popitem() -- modeled
    after Anthon van der Neut's C version.
  * Fix method markup in docs.
........
  r70485 | raymond.hettinger | 2009-03-20 19:25:49 +0100 (Fr, 20 Mär 2009) | 1 line

  Add MutableSet example.
........
  r70546 | antoine.pitrou | 2009-03-23 19:41:45 +0100 (Mo, 23 Mär 2009) | 9 lines

  Issue #4688: Add a heuristic so that tuples and dicts containing only
  untrackable objects are not tracked by the garbage collector. This can
  reduce the size of collections and therefore the garbage collection overhead
  on long-running programs, depending on their particular use of datatypes.

  (trivia: this makes the "binary_trees" benchmark from the Computer Language
  Shootout 40% faster)
........
  r70555 | benjamin.peterson | 2009-03-23 22:50:21 +0100 (Mo, 23 Mär 2009) | 4 lines

  implement test skipping and expected failures

  patch by myself #1034053
........
  r70558 | benjamin.peterson | 2009-03-23 23:29:45 +0100 (Mo, 23 Mär 2009) | 4 lines

  comply with the evilJavaNamingScheme for attribute names

  It seems my love of PEP 8 overrode the need for consistentcy
........
  r70561 | benjamin.peterson | 2009-03-24 00:10:14 +0100 (Di, 24 Mär 2009) | 1 line

  refactor unittest docs
........
  r70562 | benjamin.peterson | 2009-03-24 00:13:36 +0100 (Di, 24 Mär 2009) | 1 line

  forgot to document that setUp can be skipped (silly me...)
........
  r70563 | benjamin.peterson | 2009-03-24 00:19:03 +0100 (Di, 24 Mär 2009) | 1 line

  update from CVS
........
  r70564 | raymond.hettinger | 2009-03-24 01:17:11 +0100 (Di, 24 Mär 2009) | 1 line

  Add links to related resources.
........
  r70568 | benjamin.peterson | 2009-03-24 01:35:20 +0100 (Di, 24 Mär 2009) | 1 line

  some cleanup and modernization
........
  r70569 | benjamin.peterson | 2009-03-24 01:36:16 +0100 (Di, 24 Mär 2009) | 1 line

  remove special metadata
........
  r70570 | benjamin.peterson | 2009-03-24 01:37:12 +0100 (Di, 24 Mär 2009) | 1 line

  update docstring
........
  r70571 | benjamin.peterson | 2009-03-24 01:39:24 +0100 (Di, 24 Mär 2009) | 1 line

  add new skipping things to __all__
........
  r70574 | benjamin.peterson | 2009-03-24 02:11:37 +0100 (Di, 24 Mär 2009) | 1 line

  fix typo
........
  r70578 | benjamin.peterson | 2009-03-24 04:24:56 +0100 (Di, 24 Mär 2009) | 1 line

  this is better written using assertRaises
........
  r70588 | benjamin.peterson | 2009-03-24 23:56:32 +0100 (Di, 24 Mär 2009) | 1 line

  fix newline issue in test summary
........
  r70589 | benjamin.peterson | 2009-03-25 00:07:07 +0100 (Mi, 25 Mär 2009) | 1 line

  another style nit
........
2009-10-27 13:57:34 +00:00
Georg Brandl 51b72162b6 Merged revisions 70171,70183,70290,70292,70315,70438,70464 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70171 | facundo.batista | 2009-03-04 22:18:17 +0100 (Mi, 04 Mär 2009) | 3 lines

  Fixed a typo.
........
  r70183 | benjamin.peterson | 2009-03-05 01:17:57 +0100 (Do, 05 Mär 2009) | 1 line

  add example
........
  r70290 | raymond.hettinger | 2009-03-10 02:07:30 +0100 (Di, 10 Mär 2009) | 1 line

  Update url for the spec.
........
  r70292 | raymond.hettinger | 2009-03-10 05:40:24 +0100 (Di, 10 Mär 2009) | 1 line

  Clarify the meaning of normal and subnormal.
........
  r70315 | raymond.hettinger | 2009-03-12 01:25:03 +0100 (Do, 12 Mär 2009) | 1 line

  Add reference to solution for a commonly asked question.
........
  r70438 | benjamin.peterson | 2009-03-17 21:29:51 +0100 (Di, 17 Mär 2009) | 1 line

  I thought this was begging for an example
........
  r70464 | benjamin.peterson | 2009-03-18 21:58:09 +0100 (Mi, 18 Mär 2009) | 1 line

  a much better example
........
2009-10-27 13:54:57 +00:00
Georg Brandl 2e8c94c61e Blocked revisions 69908,69952-69953,69955,69959,69981,69983,70071,70081,70090,70120-70123,70126,70131-70132 via svnmerge
........
  r69908 | raymond.hettinger | 2009-02-23 20:32:55 +0100 (Mo, 23 Feb 2009) | 1 line

  Update itertools recipes to use next().
........
  r69952 | raymond.hettinger | 2009-02-25 01:37:57 +0100 (Mi, 25 Feb 2009) | 1 line

  Sync-up py3.1 doc updates for super().
........
  r69953 | raymond.hettinger | 2009-02-25 01:39:47 +0100 (Mi, 25 Feb 2009) | 1 line

  Restore Py2.x version of sample call to super().
........
  r69955 | raymond.hettinger | 2009-02-25 01:52:37 +0100 (Mi, 25 Feb 2009) | 1 line

  More markup and spelling fixes.
........
  r69959 | raymond.hettinger | 2009-02-25 02:06:52 +0100 (Mi, 25 Feb 2009) | 1 line

  Remove reference to zero argument form of super() in 2.x docs.
........
  r69981 | raymond.hettinger | 2009-02-25 23:48:24 +0100 (Mi, 25 Feb 2009) | 1 line

  Clarify Counter() docs.
........
  r69983 | raymond.hettinger | 2009-02-26 01:05:24 +0100 (Do, 26 Feb 2009) | 1 line

  Fix typo.
........
  r70071 | jeffrey.yasskin | 2009-02-28 20:03:21 +0100 (Sa, 28 Feb 2009) | 5 lines

  Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with
  POP_JUMP_IF_{TRUE,FALSE} and JUMP_IF_{TRUE,FALSE}_OR_POP. This avoids executing
  a POP_TOP on each conditional and sometimes allows the peephole optimizer to
  skip a JUMP_ABSOLUTE entirely. It speeds up list comprehensions significantly.
........
  r70081 | raymond.hettinger | 2009-03-01 03:04:32 +0100 (So, 01 Mär 2009) | 1 line

  Fix docs for ConfigParser.
........
  r70090 | gregory.p.smith | 2009-03-02 06:13:57 +0100 (Mo, 02 Mär 2009) | 3 lines

  Adds an optional flags argument to re.split, re.sub and re.subn to be
  consistent with the other re module functions.
........
  r70120 | raymond.hettinger | 2009-03-03 05:45:34 +0100 (Di, 03 Mär 2009) | 1 line

  Backport PEP 372: OrderedDict()
........
  r70121 | raymond.hettinger | 2009-03-03 05:51:24 +0100 (Di, 03 Mär 2009) | 3 lines

  Backport 70106: Add OrderedDict support to collections.namedtuple().
........
  r70122 | raymond.hettinger | 2009-03-03 06:00:37 +0100 (Di, 03 Mär 2009) | 3 lines

  Backport 70111: Let configparser use ordered dicts by default.
........
  r70123 | raymond.hettinger | 2009-03-03 06:11:56 +0100 (Di, 03 Mär 2009) | 1 line

  Fix markup.
........
  r70126 | raymond.hettinger | 2009-03-03 08:12:09 +0100 (Di, 03 Mär 2009) | 1 line

  Beef-up tests.
........
  r70131 | raymond.hettinger | 2009-03-03 21:53:51 +0100 (Di, 03 Mär 2009) | 1 line

  Make the underlying data structure more private.
........
  r70132 | raymond.hettinger | 2009-03-03 22:13:51 +0100 (Di, 03 Mär 2009) | 1 line

  Minor simplification.
........
2009-10-27 13:45:32 +00:00
Georg Brandl d3717c50d3 Merged revisions 69987,70002,70061 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69987 | benjamin.peterson | 2009-02-26 01:30:11 +0100 (Do, 26 Feb 2009) | 1 line

  fix str.format()'s first arg #5371
........
  r70002 | andrew.kuchling | 2009-02-26 23:34:30 +0100 (Do, 26 Feb 2009) | 1 line

  The curses panel library is now supported
........
  r70061 | hirokazu.yamamoto | 2009-02-28 16:24:00 +0100 (Sa, 28 Feb 2009) | 1 line

  Binary flag is needed on windows.
........
2009-10-27 13:44:06 +00:00
Georg Brandl bbdbea70e1 Blocked revisions 69522,69604,69709,69715,69739,69757,69761,69765,69777,69795 via svnmerge
........
  r69522 | raymond.hettinger | 2009-02-12 06:39:46 +0100 (Do, 12 Feb 2009) | 3 lines

  Issue 5032:  added a step argument to itertools.count() and allowed non-integer arguments.
........
  r69604 | raymond.hettinger | 2009-02-14 01:25:51 +0100 (Sa, 14 Feb 2009) | 1 line

  Add keyword argument support to itertools.count().
........
  r69709 | raymond.hettinger | 2009-02-17 09:33:01 +0100 (Di, 17 Feb 2009) | 1 line

  Fix-up intro paragraph for collections docs.
........
  r69715 | raymond.hettinger | 2009-02-17 12:00:27 +0100 (Di, 17 Feb 2009) | 1 line

  Fixup intro paragraphs for the itertools docs.  Add some tables for quick reference.
........
  r69739 | raymond.hettinger | 2009-02-18 21:54:53 +0100 (Mi, 18 Feb 2009) | 1 line

  Generalize the itertools.tee() recipe.
........
  r69757 | raymond.hettinger | 2009-02-19 06:34:35 +0100 (Do, 19 Feb 2009) | 1 line

  Add some cross-references to the docs.  Simplify the python code equivalent for izip().  Supply an optional argument for the nth() recipe.
........
  r69761 | raymond.hettinger | 2009-02-19 06:51:41 +0100 (Do, 19 Feb 2009) | 1 line

  Add an example for math.fsum() and elaborate on the accurary note.
........
  r69765 | raymond.hettinger | 2009-02-19 07:55:03 +0100 (Do, 19 Feb 2009) | 1 line

  Add links to helpful external resources.
........
  r69777 | jeroen.ruigrok | 2009-02-19 19:52:21 +0100 (Do, 19 Feb 2009) | 3 lines

  Since we recommend one module per import line, reflect this also in the
  documentation.
........
  r69795 | benjamin.peterson | 2009-02-20 04:31:23 +0100 (Fr, 20 Feb 2009) | 1 line

  revert r69777 since all the experts agree that extra import lines distract from the code
........
2009-10-27 13:39:59 +00:00
Georg Brandl 58ed928c95 Merged revisions 69520,69633,69672,69703-69704,69717,69731 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69520 | benjamin.peterson | 2009-02-12 04:50:00 +0100 (Do, 12 Feb 2009) | 1 line

  os.fsync() should be used to ensure that data is written to disk
........
  r69633 | hirokazu.yamamoto | 2009-02-15 10:19:48 +0100 (So, 15 Feb 2009) | 1 line

  Fixed typo.
........
  r69672 | benjamin.peterson | 2009-02-16 15:54:34 +0100 (Mo, 16 Feb 2009) | 1 line

  note functions that are not aliased to PyBytes_ #5280
........
  r69703 | raymond.hettinger | 2009-02-16 23:42:54 +0100 (Mo, 16 Feb 2009) | 3 lines

  Issue 5229: Documentation for super() neglects to say what super() actually does
........
  r69704 | raymond.hettinger | 2009-02-17 00:00:25 +0100 (Di, 17 Feb 2009) | 1 line

  Add explanation for super(type1, type2).
........
  r69717 | marc-andre.lemburg | 2009-02-17 13:48:19 +0100 (Di, 17 Feb 2009) | 5 lines

  Clarify the deprecation of platform.dist().

  Add versionadded tags.
........
  r69731 | gregory.p.smith | 2009-02-18 06:46:11 +0100 (Mi, 18 Feb 2009) | 3 lines

  Clarify socket timeout behavior vs system network stack behavior on connect
  for issue5293.
........
2009-10-27 13:38:33 +00:00
Georg Brandl 199a860594 Recorded merge of revisions 69509 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69509 | raymond.hettinger | 2009-02-11 01:06:17 +0100 (Mi, 11 Feb 2009) | 1 line

  Clean-up named tuple docs.
........
2009-10-27 13:32:21 +00:00
Georg Brandl b74cb3824a Blocked revisions 69480 via svnmerge
........
  r69480 | raymond.hettinger | 2009-02-10 02:24:05 +0100 (Di, 10 Feb 2009) | 1 line

  Issue 1818: collections.namedtuple() to support automatic renaming of invalid fieldnames.
........
2009-10-27 13:31:50 +00:00