Commit Graph

36979 Commits

Author SHA1 Message Date
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
Eric Smith 6d7e7a730e Merged revisions 64491 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64491 | eric.smith | 2008-06-23 20:42:10 -0400 (Mon, 23 Jun 2008) | 1 line

  Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140.
........
2008-06-24 01:06:47 +00:00
Georg Brandl 7d84055e25 More old urllib usage. 2008-06-23 11:45:20 +00:00
Georg Brandl 029986af24 Fix old urllib/urllib2/urlparse usage. 2008-06-23 11:44:14 +00:00
Georg Brandl 0f7ede4569 Review the doc changes for the urllib package creation. 2008-06-23 11:23:31 +00:00
Senthil Kumaran aca8fd7a9d Documentation updates for urllib package. Modified the documentation for the
urllib,urllib2 -> urllib.request,urllib.error
urlparse -> urllib.parse
RobotParser -> urllib.robotparser

Updated tutorial references and other module references (http.client.rst,
ftplib.rst,contextlib.rst)
Updated the examples in the urllib2-howto

Addresses Issue3142.
2008-06-23 04:41:59 +00:00
Raymond Hettinger d11a44312f Merge 64438: hex/oct/bin can show floats exactly. 2008-06-22 11:39:13 +00:00
Guido van Rossum dd811a4da7 Ignore .py[co] files here. 2008-06-21 20:51:10 +00:00
Facundo Batista 789bdf0fdf Reviewed and updated the documentation. Fixes #3017. 2008-06-21 17:29:41 +00:00
Benjamin Peterson be149d0a0d remove references of cPickle in the pickle docs (uhh. unlabeled footnotes) 2008-06-20 21:03:22 +00:00
Benjamin Peterson 4fe93b2835 Blocked revisions 64431 via svnmerge
........
  r64431 | benjamin.peterson | 2008-06-20 15:33:33 -0500 (Fri, 20 Jun 2008) | 1 line

  rephrase
........
2008-06-20 20:35:48 +00:00
Benjamin Peterson 6bf2d6b469 Merged revisions 64422 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64422 | benjamin.peterson | 2008-06-19 21:47:03 -0500 (Thu, 19 Jun 2008) | 1 line

  add multiprocessing to the Makefile
........
2008-06-20 02:54:41 +00:00
Benjamin Peterson 614029f59a don't bother expecting to skip tests that don't exist 2008-06-19 23:34:34 +00:00
Benjamin Peterson 817e65fe6b Blocked revisions 64413 via svnmerge
........
  r64413 | benjamin.peterson | 2008-06-19 16:39:06 -0500 (Thu, 19 Jun 2008) | 1 line

  skip test_macostools when UCS4 is enabled
........
2008-06-19 22:16:54 +00:00
Amaury Forgeot d'Arc 620626b160 merge error: test.test_support is now test.support 2008-06-19 22:03:50 +00:00
Amaury Forgeot d'Arc 9196dc66ae Issue 3145: help("modules xxx") failed when scanning test.badsyntax_pep3120...
now it silently ignores modules it cannot scan or import.
2008-06-19 20:54:32 +00:00
Benjamin Peterson ad4afeb021 _getstalt doesn't need to be built on non-darwin systems #3141 2008-06-19 13:21:48 +00:00
Barry Warsaw 19b9b2ec4c Post 3.0b1 release 2008-06-19 01:45:11 +00:00
Barry Warsaw 5e50cf5dde Tagging 3.0b1 2008-06-19 00:37:17 +00:00
Barry Warsaw c1e689ec96 Bump to 3.0b1 2008-06-19 00:35:43 +00:00
Benjamin Peterson ce943b6e22 Blocked revisions 64371 via svnmerge
........
  r64371 | georg.brandl | 2008-06-18 04:28:22 -0500 (Wed, 18 Jun 2008) | 2 lines

  Add versionadded tags to new math functions.
........
2008-06-18 23:11:29 +00:00
Benjamin Peterson 631bd38a07 Blocked revisions 64386,64392 via svnmerge
........
  r64386 | amaury.forgeotdarc | 2008-06-18 16:18:27 -0500 (Wed, 18 Jun 2008) | 3 lines

  The ssl certificate at https://sf.net is not valid.
  Switch to https://sourceforge.net
........
  r64392 | benjamin.peterson | 2008-06-18 17:59:32 -0500 (Wed, 18 Jun 2008) | 2 lines

  Fix test_socket_ssl the easy way and remove it per #1489
........
2008-06-18 23:03:21 +00:00
Amaury Forgeot d'Arc 8a7b5f8cfc Merged revisions 64387 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64387 | amaury.forgeotdarc | 2008-06-18 23:33:58 +0200 (mer., 18 juin 2008) | 2 lines

  Typo in a directory name. Should help the AMD64 buildbots
........
2008-06-18 22:39:25 +00:00
Amaury Forgeot d'Arc c80902eac8 follow-up of r64385: rename urllib.quote in nturl2path
and remove assertions & debugger when ssl is not present
2008-06-18 22:38:24 +00:00
Amaury Forgeot d'Arc cb0d2d7198 Issue3113: tests for CGIHTTPRequestHandler failed on windows:
replace the now-invalid popen2 with a call to subprocess.Popen.
2008-06-18 22:19:22 +00:00
Jeremy Hylton 1afc169616 Make a new urllib package .
It consists of code from urllib, urllib2, urlparse, and robotparser.
The old modules have all been removed.  The new package has five
submodules: urllib.parse, urllib.request, urllib.response,
urllib.error, and urllib.robotparser.  The urllib.request.urlopen()
function uses the url opener from urllib2.

Note that the unittests have not been renamed for the
beta, but they will be renamed in the future.

Joint work with Senthil Kumaran.
2008-06-18 20:49:58 +00:00
Jesse Noller a656d2cd89 merge 64378 2008-06-18 18:01:29 +00:00
Jesse Noller d00df3cfe6 Merge r64375 to py3k 2008-06-18 14:22:48 +00:00
Mark Dickinson 66bada5653 Quick fix for test_math failures on Solaris 10 buildbot. For future
reference, note that that asin(float('inf')) doesn't seem to return the
expected NaN on this platform.
2008-06-18 10:04:31 +00:00
Amaury Forgeot d'Arc 9c74b14fe9 Merged revisions 64114 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64114 | gregory.p.smith | 2008-06-11 09:41:16 +0200 (mer., 11 juin 2008) | 6 lines

  Merge in release25-maint r60793:

   Added checks for integer overflows, contributed by Google. Some are
   only available if asserts are left in the code, in cases where they
   can't be triggered from Python code.
........
2008-06-18 00:47:36 +00:00
Amaury Forgeot d'Arc 036aa5433e Merged revisions 64360-64361 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64360 | amaury.forgeotdarc | 2008-06-18 01:09:19 +0200 (mer., 18 juin 2008) | 3 lines

  On windows, lib2to3 should accept / and \ in the fixer_dir argument
  Needed to let the tests pass
........
  r64361 | amaury.forgeotdarc | 2008-06-18 01:14:19 +0200 (mer., 18 juin 2008) | 2 lines

  Fix the previous fix
........
2008-06-17 23:16:28 +00:00
Benjamin Peterson 68ac331898 Merged revisions 64358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64358 | benjamin.peterson | 2008-06-17 18:01:59 -0500 (Tue, 17 Jun 2008) | 1 line

  add needed import
........
2008-06-17 23:05:33 +00:00
Benjamin Peterson 3c0dd067c6 Merged revisions 64356 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64356 | benjamin.peterson | 2008-06-17 17:40:44 -0500 (Tue, 17 Jun 2008) | 1 line

  skip test_multiprocessing when /dev/shm doesn't exist. This seems to be a chroot problem in the buildbot env.
........
2008-06-17 22:43:48 +00:00
Benjamin Peterson c2c5e00d9d Merged revisions 64349 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64349 | mark.dickinson | 2008-06-17 16:16:55 -0500 (Tue, 17 Jun 2008) | 4 lines

  Issue 3118: make test_math pass on Ubuntu/ia64.  exp(-745.0) was raising
  OverflowError incorrectly on this platform, presumably as a result of
  the libm setting errno = ERANGE for this call.
........
2008-06-17 22:39:26 +00:00