Commit Graph

36695 Commits

Author SHA1 Message Date
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
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