]> granicus.if.org Git - python/log
python
15 years agoMerged revisions 77431 via svnmerge from
Tarek Ziadé [Mon, 11 Jan 2010 23:47:51 +0000 (23:47 +0000)]
Merged revisions 77431 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77431 | tarek.ziade | 2010-01-12 00:41:32 +0100 (Tue, 12 Jan 2010) | 1 line

  module cleanup
........

15 years agoBlocked revisions 77400,77422,77428 via svnmerge
Alexandre Vassalotti [Mon, 11 Jan 2010 23:21:10 +0000 (23:21 +0000)]
Blocked revisions 77400,77422,77428 via svnmerge

........
  r77400 | alexandre.vassalotti | 2010-01-09 18:35:54 -0500 (Sat, 09 Jan 2010) | 2 lines

  Issue #2335: Backport set literals syntax from Python 3.x.
........
  r77422 | alexandre.vassalotti | 2010-01-11 17:36:12 -0500 (Mon, 11 Jan 2010) | 2 lines

  Issue #2333: Backport set and dict comprehensions syntax.
........
  r77428 | alexandre.vassalotti | 2010-01-11 18:17:10 -0500 (Mon, 11 Jan 2010) | 2 lines

  Issue #1967: Backport dictionary views.
........

15 years agoMerged revisions 77424 via svnmerge from
Tarek Ziadé [Mon, 11 Jan 2010 23:15:52 +0000 (23:15 +0000)]
Merged revisions 77424 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77424 | tarek.ziade | 2010-01-11 23:50:29 +0100 (Mon, 11 Jan 2010) | 1 line

  Fixed #5372: .o files are now always rebuilt because file age test don't work in some case
........

15 years agoMerged revisions 77412 via svnmerge from
R. David Murray [Sun, 10 Jan 2010 19:18:27 +0000 (19:18 +0000)]
Merged revisions 77412 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77412 | r.david.murray | 2010-01-10 12:41:28 -0500 (Sun, 10 Jan 2010) | 3 lines

  Issue #7119: document that a program-generated Message object
  tree may be mutated when serialized.
........

15 years agoMerged revisions 77411 via svnmerge from
Senthil Kumaran [Sun, 10 Jan 2010 17:45:52 +0000 (17:45 +0000)]
Merged revisions 77411 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77411 | senthil.kumaran | 2010-01-10 23:05:05 +0530 (Sun, 10 Jan 2010) | 2 lines

  Fixed issue7648 - test_urllib2 fails on Windows if not run from C:
........

15 years agoIssue #7532: Expanded tests for extended slicing. This is a forward
Mark Dickinson [Sun, 10 Jan 2010 11:59:43 +0000 (11:59 +0000)]
Issue #7532: Expanded tests for extended slicing.  This is a forward
port of r77391 to py3k, along with some additional tests and cleanup.
Patch by Florent Xicluna.

15 years agoBlocked revisions 77391 via svnmerge
Mark Dickinson [Sun, 10 Jan 2010 11:27:39 +0000 (11:27 +0000)]
Blocked revisions 77391 via svnmerge

........
  r77391 | mark.dickinson | 2010-01-09 18:50:50 +0000 (Sat, 09 Jan 2010) | 3 lines

  Issue #7532: Add additional slicing test cases for new- and old-style
  classes.  Patch by Florent Xicluna.
........

15 years agoMerged revisions 77403 via svnmerge from
Martin v. Löwis [Sun, 10 Jan 2010 10:31:46 +0000 (10:31 +0000)]
Merged revisions 77403 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77403 | martin.v.loewis | 2010-01-10 11:29:54 +0100 (So, 10 Jan 2010) | 2 lines

  Update root certificate to CAcert.
........

15 years agoRemove redundant brackets in signatures.
Georg Brandl [Sat, 9 Jan 2010 22:39:42 +0000 (22:39 +0000)]
Remove redundant brackets in signatures.

15 years agoIssue #6688: Optimize PyBytes_FromObject().
Alexandre Vassalotti [Sat, 9 Jan 2010 22:14:46 +0000 (22:14 +0000)]
Issue #6688: Optimize PyBytes_FromObject().

  - Add special-cases for list and tuple objects.
  - Use _PyObject_LengthHint() instead of an arbitrary value for the
    size of the initial buffer of the returned object.

15 years agosimplify string comparison of from_bytes/to_bytes
Benjamin Peterson [Sat, 9 Jan 2010 21:50:11 +0000 (21:50 +0000)]
simplify string comparison of from_bytes/to_bytes

15 years agoPython strings ending with '\0' should not be equivalent to their C counterparts...
Benjamin Peterson [Sat, 9 Jan 2010 21:45:28 +0000 (21:45 +0000)]
Python strings ending with '\0' should not be equivalent to their C counterparts in PyUnicode_CompareWithASCIIString

15 years agoIssue #1023290: Added API for the conversion of longs to bytes and vice-versa.
Alexandre Vassalotti [Sat, 9 Jan 2010 20:35:09 +0000 (20:35 +0000)]
Issue #1023290: Added API for the conversion of longs to bytes and vice-versa.

15 years agoMerged revisions 77185-77188,77262,77313,77317,77331-77333,77337-77338 via svnmerge...
Benjamin Peterson [Sat, 9 Jan 2010 18:53:06 +0000 (18:53 +0000)]
Merged revisions 77185-77188,77262,77313,77317,77331-77333,77337-77338 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77185 | andrew.kuchling | 2009-12-31 10:17:05 -0600 (Thu, 31 Dec 2009) | 1 line

  Add some items
........
  r77186 | benjamin.peterson | 2009-12-31 10:28:24 -0600 (Thu, 31 Dec 2009) | 1 line

  update expat comment
........
  r77187 | andrew.kuchling | 2009-12-31 10:38:53 -0600 (Thu, 31 Dec 2009) | 1 line

  Add various items
........
  r77188 | benjamin.peterson | 2009-12-31 10:49:37 -0600 (Thu, 31 Dec 2009) | 1 line

  add another advancement
........
  r77262 | andrew.kuchling | 2010-01-02 19:15:21 -0600 (Sat, 02 Jan 2010) | 1 line

  Add a few items
........
  r77313 | benjamin.peterson | 2010-01-04 18:04:19 -0600 (Mon, 04 Jan 2010) | 1 line

  add a test about hashing array.array
........
  r77317 | georg.brandl | 2010-01-05 12:14:52 -0600 (Tue, 05 Jan 2010) | 1 line

  Add Stefan.
........
  r77331 | georg.brandl | 2010-01-06 11:43:06 -0600 (Wed, 06 Jan 2010) | 1 line

  Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, add option to run the custom Cmd class.
........
  r77332 | georg.brandl | 2010-01-06 12:02:16 -0600 (Wed, 06 Jan 2010) | 7 lines

  #5991: let completion for the "help" command include help topics.

  This also simplifies the Cmd.get_names() method implementation; it was written
  at a time where dir() didn't consider base class attributes.
........
  r77333 | georg.brandl | 2010-01-06 12:26:08 -0600 (Wed, 06 Jan 2010) | 1 line

  #5950: document that zip files with comments are unsupported in zipimport.
........
  r77337 | r.david.murray | 2010-01-06 21:09:08 -0600 (Wed, 06 Jan 2010) | 3 lines

  Add -W to the 'basics', 'opt', and 'all' test runs so that we get verbose
  information if a failure happens.
........
  r77338 | r.david.murray | 2010-01-06 22:04:28 -0600 (Wed, 06 Jan 2010) | 2 lines

  Fix inadvertent checkin of debug line.
........

15 years agoMerged revisions 77209,77229,77359-77360,77371 via svnmerge from
Benjamin Peterson [Sat, 9 Jan 2010 18:45:30 +0000 (18:45 +0000)]
Merged revisions 77209,77229,77359-77360,77371 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77209 | georg.brandl | 2010-01-01 07:07:05 -0600 (Fri, 01 Jan 2010) | 1 line

  More yearly updates.
........
  r77229 | georg.brandl | 2010-01-02 06:35:01 -0600 (Sat, 02 Jan 2010) | 1 line

  Fix casing.
........
  r77359 | georg.brandl | 2010-01-07 14:54:45 -0600 (Thu, 07 Jan 2010) | 1 line

  Fix description for Py_GetPath(); it sounded like it always returned sys.path.
........
  r77360 | georg.brandl | 2010-01-07 15:48:47 -0600 (Thu, 07 Jan 2010) | 1 line

  #7653: clarify how the PythonPath registry key should look like.
........
  r77371 | senthil.kumaran | 2010-01-08 13:20:25 -0600 (Fri, 08 Jan 2010) | 3 lines

  Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration
........

15 years agoBlocked revisions 77227,77256,77260,77368-77369 via svnmerge
Benjamin Peterson [Sat, 9 Jan 2010 17:45:42 +0000 (17:45 +0000)]
Blocked revisions 77227,77256,77260,77368-77369 via svnmerge

........
  r77227 | martin.v.loewis | 2010-01-02 03:53:18 -0600 (Sat, 02 Jan 2010) | 1 line

  Make script work with 2.5.
........
  r77256 | georg.brandl | 2010-01-02 16:55:55 -0600 (Sat, 02 Jan 2010) | 1 line

  Fix typo.
........
  r77260 | gregory.p.smith | 2010-01-02 18:43:02 -0600 (Sat, 02 Jan 2010) | 2 lines

  make setup.py similar to py3k's when reporting on _hashlib as missing or not.
........
  r77368 | senthil.kumaran | 2010-01-08 12:41:40 -0600 (Fri, 08 Jan 2010) | 1 line

  Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
........
  r77369 | senthil.kumaran | 2010-01-08 13:04:16 -0600 (Fri, 08 Jan 2010) | 4 lines

  Reverting the Revision: 77368.  I committed Flox's big patch for tests by
  mistake. ( It may come in for sure tough)
........

15 years agoBlocked revisions 77384,77386 via svnmerge
Benjamin Peterson [Sat, 9 Jan 2010 17:36:21 +0000 (17:36 +0000)]
Blocked revisions 77384,77386 via svnmerge

........
  r77384 | benjamin.peterson | 2010-01-09 10:34:06 -0600 (Sat, 09 Jan 2010) | 1 line

  bump version to 2.7a2
........
  r77386 | benjamin.peterson | 2010-01-09 11:30:31 -0600 (Sat, 09 Jan 2010) | 1 line

  post release version adjustment
........

15 years agoMerged revisions 77382 via svnmerge from
Georg Brandl [Sat, 9 Jan 2010 09:48:46 +0000 (09:48 +0000)]
Merged revisions 77382 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77382 | georg.brandl | 2010-01-09 10:47:11 +0100 (Sa, 09 Jan 2010) | 1 line

  #7422: make it clear that getargspec() only works on Python functions.
........

15 years agoMerged revisions 77377 via svnmerge from
Tarek Ziadé [Fri, 8 Jan 2010 23:57:53 +0000 (23:57 +0000)]
Merged revisions 77377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77377 | tarek.ziade | 2010-01-09 00:42:23 +0100 (Sat, 09 Jan 2010) | 1 line

  Fixed #7617: all flavors of gcc should be recognized now
........

15 years agoMerged revisions 77374 via svnmerge from
Antoine Pitrou [Fri, 8 Jan 2010 19:42:10 +0000 (19:42 +0000)]
Merged revisions 77374 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77374 | antoine.pitrou | 2010-01-08 20:39:04 +0100 (ven., 08 janv. 2010) | 4 lines

  Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by
  Florent Xicluna).
........

15 years agoBlocked revisions 77370 via svnmerge
Antoine Pitrou [Fri, 8 Jan 2010 19:22:50 +0000 (19:22 +0000)]
Blocked revisions 77370 via svnmerge

........
  r77370 | antoine.pitrou | 2010-01-08 20:20:17 +0100 (ven., 08 janv. 2010) | 5 lines

  Issue #7092: Remove py3k warning when importing cPickle.  2to3 handles
  renaming of `cPickle` to `pickle`.  The warning was annoying since there's
  no alternative to cPickle if you care about performance.  Patch by Florent
  Xicluna.
........

15 years agoIssue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against
Antoine Pitrou [Fri, 8 Jan 2010 17:54:23 +0000 (17:54 +0000)]
Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against
the destruction of weakref'ed objects while iterating.

15 years agoBlocked revisions 77362 via svnmerge
Mark Dickinson [Fri, 8 Jan 2010 16:55:38 +0000 (16:55 +0000)]
Blocked revisions 77362 via svnmerge

........
  r77362 | mark.dickinson | 2010-01-08 16:53:56 +0000 (Fri, 08 Jan 2010) | 1 line

  Backport some float repr tests that were missed in issue 7117.
........

15 years agoMerged revisions 77352-77354 via svnmerge from
Antoine Pitrou [Thu, 7 Jan 2010 17:57:31 +0000 (17:57 +0000)]
Merged revisions 77352-77354 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77352 | antoine.pitrou | 2010-01-07 18:46:49 +0100 (jeu., 07 janv. 2010) | 5 lines

  Issue #7455: Fix possible crash in cPickle on invalid input.  Patch by
  Florent Xicluna.
........
  r77353 | antoine.pitrou | 2010-01-07 18:49:37 +0100 (jeu., 07 janv. 2010) | 3 lines

  Fix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!).
........
  r77354 | antoine.pitrou | 2010-01-07 18:54:10 +0100 (jeu., 07 janv. 2010) | 3 lines

  Fix reattribution mistake when fixing attribution mistake!
........

15 years agoMerged revisions 77339 via svnmerge from
Mark Dickinson [Thu, 7 Jan 2010 09:31:48 +0000 (09:31 +0000)]
Merged revisions 77339 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77339 | mark.dickinson | 2010-01-07 09:28:29 +0000 (Thu, 07 Jan 2010) | 1 line

  Eric Smith was missing fro m the issue 7117 whatsnew attribution.
........

15 years agoMerged revisions 77324 via svnmerge from
Mark Dickinson [Wed, 6 Jan 2010 16:22:15 +0000 (16:22 +0000)]
Merged revisions 77324 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77324 | mark.dickinson | 2010-01-06 16:20:22 +0000 (Wed, 06 Jan 2010) | 2 lines

  Add missing docstring for Context.divmod.  Thanks Juan José Conti.
........

15 years agoAssorted doc fixes by Florent.
Georg Brandl [Tue, 5 Jan 2010 10:22:04 +0000 (10:22 +0000)]
Assorted doc fixes by Florent.

15 years ago#7432: remove unnecessary from __future__ import division
Ezio Melotti [Tue, 5 Jan 2010 08:37:27 +0000 (08:37 +0000)]
#7432: remove unnecessary from __future__ import division

15 years agoBlocked revisions 77310-77311 via svnmerge
Antoine Pitrou [Mon, 4 Jan 2010 23:29:25 +0000 (23:29 +0000)]
Blocked revisions 77310-77311 via svnmerge

........
  r77310 | antoine.pitrou | 2010-01-05 00:22:44 +0100 (mar., 05 janv. 2010) | 4 lines

  Issue #7092: Fix the DeprecationWarnings emitted by the standard library
  when using the -3 flag.  Patch by Florent Xicluna.
........
  r77311 | antoine.pitrou | 2010-01-05 00:28:16 +0100 (mar., 05 janv. 2010) | 3 lines

  Kill a couple of "<>"
........

15 years agoMerged revisions 77306 via svnmerge from
Ezio Melotti [Mon, 4 Jan 2010 21:53:17 +0000 (21:53 +0000)]
Merged revisions 77306 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77306 | ezio.melotti | 2010-01-04 23:43:02 +0200 (Mon, 04 Jan 2010) | 1 line

  #3340: document print/get_usage and print/get_version
........

15 years agoMerged revisions 77302 via svnmerge from
Mark Dickinson [Mon, 4 Jan 2010 21:33:31 +0000 (21:33 +0000)]
Merged revisions 77302 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77302 | mark.dickinson | 2010-01-04 21:32:02 +0000 (Mon, 04 Jan 2010) | 1 line

  Fix typo in comment.
........

15 years agoIssue #7631: Fix undefined references to the "built-in file object", which
Antoine Pitrou [Mon, 4 Jan 2010 18:50:53 +0000 (18:50 +0000)]
Issue #7631: Fix undefined references to the "built-in file object", which
has ceased to be.

15 years agoMerged revisions 77298 via svnmerge from
Ezio Melotti [Mon, 4 Jan 2010 09:29:10 +0000 (09:29 +0000)]
Merged revisions 77298 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77298 | ezio.melotti | 2010-01-04 11:00:11 +0200 (Mon, 04 Jan 2010) | 1 line

  fixed markup errors
........

15 years agoMerged revisions 74426 via svnmerge from
Gregory P. Smith [Mon, 4 Jan 2010 04:50:36 +0000 (04:50 +0000)]
Merged revisions 74426 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74426 | gregory.p.smith | 2009-08-13 11:54:50 -0700 (Thu, 13 Aug 2009) | 4 lines

  Fix issue1628205: Socket file objects returned by socket.socket.makefile() now
  properly handles EINTR within the read, readline, write & flush methods.
  The socket.sendall() method now properly handles interrupted system calls.
........

15 years agoRecorded merge of revisions 74426 via svnmerge from
Benjamin Peterson [Mon, 4 Jan 2010 03:48:20 +0000 (03:48 +0000)]
Recorded merge of revisions 74426 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74426 | gregory.p.smith | 2009-08-13 13:54:50 -0500 (Thu, 13 Aug 2009) | 4 lines

  Fix issue1628205: Socket file objects returned by socket.socket.makefile() now
  properly handles EINTR within the read, readline, write & flush methods.
  The socket.sendall() method now properly handles interrupted system calls.
........

15 years agoMerge the trivial portion of r74426 from trunk.
Gregory P. Smith [Mon, 4 Jan 2010 03:29:50 +0000 (03:29 +0000)]
Merge the trivial portion of r74426 from trunk.
socket.sendall() now handles EINTR properly internally.

15 years agoMerged revisions 77292-77293 via svnmerge from
Benjamin Peterson [Mon, 4 Jan 2010 01:10:28 +0000 (01:10 +0000)]
Merged revisions 77292-77293 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77292 | benjamin.peterson | 2010-01-03 18:43:01 -0600 (Sun, 03 Jan 2010) | 1 line

  do correct lookup of the __complex__ method
........
  r77293 | benjamin.peterson | 2010-01-03 19:00:47 -0600 (Sun, 03 Jan 2010) | 1 line

  factor out __complex__ lookup code to fix another case
........

15 years agoMerged revisions 77290 via svnmerge from
Antoine Pitrou [Sun, 3 Jan 2010 22:39:36 +0000 (22:39 +0000)]
Merged revisions 77290 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77290 | antoine.pitrou | 2010-01-03 23:38:50 +0100 (dim., 03 janv. 2010) | 3 lines

  Credit Nir Aides for r77288
........

15 years agoMerged revisions 77288 via svnmerge from
Antoine Pitrou [Sun, 3 Jan 2010 22:37:40 +0000 (22:37 +0000)]
Merged revisions 77288 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77288 | antoine.pitrou | 2010-01-03 23:29:56 +0100 (dim., 03 janv. 2010) | 5 lines

  Issue #7471: Improve the performance of GzipFile's buffering mechanism,
  and make it implement the `io.BufferedIOBase` ABC to allow for further
  speedups by wrapping it in an `io.BufferedReader`.  Patch by Nir Aides.
........

15 years agoMerged revisions 77286 via svnmerge from
Gregory P. Smith [Sun, 3 Jan 2010 15:09:32 +0000 (15:09 +0000)]
Merged revisions 77286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77286 | gregory.p.smith | 2010-01-03 07:05:52 -0800 (Sun, 03 Jan 2010) | 2 lines

  Fix testSourceAddress to not test the host, it wasn't passing on some platforms.
........

15 years agoBlocked revisions 77284 via svnmerge
Gregory P. Smith [Sun, 3 Jan 2010 14:57:46 +0000 (14:57 +0000)]
Blocked revisions 77284 via svnmerge

........
  r77284 | gregory.p.smith | 2010-01-03 06:56:28 -0800 (Sun, 03 Jan 2010) | 2 lines

  remove an obsolete file that should've gone with r77252
........

15 years agoadd missing hashlib.h deps.
Gregory P. Smith [Sun, 3 Jan 2010 14:51:13 +0000 (14:51 +0000)]
add missing hashlib.h deps.

15 years agoMerged revisions 77266,77279 via svnmerge from
Georg Brandl [Sun, 3 Jan 2010 14:30:52 +0000 (14:30 +0000)]
Merged revisions 77266,77279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77266 | kurt.kaiser | 2010-01-03 09:36:45 +0100 (So, 03 Jan 2010) | 6 lines

  r77152 to Doc/Makefile broke doc build due to (at least some) make
  binaries running clean prereq after checkout.
  1. So, fix the insane make call in build.sh - seems to solve it.
  2. Fix a missing redirection.
  3. Check in the rsync opts that actually work during upload.
........
  r77279 | georg.brandl | 2010-01-03 14:05:39 +0100 (So, 03 Jan 2010) | 1 line

  Update doc build step.
........

15 years agoMerged revisions 77275 via svnmerge from
Mark Dickinson [Sun, 3 Jan 2010 12:16:06 +0000 (12:16 +0000)]
Merged revisions 77275 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77275 | mark.dickinson | 2010-01-03 12:03:03 +0000 (Sun, 03 Jan 2010) | 1 line

  Make use of PyLong_AsLongAndOverflow in math_ldexp.
........

15 years agoMerged revisions 77271 via svnmerge from
Ezio Melotti [Sun, 3 Jan 2010 09:11:59 +0000 (09:11 +0000)]
Merged revisions 77271 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77271 | ezio.melotti | 2010-01-03 11:09:55 +0200 (Sun, 03 Jan 2010) | 1 line

  :stmt: -> :keyword:
........

15 years agoMerged revisions 77267 via svnmerge from
Ezio Melotti [Sun, 3 Jan 2010 09:06:02 +0000 (09:06 +0000)]
Merged revisions 77267 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77267 | ezio.melotti | 2010-01-03 11:01:27 +0200 (Sun, 03 Jan 2010) | 1 line

  #7618: fix highlight of code blocks
........

15 years agoMerged revisions 77263-77264 via svnmerge from
Gregory P. Smith [Sun, 3 Jan 2010 03:28:29 +0000 (03:28 +0000)]
Merged revisions 77263-77264 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77263 | gregory.p.smith | 2010-01-02 17:29:44 -0800 (Sat, 02 Jan 2010) | 4 lines

  Adds an optional source_address parameter to socket.create_connection().

  For use by issue3972.
........
  r77264 | gregory.p.smith | 2010-01-02 18:06:07 -0800 (Sat, 02 Jan 2010) | 5 lines

  issue3972: HTTPConnection and HTTPSConnection now support a
  source_address parameter.

  Also cleans up an annotation in the socket documentation.
........

15 years agosmall logic cleanup, avoid duplicate openssl_ver check.
Gregory P. Smith [Sun, 3 Jan 2010 00:44:10 +0000 (00:44 +0000)]
small logic cleanup, avoid duplicate openssl_ver check.

15 years agoAlso fixes test_hashlib for the different extension module names in py3k.
Gregory P. Smith [Sun, 3 Jan 2010 00:38:10 +0000 (00:38 +0000)]
Also fixes test_hashlib for the different extension module names in py3k.

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

........
  r77251 | gregory.p.smith | 2010-01-02 14:25:29 -0800 (Sat, 02 Jan 2010) | 6 lines

  Always compile the all versions of the hashlib algorithm modules when Python
  was compiled with Py_DEBUG defined.  Otherwise the builtins are not compiled by
  default for many developers due to OpenSSL being present, making it easier for
  bugs to slip by.  A future commit will add test code compare the behaviors of
  all implementations when they are all available.
........

15 years agoMerged revisions 77257 via svnmerge from
Gregory P. Smith [Sun, 3 Jan 2010 00:29:15 +0000 (00:29 +0000)]
Merged revisions 77257 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77257 | gregory.p.smith | 2010-01-02 16:19:04 -0800 (Sat, 02 Jan 2010) | 8 lines

  Import all implementations of the hash algorithms (OpenSSL & builtin) and run
  the test suite across all that are available.  Warns about extension modules
  that could not be imported when python was compiled with Py_DEBUG.

  That warning could be made fatal but I didn't want to do that initially as
  I suspect non setup.py based build processes (windows, any others?) won't
  compile them all conditionally based on the Py_DEBUG setting today.
........

15 years agoBlocked revisions 77254 via svnmerge
Gregory P. Smith [Sat, 2 Jan 2010 22:44:17 +0000 (22:44 +0000)]
Blocked revisions 77254 via svnmerge

........
  r77254 | gregory.p.smith | 2010-01-02 14:42:50 -0800 (Sat, 02 Jan 2010) | 2 lines

  mention the r77252 change
........

15 years agoBlocked revisions 77252 via svnmerge
Gregory P. Smith [Sat, 2 Jan 2010 22:32:00 +0000 (22:32 +0000)]
Blocked revisions 77252 via svnmerge

........
  r77252 | gregory.p.smith | 2010-01-02 14:28:48 -0800 (Sat, 02 Jan 2010) | 5 lines

  Issue #3745: Undo the requirement for new buffer API only objects to be passed
  to hashlib functions in python 2.x.  The module now uses the 's*' for argument
  parsing which auto encodes unicode objects to the system default encoding for
  us.
........

15 years agoMerged revisions 77249 via svnmerge from
Antoine Pitrou [Sat, 2 Jan 2010 21:55:17 +0000 (21:55 +0000)]
Merged revisions 77249 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77249 | antoine.pitrou | 2010-01-02 22:53:44 +0100 (sam., 02 janv. 2010) | 3 lines

  Remove silly conditional.
........

15 years agoMerged revisions 77247 via svnmerge from
Antoine Pitrou [Sat, 2 Jan 2010 21:51:33 +0000 (21:51 +0000)]
Merged revisions 77247 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77247 | antoine.pitrou | 2010-01-02 22:47:10 +0100 (sam., 02 janv. 2010) | 5 lines

  Add tests for issue #7458: str.rfind() would crash when called with an invalid
  start value.  The offending code itself was removed as part of #7462.
  This patch by Victor Stinner.
........

15 years agoMerged revisions 77241 via svnmerge from
Antoine Pitrou [Sat, 2 Jan 2010 21:40:36 +0000 (21:40 +0000)]
Merged revisions 77241 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77241 | antoine.pitrou | 2010-01-02 22:12:58 +0100 (sam., 02 janv. 2010) | 4 lines

  Issue #7462: Implement the stringlib fast search algorithm for the `rfind`,
  `rindex`, `rsplit` and `rpartition` methods.  Patch by Florent Xicluna.
........

15 years agoMerged revisions 77242 via svnmerge from
Gregory P. Smith [Sat, 2 Jan 2010 21:32:29 +0000 (21:32 +0000)]
Merged revisions 77242 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77242 | gregory.p.smith | 2010-01-02 13:29:54 -0800 (Sat, 02 Jan 2010) | 3 lines

  Correct documentation for s* z* and w*, the argument that should be passed
  is the address of a Py_buffer, not a Py_buffer *.
........

15 years agoMerged revisions 77234 via svnmerge from
Mark Dickinson [Sat, 2 Jan 2010 15:33:56 +0000 (15:33 +0000)]
Merged revisions 77234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77234 | mark.dickinson | 2010-01-02 14:45:40 +0000 (Sat, 02 Jan 2010) | 7 lines

  Refactor some longobject internals:  PyLong_AsDouble and _PyLong_AsScaledDouble
  (the latter renamed to _PyLong_Frexp) now use the same core code.  The
  exponent produced by _PyLong_Frexp now has type Py_ssize_t instead of the
  previously used int, and no longer needs scaling by PyLong_SHIFT.  This
  frees the math module from having to know anything about the PyLong
  implementation.  This closes issue #5576.
........

15 years ago#7592: remove duplicate description.
Georg Brandl [Sat, 2 Jan 2010 14:51:12 +0000 (14:51 +0000)]
#7592: remove duplicate description.

15 years agoMerged revisions 77230 via svnmerge from
Mark Dickinson [Sat, 2 Jan 2010 14:33:10 +0000 (14:33 +0000)]
Merged revisions 77230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77230 | mark.dickinson | 2010-01-02 14:29:52 +0000 (Sat, 02 Jan 2010) | 1 line

  Clarify that the rect, phase and polar functions work with radians.
........

15 years agoMerged revisions 77226 via svnmerge from
Martin v. Löwis [Sat, 2 Jan 2010 10:06:19 +0000 (10:06 +0000)]
Merged revisions 77226 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77226 | martin.v.loewis | 2010-01-02 10:25:21 +0100 (Sa, 02 Jan 2010) | 2 lines

  Update Windows build to sqlite 3.6.21.
........

15 years agoBlocked revisions 77222 via svnmerge
Benjamin Peterson [Sat, 2 Jan 2010 02:45:52 +0000 (02:45 +0000)]
Blocked revisions 77222 via svnmerge

........
  r77222 | benjamin.peterson | 2010-01-01 20:43:04 -0600 (Fri, 01 Jan 2010) | 1 line

  remove use of deprecated os.popen #7619
........

15 years agoMerged revisions 77218 via svnmerge from
Mark Dickinson [Fri, 1 Jan 2010 19:27:32 +0000 (19:27 +0000)]
Merged revisions 77218 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77218 | mark.dickinson | 2010-01-01 17:27:30 +0000 (Fri, 01 Jan 2010) | 5 lines

  Issue #5080: turn the DeprecationWarning from float arguments passed
  to integer PyArg_Parse* format codes into a TypeError.  Add a
  DeprecationWarning for floats passed with the 'L' format code, which
  didn't previously have a warning.
........

15 years agoMerged revisions 77212-77215 via svnmerge from
Benjamin Peterson [Fri, 1 Jan 2010 16:04:23 +0000 (16:04 +0000)]
Merged revisions 77212-77215 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77212 | benjamin.peterson | 2010-01-01 09:16:29 -0600 (Fri, 01 Jan 2010) | 1 line

  use pkg-config to find the libffi headers when --with-system-ffi is used #6943
........
  r77213 | benjamin.peterson | 2010-01-01 09:18:38 -0600 (Fri, 01 Jan 2010) | 1 line

  add note
........
  r77214 | benjamin.peterson | 2010-01-01 09:20:06 -0600 (Fri, 01 Jan 2010) | 1 line

  fix indentation
........
  r77215 | benjamin.peterson | 2010-01-01 09:21:13 -0600 (Fri, 01 Jan 2010) | 1 line

  allow --with-dbmliborder to specify that no dbm modules will be built #6491
........

15 years agoMerged revisions 77204 via svnmerge from
Benjamin Peterson [Fri, 1 Jan 2010 04:49:25 +0000 (04:49 +0000)]
Merged revisions 77204 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77204 | ezio.melotti | 2009-12-31 22:16:42 -0600 (Thu, 31 Dec 2009) | 1 line

  more copyright year updates
........

15 years agoMerged revisions 77203 via svnmerge from
Benjamin Peterson [Fri, 1 Jan 2010 04:47:54 +0000 (04:47 +0000)]
Merged revisions 77203 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77203 | benjamin.peterson | 2009-12-31 22:00:55 -0600 (Thu, 31 Dec 2009) | 1 line

  update copyright year
........

15 years agoBlocked revisions 77198 via svnmerge
Brett Cannon [Fri, 1 Jan 2010 02:00:24 +0000 (02:00 +0000)]
Blocked revisions 77198 via svnmerge

........
  r77198 | brett.cannon | 2009-12-31 17:44:57 -0800 (Thu, 31 Dec 2009) | 3 lines

  Add some missing command-line options to the main list. All but -V were already
  documented. Left -V undocumented for now (and -U was already undocumented).
........

15 years agoClean up the list of allowed command-line flags.
Brett Cannon [Fri, 1 Jan 2010 01:58:39 +0000 (01:58 +0000)]
Clean up the list of allowed command-line flags.

15 years agoMerged revisions 77193 via svnmerge from
Mark Dickinson [Thu, 31 Dec 2009 21:22:50 +0000 (21:22 +0000)]
Merged revisions 77193 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77193 | mark.dickinson | 2009-12-31 21:11:48 +0000 (Thu, 31 Dec 2009) | 1 line

  More configure fixes: avoid sh 'integer argument expected' error when 'long long' type doesn't exist.
........

15 years agoMerged revisions 77189 via svnmerge from
Mark Dickinson [Thu, 31 Dec 2009 20:50:59 +0000 (20:50 +0000)]
Merged revisions 77189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77189 | mark.dickinson | 2009-12-31 20:48:04 +0000 (Thu, 31 Dec 2009) | 1 line

  Add missing quotes.
........

15 years agoBlocked revisions 77180 via svnmerge
Ezio Melotti [Thu, 31 Dec 2009 13:58:03 +0000 (13:58 +0000)]
Blocked revisions 77180 via svnmerge

........
  r77180 | ezio.melotti | 2009-12-31 15:27:41 +0200 (Thu, 31 Dec 2009) | 1 line

  indentation and further alignment with py3k
........

15 years agoBlocked revisions 77181 via svnmerge
Ezio Melotti [Thu, 31 Dec 2009 13:56:50 +0000 (13:56 +0000)]
Blocked revisions 77181 via svnmerge

........
  r77181 | ezio.melotti | 2009-12-31 15:47:24 +0200 (Thu, 31 Dec 2009) | 1 line

  #7613: missing ) in flmodule.c
........

15 years agoMerged revisions 77178 via svnmerge from
Ezio Melotti [Thu, 31 Dec 2009 13:22:41 +0000 (13:22 +0000)]
Merged revisions 77178 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77178 | ezio.melotti | 2009-12-31 15:00:43 +0200 (Thu, 31 Dec 2009) | 1 line

  cleanup and refactoring
........

15 years ago#7612: typo in stdtypes.rst
Ezio Melotti [Thu, 31 Dec 2009 12:24:38 +0000 (12:24 +0000)]
#7612: typo in stdtypes.rst

15 years agoIssue #6687: Moved the special-case for integers out of PyBytes_FromObject.
Alexandre Vassalotti [Thu, 31 Dec 2009 03:56:09 +0000 (03:56 +0000)]
Issue #6687: Moved the special-case for integers out of PyBytes_FromObject.

15 years agoMerged revisions 77151-77152 via svnmerge from
Benjamin Peterson [Thu, 31 Dec 2009 03:35:15 +0000 (03:35 +0000)]
Merged revisions 77151-77152 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77151 | georg.brandl | 2009-12-30 12:32:50 -0600 (Wed, 30 Dec 2009) | 1 line

  #7487: update Pygments version.
........
  r77152 | georg.brandl | 2009-12-30 12:36:09 -0600 (Wed, 30 Dec 2009) | 1 line

  #7602: improve "clean" and "checkout" targets now that all tools are in externals.
........

15 years agoMerged revisions 76852,77001,77115,77127 via svnmerge from
Benjamin Peterson [Thu, 31 Dec 2009 03:31:15 +0000 (03:31 +0000)]
Merged revisions 76852,77001,77115,77127 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76852 | benjamin.peterson | 2009-12-15 21:36:22 -0600 (Tue, 15 Dec 2009) | 1 line

  remove type_compare, since type_richcompare does the same trick
........
  r77001 | brett.cannon | 2009-12-21 20:37:37 -0600 (Mon, 21 Dec 2009) | 1 line

  Make a word plural.
........
  r77115 | andrew.kuchling | 2009-12-29 14:10:16 -0600 (Tue, 29 Dec 2009) | 1 line

  Various additions
........
  r77127 | andrew.kuchling | 2009-12-29 17:41:04 -0600 (Tue, 29 Dec 2009) | 1 line

  Add various items
........

15 years agoMerged revisions 77169 via svnmerge from
Benjamin Peterson [Thu, 31 Dec 2009 03:23:10 +0000 (03:23 +0000)]
Merged revisions 77169 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77169 | benjamin.peterson | 2009-12-30 21:17:18 -0600 (Wed, 30 Dec 2009) | 2 lines

  add a --with-system-expat option to build pyexpat against the system's lib #7609
........

15 years agoBlocked revisions 76912,76996,77030,77037 via svnmerge
Benjamin Peterson [Thu, 31 Dec 2009 03:16:47 +0000 (03:16 +0000)]
Blocked revisions 76912,76996,77030,77037 via svnmerge

........
  r76912 | senthil.kumaran | 2009-12-20 01:29:31 -0600 (Sun, 20 Dec 2009) | 3 lines

  Document the headers parameter for set_tunnel.
........
  r76996 | tarek.ziade | 2009-12-21 17:31:55 -0600 (Mon, 21 Dec 2009) | 1 line

  backported r76993 and r76994 so the trunk behaves the same way with MSVC Manifest files editing
........
  r77030 | ronald.oussoren | 2009-12-24 07:30:42 -0600 (Thu, 24 Dec 2009) | 5 lines

  An update to the script that's used to build the binary installer: don't install files in
  /usr/local by default. Users can still choose to install files into /usr/local, but by
  default we'll only install files in /Library/Framework/Python.framework and
  /Applications/Python X.Y/
........
  r77037 | ronald.oussoren | 2009-12-24 08:50:35 -0600 (Thu, 24 Dec 2009) | 2 lines

  Unittests and news items for the patch in r77026.
........

15 years agoMerged revisions 76847,76851,76869,76882,76891-76892,76924,77007,77070,77092,77096...
Benjamin Peterson [Thu, 31 Dec 2009 03:11:23 +0000 (03:11 +0000)]
Merged revisions 76847,76851,76869,76882,76891-76892,76924,77007,77070,77092,77096,77120,77126,77155 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76847 | benjamin.peterson | 2009-12-14 21:25:27 -0600 (Mon, 14 Dec 2009) | 1 line

  adverb
........
  r76851 | benjamin.peterson | 2009-12-15 21:28:52 -0600 (Tue, 15 Dec 2009) | 1 line

  remove lib2to3 resource
........
  r76869 | vinay.sajip | 2009-12-17 08:52:00 -0600 (Thu, 17 Dec 2009) | 1 line

  Issue #7529: logging: Minor correction to documentation.
........
  r76882 | georg.brandl | 2009-12-19 11:30:28 -0600 (Sat, 19 Dec 2009) | 1 line

  #7527: use standard versionadded tags.
........
  r76891 | georg.brandl | 2009-12-19 12:16:31 -0600 (Sat, 19 Dec 2009) | 1 line

  #7479: add note about function availability on Unices.
........
  r76892 | georg.brandl | 2009-12-19 12:20:18 -0600 (Sat, 19 Dec 2009) | 1 line

  #7480: remove tautology.
........
  r76924 | georg.brandl | 2009-12-20 08:28:05 -0600 (Sun, 20 Dec 2009) | 1 line

  Small indentation fix.
........
  r77007 | gregory.p.smith | 2009-12-23 03:31:11 -0600 (Wed, 23 Dec 2009) | 3 lines

  Fix possible integer overflow in lchown and fchown functions.  For issue1747858.
........
  r77070 | amaury.forgeotdarc | 2009-12-27 14:06:44 -0600 (Sun, 27 Dec 2009) | 2 lines

  Fix a typo in comment
........
  r77092 | georg.brandl | 2009-12-28 02:48:24 -0600 (Mon, 28 Dec 2009) | 1 line

  #7404: remove reference to non-existing example files.
........
  r77096 | benjamin.peterson | 2009-12-28 14:51:17 -0600 (Mon, 28 Dec 2009) | 1 line

  document new fix_callable behavior
........
  r77120 | georg.brandl | 2009-12-29 15:09:17 -0600 (Tue, 29 Dec 2009) | 1 line

  #7595: fix typo in argument default constant.
........
  r77126 | amaury.forgeotdarc | 2009-12-29 17:06:17 -0600 (Tue, 29 Dec 2009) | 2 lines

  #7579: Add docstrings to the msvcrt module
........
  r77155 | georg.brandl | 2009-12-30 13:03:00 -0600 (Wed, 30 Dec 2009) | 1 line

  We only support Windows NT derivatives now.
........

15 years agoMerged revisions 77160 via svnmerge from
Benjamin Peterson [Wed, 30 Dec 2009 19:52:54 +0000 (19:52 +0000)]
Merged revisions 77160 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r77160 | benjamin.peterson | 2009-12-30 13:44:23 -0600 (Wed, 30 Dec 2009) | 9 lines

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

  ........
    r77158 | benjamin.peterson | 2009-12-30 13:41:03 -0600 (Wed, 30 Dec 2009) | 1 line

    clean up logging's global state after the test finishes
  ........
................

15 years agoMerged revisions 77157 via svnmerge from
Benjamin Peterson [Wed, 30 Dec 2009 19:44:54 +0000 (19:44 +0000)]
Merged revisions 77157 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77157 | benjamin.peterson | 2009-12-30 13:34:10 -0600 (Wed, 30 Dec 2009) | 5 lines

  check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604)

  Also, add a note to the docs about the better behavior of T_OBJECT_EX as
  compared to T_OBJECT.
........

15 years agoMerged revisions 77145 via svnmerge from
Georg Brandl [Wed, 30 Dec 2009 16:24:25 +0000 (16:24 +0000)]
Merged revisions 77145 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77145 | georg.brandl | 2009-12-30 17:21:26 +0100 (Mi, 30 Dez 2009) | 1 line

  Use new Pygments version.
........

15 years agoMerged revisions 77139-77140 via svnmerge from
Mark Dickinson [Wed, 30 Dec 2009 16:22:49 +0000 (16:22 +0000)]
Merged revisions 77139-77140 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77139 | mark.dickinson | 2009-12-30 12:12:23 +0000 (Wed, 30 Dec 2009) | 3 lines

  Issue #7534:  Fix handling of nans, infinities, and negative zero in **
  operator, on IEEE 754 platforms.  Thanks Marcos Donolo for original patch.
........
  r77140 | mark.dickinson | 2009-12-30 12:22:49 +0000 (Wed, 30 Dec 2009) | 1 line

  Add Marcos Donolo for work on issue 7534 patch.
........

15 years agoMerged revisions 77136 via svnmerge from
Ezio Melotti [Wed, 30 Dec 2009 12:34:59 +0000 (12:34 +0000)]
Merged revisions 77136 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77136 | ezio.melotti | 2009-12-30 08:14:51 +0200 (Wed, 30 Dec 2009) | 1 line

  #5511: Added the ability to use ZipFile as a context manager. Patch by Brian Curtin.
........

15 years agoMerged revisions 77130 via svnmerge from
Benjamin Peterson [Wed, 30 Dec 2009 03:03:54 +0000 (03:03 +0000)]
Merged revisions 77130 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77130 | benjamin.peterson | 2009-12-29 21:02:34 -0600 (Tue, 29 Dec 2009) | 1 line

  wrap long line
........

15 years agoMerged revisions 77128 via svnmerge from
Benjamin Peterson [Wed, 30 Dec 2009 03:02:03 +0000 (03:02 +0000)]
Merged revisions 77128 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77128 | benjamin.peterson | 2009-12-29 20:58:50 -0600 (Tue, 29 Dec 2009) | 1 line

  only build the nis module when the headers are found #7589
........

15 years ago(issue 7413 does not concern py3k, I merge the test nonetheless)
Amaury Forgeot d'Arc [Tue, 29 Dec 2009 22:24:40 +0000 (22:24 +0000)]
(issue 7413 does not concern py3k, I merge the test nonetheless)

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

........
  r77122 | amaury.forgeotdarc | 2009-12-29 23:03:38 +0100 (mar., 29 déc. 2009) | 3 lines

  #7413: Passing '\0' as the separator to datetime.datetime.isoformat()
  used to drop the time part of the result.
........

15 years ago#7590: exception classes no longer are in the "exceptions" module. Also clean up...
Georg Brandl [Tue, 29 Dec 2009 21:38:35 +0000 (21:38 +0000)]
#7590: exception classes no longer are in the "exceptions" module. Also clean up text that was written with string exceptions in mind.

15 years agoMerged revisions 77116 via svnmerge from
Mark Dickinson [Tue, 29 Dec 2009 20:52:27 +0000 (20:52 +0000)]
Merged revisions 77116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77116 | mark.dickinson | 2009-12-29 20:51:24 +0000 (Tue, 29 Dec 2009) | 6 lines

  Issue #7575:  An overflow test for math.expm1 was failing on OS X 10.4/Intel,
  due to a defect in the platform's implementation of expm1.  Since the issue
  is of low severity, and appears to be fixed in OS X 10.5 and 10.6, it doesn't
  seem worth working around, so I'm just weakening the relevant test so that
  it passes on 10.4.
........

15 years agoBlocked revisions 77111 via svnmerge
Georg Brandl [Tue, 29 Dec 2009 11:26:30 +0000 (11:26 +0000)]
Blocked revisions 77111 via svnmerge

........
  r77111 | georg.brandl | 2009-12-29 12:25:38 +0100 (Di, 29 Dez 2009) | 1 line

  Fix wrong markup.
........

15 years agoMerged revisions 77108-77109 via svnmerge from
Georg Brandl [Tue, 29 Dec 2009 11:24:00 +0000 (11:24 +0000)]
Merged revisions 77108-77109 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77108 | georg.brandl | 2009-12-29 11:34:34 +0100 (Di, 29 Dez 2009) | 1 line

  #7569: clarification about c_char_p.
........
  r77109 | georg.brandl | 2009-12-29 12:06:31 +0100 (Di, 29 Dez 2009) | 1 line

  Improve markup of ctypes docs.
........

15 years agoMerged revisions 77104 via svnmerge from
Benjamin Peterson [Tue, 29 Dec 2009 00:38:47 +0000 (00:38 +0000)]
Merged revisions 77104 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77104 | benjamin.peterson | 2009-12-28 18:09:33 -0600 (Mon, 28 Dec 2009) | 1 line

  enable test_main.py
........

15 years agofix test on py3
Benjamin Peterson [Tue, 29 Dec 2009 00:37:04 +0000 (00:37 +0000)]
fix test on py3

15 years agoMerged revisions 77102 via svnmerge from
Benjamin Peterson [Tue, 29 Dec 2009 00:06:20 +0000 (00:06 +0000)]
Merged revisions 77102 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r77102 | benjamin.peterson | 2009-12-28 17:50:41 -0600 (Mon, 28 Dec 2009) | 50 lines

  Merged revisions 76871-76872,77093-77095,77097-77101 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r76871 | benjamin.peterson | 2009-12-17 20:49:21 -0600 (Thu, 17 Dec 2009) | 1 line

    handle unencodable diffs gracefully #5093
  ........
    r76872 | benjamin.peterson | 2009-12-17 20:51:37 -0600 (Thu, 17 Dec 2009) | 1 line

    fix emacs header
  ........
    r77093 | benjamin.peterson | 2009-12-28 14:43:32 -0600 (Mon, 28 Dec 2009) | 7 lines

    replace callable(x) with isinstance(x, collections.Callable) #7006

    This is a more accurate translation than hasattr(x, '__call__') which failed in
    the case that somebody had put __call__ in the instance dictionary.

    Patch mostly by Joe Amenta.
  ........
    r77094 | benjamin.peterson | 2009-12-28 14:45:13 -0600 (Mon, 28 Dec 2009) | 2 lines

    deuglify imports
  ........
    r77095 | benjamin.peterson | 2009-12-28 14:49:23 -0600 (Mon, 28 Dec 2009) | 1 line

    remove unused flag
  ........
    r77097 | benjamin.peterson | 2009-12-28 16:12:13 -0600 (Mon, 28 Dec 2009) | 2 lines

    clean up imports and whitespace
  ........
    r77098 | benjamin.peterson | 2009-12-28 16:43:35 -0600 (Mon, 28 Dec 2009) | 1 line

    *** empty log message ***
  ........
    r77099 | benjamin.peterson | 2009-12-28 16:45:10 -0600 (Mon, 28 Dec 2009) | 1 line

    revert unintended change
  ........
    r77100 | benjamin.peterson | 2009-12-28 16:53:21 -0600 (Mon, 28 Dec 2009) | 1 line

    revert unintended changes
  ........
    r77101 | benjamin.peterson | 2009-12-28 17:46:02 -0600 (Mon, 28 Dec 2009) | 1 line

    normalize whitespace
  ........
................

15 years agoMerged revisions 77088 via svnmerge from
Georg Brandl [Mon, 28 Dec 2009 08:41:01 +0000 (08:41 +0000)]
Merged revisions 77088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77088 | georg.brandl | 2009-12-28 09:34:58 +0100 (Mo, 28 Dez 2009) | 1 line

  #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new exceptions a docstring.
........

15 years agoRecorded merge of revisions 77086 via svnmerge from
Georg Brandl [Mon, 28 Dec 2009 08:10:38 +0000 (08:10 +0000)]
Recorded merge of revisions 77086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77086 | georg.brandl | 2009-12-28 09:09:32 +0100 (Mo, 28 Dez 2009) | 1 line

  #7381: consistency update, and backport avoiding ``None >= 0`` check from py3k.
........

15 years agoMerged revisions 77084 via svnmerge from
Georg Brandl [Mon, 28 Dec 2009 08:02:38 +0000 (08:02 +0000)]
Merged revisions 77084 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77084 | georg.brandl | 2009-12-28 09:01:59 +0100 (Mo, 28 Dez 2009) | 1 line

  #7586: fix typo.
........

15 years agoMerged revisions 77081 via svnmerge from
Georg Brandl [Mon, 28 Dec 2009 08:00:47 +0000 (08:00 +0000)]
Merged revisions 77081 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77081 | georg.brandl | 2009-12-28 08:59:05 +0100 (Mo, 28 Dez 2009) | 1 line

  #7577: fix signature of PyBuffer_FillInfo().
........

15 years ago#7577: fix signature info for getbufferproc.
Georg Brandl [Mon, 28 Dec 2009 07:59:20 +0000 (07:59 +0000)]
#7577: fix signature info for getbufferproc.

15 years agoMerged revisions 77071 via svnmerge from
Mark Dickinson [Sun, 27 Dec 2009 21:34:05 +0000 (21:34 +0000)]
Merged revisions 77071 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77071 | mark.dickinson | 2009-12-27 21:31:50 +0000 (Sun, 27 Dec 2009) | 1 line

  Use a more idiomatic check in check_truediv.
........