Commit Graph

39896 Commits

Author SHA1 Message Date
Mark Dickinson d08fb83777 Merged revisions 75287 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r75287 | mark.dickinson | 2009-10-08 17:30:38 +0100 (Thu, 08 Oct 2009) | 9 lines

  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-08 16:33:06 +00:00
Mark Dickinson 015fa03058 Merged revisions 75284 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r75284 | mark.dickinson | 2009-10-08 16:59:20 +0100 (Thu, 08 Oct 2009) | 11 lines

  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-08 16:02:50 +00:00
R. David Murray 6bf5a2e85b Merged revisions 75279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75279 | r.david.murray | 2009-10-07 19:38:55 -0400 (Wed, 07 Oct 2009) | 10 lines

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

  ........
    r75255 | r.david.murray | 2009-10-05 13:03:09 -0400 (Mon, 05 Oct 2009) | 3 lines

    Issue #7058: Added save/restore for argv and os.environ to runtest_inner
    in regrtest, with warnings if the called test modifies them.
  ........
................
2009-10-07 23:54:53 +00:00
Mark Dickinson b090761ec0 Merged revisions 75276 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r75276 | mark.dickinson | 2009-10-07 20:23:50 +0100 (Wed, 07 Oct 2009) | 12 lines

  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-07 19:24:43 +00:00
Benjamin Peterson bf0770dd82 Merged revisions 75248 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75248 | benjamin.peterson | 2009-10-04 15:40:17 -0500 (Sun, 04 Oct 2009) | 11 lines

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

  ........
    r75066 | andrew.kuchling | 2009-09-25 17:23:54 -0500 (Fri, 25 Sep 2009) | 4 lines

    #6243: fix segfault when keyname() returns a NULL pointer.

    Bug noted by Trundle, patched by Trundle and Jerry Chen.
  ........
................
2009-10-04 20:41:56 +00:00
Benjamin Peterson 5183856c17 Merged revisions 75246 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75246 | benjamin.peterson | 2009-10-04 15:32:25 -0500 (Sun, 04 Oct 2009) | 29 lines

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

  ........
    r74841 | thomas.wouters | 2009-09-16 14:55:54 -0500 (Wed, 16 Sep 2009) | 23 lines


    Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
    acquiring the import lock around fork() calls. This prevents other threads
    from having that lock while the fork happens, and is the recommended way of
    dealing with such issues. There are two other locks we care about, the GIL
    and the Thread Local Storage lock. The GIL is obviously held when calling
    Python functions like os.fork(), and the TLS lock is explicitly reallocated
    instead, while also deleting now-orphaned TLS data.

    This only fixes calls to os.fork(), not extension modules or embedding
    programs calling C's fork() directly. Solving that requires a new set of API
    functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
    warning explaining the problem to the documentation in the mean time.

    This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
    getting the import lock reallocated, seemingly to avoid this very same
    problem. This is not the right approach, because the import lock is a
    re-entrant one, and reallocating would do the wrong thing when forking while
    holding the import lock.

    Will backport to 2.6, minus the tiny AIX behaviour change.
  ........
................
2009-10-04 20:35:30 +00:00
Mark Dickinson 9507887544 Merged revisions 75238 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r75238 | mark.dickinson | 2009-10-04 19:43:54 +0100 (Sun, 04 Oct 2009) | 11 lines

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

  ........
    r75236 | mark.dickinson | 2009-10-04 19:38:39 +0100 (Sun, 04 Oct 2009) | 4 lines

    Issue #7042:  Fix test_signal failure on OS X 10.6 64-bit builds
    (and also, with luck, on the x86 FreeBSD buildbot), by making sure
    that some user time is used in test_itimer_virtual.
  ........
................
2009-10-04 18:47:48 +00:00
Benjamin Peterson 0a13a28049 Merged revisions 75233 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r75233 | benjamin.peterson | 2009-10-04 10:07:16 -0500 (Sun, 04 Oct 2009) | 1 line

  remove 8-bit string sentence
........
2009-10-04 15:08:41 +00:00
Benjamin Peterson f3d7dbe72e Merged revisions 75231 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75231 | benjamin.peterson | 2009-10-04 09:49:41 -0500 (Sun, 04 Oct 2009) | 166 lines

  Merged revisions 74779-74786,74793,74795,74811,74860-74861,74863,74876,74886,74896,74901,74903,74908,74912,74930,74933,74943,74946,74952-74955,75015,75019,75032,75068,75076,75095,75098,75102,75129,75139,75230 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74779 | michael.foord | 2009-09-13 11:13:36 -0500 (Sun, 13 Sep 2009) | 1 line

    Change to tutorial wording for reading text / binary files on Windows. Issue #6301.
  ........
    r74780 | michael.foord | 2009-09-13 11:40:02 -0500 (Sun, 13 Sep 2009) | 1 line

    Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567.
  ........
    r74781 | michael.foord | 2009-09-13 11:46:19 -0500 (Sun, 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 12:07:46 -0500 (Sun, 13 Sep 2009) | 1 line

    Tutorial tweaks. Issue 6849.
  ........
    r74783 | michael.foord | 2009-09-13 12:28:35 -0500 (Sun, 13 Sep 2009) | 1 line

    unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866.
  ........
    r74784 | georg.brandl | 2009-09-13 13:15:07 -0500 (Sun, 13 Sep 2009) | 1 line

    Typo fix.
  ........
    r74785 | michael.foord | 2009-09-13 14:07:03 -0500 (Sun, 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 14:08:18 -0500 (Sun, 13 Sep 2009) | 1 line

    Remove an extraneous space in unittest documentation.
  ........
    r74793 | georg.brandl | 2009-09-14 09:50:47 -0500 (Mon, 14 Sep 2009) | 1 line

    #6908: fix association of hashlib hash attributes.
  ........
    r74795 | benjamin.peterson | 2009-09-14 22:36:26 -0500 (Mon, 14 Sep 2009) | 1 line

    Py_SetPythonHome uses static storage #6913
  ........
    r74811 | georg.brandl | 2009-09-15 15:26:59 -0500 (Tue, 15 Sep 2009) | 1 line

    Add Armin Ronacher.
  ........
    r74860 | benjamin.peterson | 2009-09-16 21:46:54 -0500 (Wed, 16 Sep 2009) | 1 line

    kill bare except
  ........
    r74861 | benjamin.peterson | 2009-09-16 22:18:28 -0500 (Wed, 16 Sep 2009) | 1 line

    pep 8 defaults
  ........
    r74863 | benjamin.peterson | 2009-09-16 22:27:33 -0500 (Wed, 16 Sep 2009) | 1 line

    rationalize a bit
  ........
    r74876 | georg.brandl | 2009-09-17 11:15:53 -0500 (Thu, 17 Sep 2009) | 1 line

    #6932: remove paragraph that advises relying on __del__ being called.
  ........
    r74886 | benjamin.peterson | 2009-09-17 16:33:46 -0500 (Thu, 17 Sep 2009) | 1 line

    use macros
  ........
    r74896 | georg.brandl | 2009-09-18 02:22:41 -0500 (Fri, 18 Sep 2009) | 1 line

    #6936: for interactive use, quit() is just fine.
  ........
    r74901 | georg.brandl | 2009-09-18 04:14:52 -0500 (Fri, 18 Sep 2009) | 1 line

    #6905: use better exception messages in inspect when the argument is of the wrong type.
  ........
    r74903 | georg.brandl | 2009-09-18 04:18:27 -0500 (Fri, 18 Sep 2009) | 1 line

    #6938: "ident" is always a string, so use a format code which works.
  ........
    r74908 | georg.brandl | 2009-09-18 08:57:11 -0500 (Fri, 18 Sep 2009) | 1 line

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

    Optimize optimization and fix method name in docstring.
  ........
    r74930 | georg.brandl | 2009-09-18 16:21:41 -0500 (Fri, 18 Sep 2009) | 1 line

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

    #6930: clarify description about byteorder handling in UTF decoder routines.
  ........
    r74943 | georg.brandl | 2009-09-19 02:35:07 -0500 (Sat, 19 Sep 2009) | 1 line

    #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a SystemError is set.  Also clean up another usage of PyArg_ParseTuple.
  ........
    r74946 | georg.brandl | 2009-09-19 03:43:16 -0500 (Sat, 19 Sep 2009) | 1 line

    Update bug tracker reference.
  ........
    r74952 | georg.brandl | 2009-09-19 05:42:34 -0500 (Sat, 19 Sep 2009) | 1 line

    #6946: fix duplicate index entries for datetime classes.
  ........
    r74953 | georg.brandl | 2009-09-19 07:04:16 -0500 (Sat, 19 Sep 2009) | 1 line

    Fix references to threading.enumerate().
  ........
    r74954 | georg.brandl | 2009-09-19 08:13:56 -0500 (Sat, 19 Sep 2009) | 1 line

    Add Doug.
  ........
    r74955 | georg.brandl | 2009-09-19 08:20:49 -0500 (Sat, 19 Sep 2009) | 1 line

    Add Mark Summerfield.
  ........
    r75015 | georg.brandl | 2009-09-22 05:55:08 -0500 (Tue, 22 Sep 2009) | 1 line

    Fix encoding name.
  ........
    r75019 | vinay.sajip | 2009-09-22 12:23:41 -0500 (Tue, 22 Sep 2009) | 1 line

    Fixed a typo, and added sections on optimization and using arbitrary objects as messages.
  ........
    r75032 | benjamin.peterson | 2009-09-22 17:15:28 -0500 (Tue, 22 Sep 2009) | 1 line

    fix typos/rephrase
  ........
    r75068 | benjamin.peterson | 2009-09-25 21:57:59 -0500 (Fri, 25 Sep 2009) | 1 line

    comment out ugly xxx
  ........
    r75076 | vinay.sajip | 2009-09-26 09:53:32 -0500 (Sat, 26 Sep 2009) | 1 line

    Tidied up name of parameter in StreamHandler
  ........
    r75095 | michael.foord | 2009-09-27 14:15:41 -0500 (Sun, 27 Sep 2009) | 1 line

    Test creation moved from TestProgram.parseArgs to TestProgram.createTests exclusively. Issue 6956.
  ........
    r75098 | michael.foord | 2009-09-27 15:08:23 -0500 (Sun, 27 Sep 2009) | 1 line

    Documentation improvement for load_tests protocol in unittest. Issue 6515.
  ........
    r75102 | skip.montanaro | 2009-09-27 21:12:27 -0500 (Sun, 27 Sep 2009) | 3 lines

    Patch from Thomas Barr so that csv.Sniffer will set doublequote property.
    Closes issue 6606.
  ........
    r75129 | vinay.sajip | 2009-09-29 02:08:54 -0500 (Tue, 29 Sep 2009) | 1 line

    Issue #7014: logging: Improved IronPython 2.6 compatibility.
  ........
    r75139 | raymond.hettinger | 2009-09-29 13:53:24 -0500 (Tue, 29 Sep 2009) | 3 lines

    Issue 7008: Better document str.title and show how to work around the apostrophe problem.
  ........
    r75230 | benjamin.peterson | 2009-10-04 08:38:38 -0500 (Sun, 04 Oct 2009) | 1 line

    test logging
  ........
................
2009-10-04 14:54:52 +00:00
Benjamin Peterson 4fac706833 Merged revisions 75224 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75224 | benjamin.peterson | 2009-10-03 15:27:13 -0500 (Sat, 03 Oct 2009) | 9 lines

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

  ........
    r75223 | benjamin.peterson | 2009-10-03 15:23:24 -0500 (Sat, 03 Oct 2009) | 1 line

    #7050 fix a SystemError when using tuple unpacking and augmented assignment
  ........
................
2009-10-03 20:28:47 +00:00
Mark Dickinson 01c549642a Merged revisions 75220 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r75220 | mark.dickinson | 2009-10-03 21:13:37 +0100 (Sat, 03 Oct 2009) | 1 line

  Use size_t instead of int for a PyMem_MALLOC argument;  silences a gcc 'comparison always false' warning.
........
2009-10-03 20:15:21 +00:00
R. David Murray 3eaed9c49f Merged revisions 75067 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r75067 | r.david.murray | 2009-09-25 22:42:26 -0400 (Fri, 25 Sep 2009) | 4 lines

  Andrew just committed a patch for curses, so since he's been the
  maintainer he's on the hook for it in maintainers unless he says
  otherwise.
........
2009-10-03 18:46:49 +00:00
R. David Murray 8842b53743 Merged revisions 75133 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75133 | r.david.murray | 2009-09-29 10:01:08 -0400 (Tue, 29 Sep 2009) | 12 lines

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

  ........
    r75111 | r.david.murray | 2009-09-28 12:57:45 -0400 (Mon, 28 Sep 2009) | 5 lines

    Prevent test_bad_address failure when a domain in the dns search
    path implements a '*' default rule.  Also update comment with
    a more complete explanation of the difficulties inherent in
    the test.
  ........
................
2009-10-03 18:22:21 +00:00
Benjamin Peterson 99089c30f8 Merged revisions 75212,75214 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r75212 | benjamin.peterson | 2009-10-03 10:06:21 -0500 (Sat, 03 Oct 2009) | 1 line

  revert r75090
........
  r75214 | benjamin.peterson | 2009-10-03 10:13:15 -0500 (Sat, 03 Oct 2009) | 1 line

  isinstance(f, collections.Callable) is more correct
........
2009-10-03 15:14:28 +00:00
Mark Dickinson 149953afb8 Merged revisions 75207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75207 | mark.dickinson | 2009-10-03 11:18:40 +0100 (Sat, 03 Oct 2009) | 9 lines

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

  ........
    r75205 | mark.dickinson | 2009-10-03 11:14:34 +0100 (Sat, 03 Oct 2009) | 2 lines

    Issue #7028:  Add note to hex() builtin docs pointing to float.hex().
  ........
................
2009-10-03 10:19:21 +00:00
Tarek Ziadé 305bfd3fd1 Blocked revisions 75194 via svnmerge
................
  r75194 | tarek.ziade | 2009-10-03 01:56:02 +0200 (Sat, 03 Oct 2009) | 9 lines

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

  ........
    r75192 | tarek.ziade | 2009-10-03 01:49:48 +0200 (Sat, 03 Oct 2009) | 1 line

    #6516 added owner/group support for tarfiles in Distutils
  ........
................
2009-10-02 23:57:59 +00:00
Mark Dickinson e8af5fff3a And one more versionadded fix in release31-maint. 2009-10-01 20:22:45 +00:00
Mark Dickinson 448ce5b022 Blocked revisions 75177 via svnmerge
........
  r75177 | mark.dickinson | 2009-10-01 21:20:09 +0100 (Thu, 01 Oct 2009) | 1 line

  More versionadded/versionchanged fixes
........
2009-10-01 20:20:59 +00:00
Mark Dickinson 8522965b8a Merged revisions 75174 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

........
  r75174 | mark.dickinson | 2009-10-01 21:11:11 +0100 (Thu, 01 Oct 2009) | 1 line

  Remove outdated versionchanged entry
........
2009-10-01 20:12:11 +00:00
Mark Dickinson c7d48862ef Blocked revisions 75167 via svnmerge
........
  r75167 | mark.dickinson | 2009-10-01 17:13:29 +0100 (Thu, 01 Oct 2009) | 1 line

  Fix versionadded for py3k math.gamma
........
2009-10-01 17:01:25 +00:00
Antoine Pitrou bd2a68d983 Merged revisions 75168 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r75168 | antoine.pitrou | 2009-10-01 18:24:45 +0200 (jeu., 01 oct. 2009) | 3 lines

  Issue #7022: clarification of RawIOBase.read(), suggested by Pascal Chambon.
........
2009-10-01 16:27:13 +00:00
Benjamin Peterson 00f858516b update opensearch 2009-10-01 00:10:50 +00:00
Mark Dickinson 5a8e1fcd97 Blocked revisions 75158 via svnmerge
................
  r75158 | mark.dickinson | 2009-09-30 18:47:54 +0100 (Wed, 30 Sep 2009) | 9 lines

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

  ........
    r75157 | mark.dickinson | 2009-09-30 17:58:01 +0100 (Wed, 30 Sep 2009) | 1 line

    Fix buggy accuracy test
  ........
................
2009-09-30 17:54:52 +00:00
Mark Dickinson 2bbeb0eacd Merged revisions 75145 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r75145 | mark.dickinson | 2009-09-29 20:21:35 +0100 (Tue, 29 Sep 2009) | 10 lines

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

  ........
    r75141 | mark.dickinson | 2009-09-29 20:01:06 +0100 (Tue, 29 Sep 2009) | 3 lines

    Issue #7019:  Unmarshalling of bad long data could produce unnormalized
    PyLongs.  Raise ValueError instead.
  ........
................
2009-09-29 19:24:38 +00:00
Antoine Pitrou 595ad32f59 Merged revisions 75137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75137 | antoine.pitrou | 2009-09-29 20:44:53 +0200 (mar., 29 sept. 2009) | 14 lines

  [NOTE: the original bug doesn't exist in py3k but this adds Kirk's tests and fixes
  another bug in the process]


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

  ........
    r75134 | antoine.pitrou | 2009-09-29 19:48:18 +0200 (mar., 29 sept. 2009) | 4 lines

    Issue #6790: Make it possible again to pass an `array.array` to
    `httplib.HTTPConnection.send`. Patch by Kirk McDonald.
  ........
................
2009-09-29 19:02:24 +00:00
Raymond Hettinger 941071ef79 Issue 7008: Better document str.title and show how to work around the apostrophe problem. 2009-09-29 18:56:36 +00:00
Philip Jenvey 962b05c3a9 Merged revisions 75125 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75125 | philip.jenvey | 2009-09-28 21:57:18 -0700 (Mon, 28 Sep 2009) | 11 lines

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

  ........
    r75123 | philip.jenvey | 2009-09-28 21:32:44 -0700 (Mon, 28 Sep 2009) | 4 lines

    #6990: clear threading.local's key only after its thread state is removed:
    fixes local subclasses leaving old state around after a ref cycle GC which
    could be recycled by new locals
  ........
................
2009-09-29 05:03:48 +00:00
Mark Dickinson 576fbbde56 Blocked revisions 75119 via svnmerge
................
  r75119 | mark.dickinson | 2009-09-28 20:21:11 +0100 (Mon, 28 Sep 2009) | 10 lines

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

  ........
    r75117 | mark.dickinson | 2009-09-28 19:54:55 +0100 (Mon, 28 Sep 2009) | 3 lines

    Issue #3366:  Add gamma function to math module.
    (lgamma, erf and erfc to follow).
  ........
................
2009-09-28 19:23:20 +00:00
Mark Dickinson 04444a8802 Blocked revisions 75113 via svnmerge
................
  r75113 | mark.dickinson | 2009-09-28 18:54:52 +0100 (Mon, 28 Sep 2009) | 16 lines

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

  ........
    r75110 | mark.dickinson | 2009-09-28 17:52:40 +0100 (Mon, 28 Sep 2009) | 9 lines

    Style/consistency/nano-optimization nit:  replace occurrences of
      (high_bits << PyLong_SHIFT) + low_bits with
      (high_bits << PyLong_SHIFT) | low_bits
    in Objects/longobject.c.  Motivation:
     - shouldn't unnecessarily mix bit ops with arithmetic ops (style)
     - this pattern should be spelt the same way thoughout (consistency)
     - it's very very very slightly faster: no need to worry about
       carries to the high digit (nano-optimization).
  ........
................
2009-09-28 17:55:30 +00:00
Benjamin Peterson 47373ded99 Merged revisions 75090 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r75090 | benjamin.peterson | 2009-09-27 11:32:56 -0500 (Sun, 27 Sep 2009) | 1 line

  use more correct callable replacement
........
2009-09-27 16:42:15 +00:00
Ezio Melotti 029625c3f6 Merged revisions 75074 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75074 | ezio.melotti | 2009-09-26 15:33:22 +0300 (Sat, 26 Sep 2009) | 9 lines

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

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

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

........
  r75072 | ezio.melotti | 2009-09-26 15:19:30 +0300 (Sat, 26 Sep 2009) | 1 line

  string.capwords is still around, adding back the tests
........
2009-09-26 12:27:13 +00:00
Ezio Melotti 6e52a5a837 Merged revisions 75064 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r75064 | ezio.melotti | 2009-09-26 00:35:24 +0300 (Sat, 26 Sep 2009) | 1 line

  fix print statement
........
2009-09-25 21:38:29 +00:00
Benjamin Peterson 0e33da095f Merged revisions 75061-75062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r75061 | benjamin.peterson | 2009-09-25 15:34:04 -0500 (Fri, 25 Sep 2009) | 1 line

  fix print statement
........
  r75062 | benjamin.peterson | 2009-09-25 15:56:52 -0500 (Fri, 25 Sep 2009) | 2 lines

  correct the fixpath.py script to work in Python 3 #6999
........
2009-09-25 21:13:17 +00:00
Ezio Melotti ae1b4d2d1a Merged revisions 75059 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

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

  #6998: fix missing () on a print
........
2009-09-25 20:15:31 +00:00
Ezio Melotti a3e61a480f Merged revisions 75057 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75057 | ezio.melotti | 2009-09-25 19:12:33 +0300 (Fri, 25 Sep 2009) | 9 lines

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

  ........
    r75055 | ezio.melotti | 2009-09-25 19:07:55 +0300 (Fri, 25 Sep 2009) | 1 line

    #6994: fix typo in enumerate docstring
  ........
................
2009-09-25 16:14:31 +00:00
Mark Dickinson b0230b7a12 Blocked revisions 75051 via svnmerge
........
  r75051 | mark.dickinson | 2009-09-24 21:04:23 +0100 (Thu, 24 Sep 2009) | 3 lines

  Issue #1766304: The range.__contains__ optimization should only be
  applied to ints, not to instances of subclasses of int.
........
2009-09-24 20:05:02 +00:00
Mark Dickinson e2a6a70a7f Merged revisions 75049 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75049 | mark.dickinson | 2009-09-24 20:24:44 +0100 (Thu, 24 Sep 2009) | 10 lines

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

  ........
    r75047 | mark.dickinson | 2009-09-24 20:21:07 +0100 (Thu, 24 Sep 2009) | 3 lines

    Issue #6982:  Add generated Lib/lib2to3/*.pickle files to 'make clean' target.
    Thanks egreen.
  ........
................
2009-09-24 19:25:39 +00:00
Mark Dickinson bce460441c Blocked revisions 75045 via svnmerge
........
  r75045 | mark.dickinson | 2009-09-24 19:31:17 +0100 (Thu, 24 Sep 2009) | 1 line

  Silence compiler warning
........
2009-09-24 18:32:37 +00:00
Georg Brandl 7725e7fcb6 Merged revisions 74749 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

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

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

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

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

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

    improved phrasing, markup and example
  ........
................
2009-09-23 21:44:27 +00:00
Mark Dickinson 239db95c0c Blocked revisions 75030 via svnmerge
........
  r75030 | mark.dickinson | 2009-09-22 22:52:03 +0100 (Tue, 22 Sep 2009) | 1 line

  Add Robert Lehmann for issue #1766304 patch
........
2009-09-22 21:53:09 +00:00
Mark Dickinson d940e35440 Blocked revisions 75028 via svnmerge
........
  r75028 | mark.dickinson | 2009-09-22 22:47:24 +0100 (Tue, 22 Sep 2009) | 4 lines

  Issue #1766304:  Optimize membership testing for ranges:  'n in range(...)'
  does an O(1) check, if n is an integer.  Non-integers aren't affected.
  Thanks Robert Lehmann.
........
2009-09-22 21:49:35 +00:00
Brett Cannon 60d6b35af9 Merged revisions 75026 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

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

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

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

    Fix a minor doc syntax typo.
  ........
................
2009-09-22 20:12:41 +00:00
Tarek Ziadé 66846897a5 Merged revisions 75013 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75013 | tarek.ziade | 2009-09-22 12:08:13 +0200 (Tue, 22 Sep 2009) | 10 lines

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

  ........
    r74812 | ronald.oussoren | 2009-09-15 23:24:07 +0200 (Tue, 15 Sep 2009) | 3 lines

    Update distutils.util tests after my changes
    to --with-universal-archs
  ........
................
2009-09-22 10:14:51 +00:00
Antoine Pitrou 384c920832 Merged revisions 75009 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75009 | antoine.pitrou | 2009-09-21 23:37:02 +0200 (lun., 21 sept. 2009) | 13 lines

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

  ........
    r75007 | antoine.pitrou | 2009-09-21 23:17:48 +0200 (lun., 21 sept. 2009) | 7 lines

    Issue #6236, #6348: Fix various failures in the io module under AIX
    and other platforms, when using a non-gcc compiler. Patch by egreen.

    In addition, I made explicit the signedness of all bitfields in the
    IO library.
  ........
................
2009-09-21 21:42:29 +00:00
Mark Dickinson 5a7619d26f Blocked revisions 75005 via svnmerge
................
  r75005 | mark.dickinson | 2009-09-21 17:18:27 +0100 (Mon, 21 Sep 2009) | 9 lines

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

  ........
    r75003 | mark.dickinson | 2009-09-21 17:16:44 +0100 (Mon, 21 Sep 2009) | 1 line

    Silence MSVC compiler warnings.
  ........
................
2009-09-21 16:19:23 +00:00
R. David Murray c1eb92bb1a Merged revisions 74740 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

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

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

................
  r74999 | tarek.ziade | 2009-09-21 15:55:19 +0200 (Mon, 21 Sep 2009) | 13 lines

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

  ........
    r74994 | tarek.ziade | 2009-09-21 15:41:08 +0200 (Mon, 21 Sep 2009) | 1 line

    #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils.
  ........
    r74997 | tarek.ziade | 2009-09-21 15:49:57 +0200 (Mon, 21 Sep 2009) | 1 line

    forgot to commit a file in previous commit (r74994, issue #6954)
  ........
................
2009-09-21 13:59:07 +00:00