Commit Graph

36712 Commits

Author SHA1 Message Date
Benjamin Peterson 14654fdbbd I'm blocking all these whatsnew revisions, so I can just manually sync it with 2.6;
merging it has gotten quite out of hand

Blocked revisions 64429,64436,64498,64572 via svnmerge

........
  r64429 | georg.brandl | 2008-06-20 14:28:18 -0500 (Fri, 20 Jun 2008) | 2 lines

  Change references to the new math functions to generate proper x-refs.
........
  r64436 | andrew.kuchling | 2008-06-20 18:43:12 -0500 (Fri, 20 Jun 2008) | 1 line

  Various items
........
  r64498 | mark.dickinson | 2008-06-24 06:08:58 -0500 (Tue, 24 Jun 2008) | 4 lines

  Change description of float('nan') feature; NaNs don't care much about
  signs, and float('nan'), float('+nan') and float('-nan') actually all
  generate the exact same NaN value.
........
  r64572 | benjamin.peterson | 2008-06-28 08:18:14 -0500 (Sat, 28 Jun 2008) | 1 line

  fix typo
........
2008-07-02 16:18:39 +00:00
Benjamin Peterson fea6a94b3b Merged revisions 64365,64370,64406,64408-64409,64412,64416-64417,64420-64421,64425-64428 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64365 | raymond.hettinger | 2008-06-17 19:56:57 -0500 (Tue, 17 Jun 2008) | 1 line

  Fix double decref.
........
  r64370 | mark.dickinson | 2008-06-18 04:20:17 -0500 (Wed, 18 Jun 2008) | 2 lines

  Typo fix
........
  r64406 | andrew.kuchling | 2008-06-19 09:02:30 -0500 (Thu, 19 Jun 2008) | 1 line

  Only include update_lines_cols() function when it's actually going to be used
........
  r64408 | amaury.forgeotdarc | 2008-06-19 14:57:39 -0500 (Thu, 19 Jun 2008) | 2 lines

  test_macos can be skipped on non-mac platforms.
........
  r64409 | andrew.kuchling | 2008-06-19 15:33:31 -0500 (Thu, 19 Jun 2008) | 1 line

  Put threading in front of thread
........
  r64412 | amaury.forgeotdarc | 2008-06-19 16:17:12 -0500 (Thu, 19 Jun 2008) | 3 lines

  In test_site, correctly escape backslashes in path names.
  This allows the test to pass when the username begins with a lowercase 't'...
........
  r64416 | vinay.sajip | 2008-06-19 17:40:17 -0500 (Thu, 19 Jun 2008) | 2 lines

  Bug #3136: fileConfig()'s disabling of old loggers is now conditional via an optional disable_existing_loggers parameter, but the default value is such that the old behaviour is preserved.
  Thanks to Leandro Lucarella for the patch.
........
  r64417 | vinay.sajip | 2008-06-19 17:41:08 -0500 (Thu, 19 Jun 2008) | 1 line

  Updated with fix for #3136.
........
  r64420 | andrew.kuchling | 2008-06-19 21:05:57 -0500 (Thu, 19 Jun 2008) | 1 line

  Various items
........
  r64421 | andrew.kuchling | 2008-06-19 21:11:42 -0500 (Thu, 19 Jun 2008) | 1 line

  Fix comment typos
........
  r64425 | andrew.kuchling | 2008-06-20 06:39:54 -0500 (Fri, 20 Jun 2008) | 1 line

  Various items
........
  r64426 | mark.dickinson | 2008-06-20 09:53:43 -0500 (Fri, 20 Jun 2008) | 4 lines

  Issue #3004:  Minor fix to slice.indices().  slice(-10).indices(9) now
  returns (0, 0, 1) instead of (0, -1, 1), and slice(None, 10, -1).indices(10)
  returns (9, 9, -1) instead of (9, 10, -1).
........
  r64427 | mark.dickinson | 2008-06-20 10:17:41 -0500 (Fri, 20 Jun 2008) | 2 lines

  Fix outdated count of the number of new math module functions.
........
  r64428 | mark.dickinson | 2008-06-20 10:26:19 -0500 (Fri, 20 Jun 2008) | 2 lines

  Fix another typo in math_sum comment
........
2008-07-02 16:11:42 +00:00
Benjamin Peterson 464109a893 Blocked revisions 64398,64400,64437,64456,64462,64511 via svnmerge
........
  r64398 | barry.warsaw | 2008-06-18 20:48:07 -0500 (Wed, 18 Jun 2008) | 1 line

  Bumping to 2.6b1
........
  r64400 | barry.warsaw | 2008-06-18 21:31:54 -0500 (Wed, 18 Jun 2008) | 1 line

  Post release changes
........
  r64437 | andrew.kuchling | 2008-06-20 19:17:22 -0500 (Fri, 20 Jun 2008) | 1 line

  Correct two versionchanged directives, to improve the 'changes' output
........
  r64456 | facundo.batista | 2008-06-22 11:11:34 -0500 (Sun, 22 Jun 2008) | 4 lines


  Trying to see if the @ in a path is causing the issue in the
  shutil.rmtree() in the trunk.loewis-sun buildbot.
........
  r64462 | facundo.batista | 2008-06-22 13:23:55 -0500 (Sun, 22 Jun 2008) | 4 lines


  Trying to see if the problem in Martin's buildot is at
  directory creation time...
........
  r64511 | raymond.hettinger | 2008-06-24 10:58:53 -0500 (Tue, 24 Jun 2008) | 1 line

  Issue 3189:  Py3k DeprecationWarning in difflib
........
2008-07-02 15:15:37 +00:00
Benjamin Peterson 1cef37cd0d add an entry for object.__dir__ 2008-07-02 14:44:54 +00:00
Brett Cannon 549845b5f5 Blocked revisions 64649 via svnmerge
........
  r64649 | brett.cannon | 2008-07-01 18:57:08 -0700 (Tue, 01 Jul 2008) | 8 lines

  Handle urllib's renaming for Python 3.0:

  * Deprecate urllib.urlopen() in favor of urllib2.urlopen() for 3.0.
  * Update docs to mention split/rename of the module and deprecation of
    urlopen().

  Changes to lib2to3 are in a separate commit. Work is for issue #2885.
........
2008-07-02 01:57:57 +00:00
Amaury Forgeot d'Arc 251d3e2d45 Blocked revisions 64633 via svnmerge
........
  r64633 | amaury.forgeotdarc | 2008-07-01 22:38:04 +0200 (mar., 01 juil. 2008) | 5 lines

  #3242: fix a crash in "print", if sys.stdout is set to a custom object,
  whose write() method installs another sys.stdout.

  Will backport.
........
2008-07-01 20:48:50 +00:00
Georg Brandl efbcb46d7f Blocked revisions 64635 via svnmerge
........
  r64635 | georg.brandl | 2008-07-01 22:45:09 +0200 (Tue, 01 Jul 2008) | 2 lines

  #1523853: add note about fread().
........
2008-07-01 20:46:09 +00:00
Georg Brandl 809ddaaafb #3191: fix round() docs and docstring. 2008-07-01 20:39:59 +00:00
Benjamin Peterson 13b6d0df63 fix test_metaclass 2008-07-01 20:26:36 +00:00
Georg Brandl 336341f2ae Add some full stops. 2008-07-01 20:21:28 +00:00
Georg Brandl 18da8f06eb #3220: improve bytes docs a bit. 2008-07-01 20:08:02 +00:00
Benjamin Peterson 07a1f94fb7 Merged revisions 64622 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64622 | benjamin.peterson | 2008-07-01 14:34:52 -0500 (Tue, 01 Jul 2008) | 1 line

  #3219 repeated keyword arguments aren't allowed in function calls anymore
........
2008-07-01 20:03:27 +00:00
Georg Brandl 13e89463e3 Fix a few urllib bugs (NameErrors).
Also directly import names from the various urllib submodules,
saves attribute lookup and is much cleaner.
2008-07-01 19:56:00 +00:00
Georg Brandl 1abcbf8e19 #2683: Popen.communicate() argument must be bytes. 2008-07-01 19:28:43 +00:00
Benjamin Peterson c22ed14ddd document PyUnicode_CompareWithASCIIString 2008-07-01 19:12:34 +00:00
Georg Brandl e11787a4e8 #2683: communicate() takes bytes. 2008-07-01 19:10:52 +00:00
Benjamin Peterson de9c869fb8 Hopefully fix make framework install on Mac (see 3174)
Removal of the Mac modules broke many of the Mac scripts (including
BuildApplet.py) so the building of the Python launcher and IDLE.app was
broken. I manually copied built versions of those apps into Mac. Everything else
which used Mac modules had to die.
2008-07-01 18:23:09 +00:00
Mark Summerfield bbfd71d7ac - No more 0L or similar.
- Added cross-refs to fraction & decimal in numeric types.
- Moved str.isdecimal() & str.isnumeric() into alphabetical order like
  all the other str methods; also massaged the text a bit to make it
  more consistent with the similar methods' texts.

BTW The iterator.__iter__() docs seems to be out of step with
functions.rst (where it now has an extra parameter).
2008-07-01 15:50:04 +00:00
Benjamin Peterson 4c29b47d34 fix syntax 2008-07-01 14:42:51 +00:00
Mark Summerfield 9557f60f91 - removed sentence about the new free format floating-point representation
since I believe that's been abandoned.
- added __round__() to datamodel page's list of numeric special methods.
2008-07-01 14:42:30 +00:00
Benjamin Peterson 8a250aeb21 Merged revisions 64601 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64601 | amaury.forgeotdarc | 2008-06-30 17:42:40 -0500 (Mon, 30 Jun 2008) | 11 lines

  #Issue3088 in-progress: Race condition with instances of classes derived from threading.local:

  When a thread touches such an object for the first time, a new thread-local __dict__ is created,
  and the __init__ method is run.
  But a thread switch can occur here; if the other thread touches the same object, it installs another
  __dict__; when the first thread resumes, it updates the dictionary of the second...

  This is the deep cause of the failures in test_multiprocessing involving "managers" objects.

  Also a 2.5 backport candidate.
........
2008-06-30 23:30:24 +00:00
Benjamin Peterson ec19d95f51 now that exec is a function, we can use the shorter assertRaises to test 2008-06-30 15:01:21 +00:00
Martin v. Löwis 9aa04c4e83 Merged revisions 64597-64598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64597 | martin.v.loewis | 2008-06-30 08:57:39 +0200 (Mo, 30 Jun 2008) | 1 line

  Issue #3215: Build sqlite3 as sqlite3.dll, not sqlite3.pyd
........
  r64598 | martin.v.loewis | 2008-06-30 09:01:09 +0200 (Mo, 30 Jun 2008) | 1 line

  Add _multiprocessing module.
........
2008-06-30 07:03:57 +00:00
Martin v. Löwis 029656fb3b Issue #3236: Return small longs from PyLong_FromString. 2008-06-30 04:06:08 +00:00
Bill Janssen 2f5799b7b0 close asyncore.dispatcher on EOF 2008-06-29 00:08:12 +00:00
Bill Janssen 980f3149a2 fix bad method names in ssl module (and typo in ssl doc) 2008-06-29 00:05:51 +00:00
Robert Schuppenies 4d45bfe4c5 Merged revisions 64518,64521-64525,64528-64533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64518 | robert.schuppenies | 2008-06-25 11:20:03 +0200 (Wed, 25 Jun 2008) | 2 lines

  Issue 3147: Fixed SizeofTest failure for LLP64 systems.
........
  r64533 | robert.schuppenies | 2008-06-26 17:20:35 +0200 (Thu, 26 Jun 2008) | 3 lines

  Corrected inconsistencies in sizeof tests and addressed issue pointed
  out by Jean Brouwers.
........
2008-06-28 23:58:47 +00:00
Benjamin Peterson 42806bad9b division is no longer a future thing for test_binop 2008-06-28 23:34:00 +00:00
Benjamin Peterson f04779b59a #3229 fix typo and expand notes a little 2008-06-28 23:05:03 +00:00
Matthias Klose ed25b2c358 - allow to configure with db4.7, test with 4.7 on some buildds
needs to be reviewed before release.
2008-06-28 18:23:49 +00:00
Benjamin Peterson 361e553dc5 remove usage of cachesrc.py in Mac/Makefile 2008-06-28 14:10:42 +00:00
Benjamin Peterson 257060ac98 change references to Queue module to queue in multiprocessing docs 2008-06-28 01:42:41 +00:00
Benjamin Peterson 5289b2b1fe Merged revisions 64407,64568 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64407 | andrew.kuchling | 2008-06-19 14:48:42 -0500 (Thu, 19 Jun 2008) | 1 line

  Remove some standalone material from the introduction; various markup and typo fixes
........
  r64568 | benjamin.peterson | 2008-06-27 18:22:06 -0500 (Fri, 27 Jun 2008) | 1 line

  edit multiprocessing docs
........
2008-06-28 00:40:54 +00:00
Benjamin Peterson d5cd65b72c make multiprocessing.sharedctypes.Value's lock argument a keyword-only argument for real 2008-06-27 22:16:47 +00:00
Mark Dickinson ce279a7275 Merged revisions 64561 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64561 | mark.dickinson | 2008-06-27 17:49:27 +0100 (Fri, 27 Jun 2008) | 2 lines

  Issue #3197: rework documentation for fractions module.
........
2008-06-27 17:01:17 +00:00
Trent Nelson 7de5079007 Blocked revisions 64555 via svnmerge
................
  r64555 | trent.nelson | 2008-06-26 21:30:34 -0500 (Thu, 26 Jun 2008) | 13 lines

  Merged revisions 64368-64369 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade

  ........
    r64368 | trent.nelson | 2008-06-17 23:13:44 -0500 (Tue, 17 Jun 2008) | 1 line

    Initial commit of work pertaining to switching the Windows build from Berkeley DB 4.4.20 to 4.7.25.  Note that I've deprecated the standalone '_bsddb44.vcproj' in lieu of adding the sources in a separate folder to the _bsddb project.  This was a conscious decision and actually makes everything far more easier to manage.  With this approach, entire test suite passed straight off the bat.  Well, almost -- the timeout in bsddb/test/test_replication.py needed bumping up a little -- 2 seconds was too short.  10 seconds seems to be fine for me, but I'll make sure Jesus verifies.  More documentation to come once I've been able to test out this approach on the buildbots (hence keeping the changes in a separate branch for now).
  ........
    r64369 | trent.nelson | 2008-06-17 23:19:12 -0500 (Tue, 17 Jun 2008) | 1 line

    Bump Berkeley DB version from 4.4.20 to 4.7.25.
  ........
................
2008-06-27 02:47:27 +00:00
Brett Cannon 1c63f65b3c Ignore *.pyc and *.pyo files. 2008-06-27 00:53:19 +00:00
Brett Cannon db7349128f Merged revisions 64549 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64549 | brett.cannon | 2008-06-26 17:31:13 -0700 (Thu, 26 Jun 2008) | 7 lines

  warnings.warn_explicit() did not have the proper TypeErrors in place to prevent
  bus errors or SystemError being raised. As a side effect of fixing this, a bad
  DECREF that could be triggered when 'message' and 'category' were both None was
  fixed.

  Closes issue 3211. Thanks JP Calderone for the bug report.
........
2008-06-27 00:52:15 +00:00
Brett Cannon 429ef650b7 Rename a variable to be more in line with the name of the module. 2008-06-27 00:35:35 +00:00
Benjamin Peterson cf49e2053a Blocked revisions 64546-64547 via svnmerge
........
  r64546 | benjamin.peterson | 2008-06-26 16:24:35 -0500 (Thu, 26 Jun 2008) | 1 line

  use the new API
........
  r64547 | benjamin.peterson | 2008-06-26 16:29:19 -0500 (Thu, 26 Jun 2008) | 1 line

  fix isSet in _exposed
........
2008-06-26 21:45:04 +00:00
Georg Brandl 85f7604dc4 #3204: remove slice operations from operator doc. 2008-06-26 19:00:11 +00:00
Benjamin Peterson d61438a939 make changes for py3k for multiprocessing 2008-06-25 13:04:48 +00:00
Benjamin Peterson 1fcfe211f4 Merged revisions 64517,64519 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64517 | benjamin.peterson | 2008-06-24 22:09:05 -0500 (Tue, 24 Jun 2008) | 1 line

  remove bytes alias in multiprocessing
........
  r64519 | benjamin.peterson | 2008-06-25 07:39:05 -0500 (Wed, 25 Jun 2008) | 1 line

  use byte literals in multiprocessing
........
2008-06-25 12:54:22 +00:00
Benjamin Peterson 57f6a55daf Blocked revisions 64520 via svnmerge
........
  r64520 | benjamin.peterson | 2008-06-25 07:44:29 -0500 (Wed, 25 Jun 2008) | 1 line

  get rid of 2.6/3.0 switch statements in multiprocessing
........
2008-06-25 12:46:04 +00:00
Raymond Hettinger 5c960b8c64 Revert 64451. 2008-06-24 22:28:56 +00:00
Mark Dickinson 11c1a3326f Blocked revisions 64508 via svnmerge
........
  r64508 | mark.dickinson | 2008-06-24 16:35:14 +0100 (Tue, 24 Jun 2008) | 2 lines

  Remove references to Py3k in __floor__, __ceil__ and __round__ documentation.
........
2008-06-24 15:37:23 +00:00
Mark Dickinson 268bf4af63 Rewrite references to Py3k in __floor__, __ceil__ and __round__ documentation. 2008-06-24 15:32:27 +00:00
Mark Dickinson 79edbd51fe Remove trailing 'L's from integers in limit_denominator examples. 2008-06-24 14:26:24 +00:00
Eric Smith b151a45a69 Merged revisions 64499 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64499 | eric.smith | 2008-06-24 07:11:59 -0400 (Tue, 24 Jun 2008) | 1 line

  Fixed formatting with thousands separator and padding.  Resolves issue 3140.
........
2008-06-24 11:21:04 +00:00
Eric Smith 6ed16dcf56 Merged revisions 64496 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64496 | eric.smith | 2008-06-24 02:05:30 -0400 (Tue, 24 Jun 2008) | 1 line

  Typo in comment.
........
2008-06-24 06:07:03 +00:00