]> granicus.if.org Git - python/log
python
14 years agoMerged revisions 86202 via svnmerge from
Brian Curtin [Fri, 5 Nov 2010 15:42:57 +0000 (15:42 +0000)]
Merged revisions 86202 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86202 | brian.curtin | 2010-11-05 10:40:27 -0500 (Fri, 05 Nov 2010) | 2 lines

  Fix ResourceWarning from subprocess pipes being left open.
........

14 years agoMerged revisions 86198 via svnmerge from
Brian Curtin [Fri, 5 Nov 2010 15:31:20 +0000 (15:31 +0000)]
Merged revisions 86198 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86198 | brian.curtin | 2010-11-05 10:17:11 -0500 (Fri, 05 Nov 2010) | 2 lines

  Close subprocess pipes in _kill. Fixes a number of ResourceWarnings.
........

14 years agoBackport r85525 from #10098.
Brian Curtin [Fri, 5 Nov 2010 15:28:19 +0000 (15:28 +0000)]
Backport r85525 from #10098.

14 years agoMerged revisions 86195 via svnmerge from
Brian Curtin [Fri, 5 Nov 2010 15:12:47 +0000 (15:12 +0000)]
Merged revisions 86195 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86195 | brian.curtin | 2010-11-05 10:04:48 -0500 (Fri, 05 Nov 2010) | 3 lines

  Close subprocess pipes in the non-UNIX section of run_cgi.
  Clears a number of ResourceWarnings in test_httpservers.
........

14 years agoMerged revisions 86192 via svnmerge from
Brian Curtin [Fri, 5 Nov 2010 14:56:16 +0000 (14:56 +0000)]
Merged revisions 86192 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86192 | brian.curtin | 2010-11-05 09:48:35 -0500 (Fri, 05 Nov 2010) | 3 lines

  Shift the pipe-using code into an else block, then close the pipe
  in finally. Removes two ResourceWarnings.
........

14 years agoClarify.
Georg Brandl [Fri, 5 Nov 2010 07:38:48 +0000 (07:38 +0000)]
Clarify.

14 years ago#10315: Fix version tag.
Georg Brandl [Fri, 5 Nov 2010 07:37:51 +0000 (07:37 +0000)]
#10315: Fix version tag.

14 years agoMerged revisions 86185 via svnmerge from
Brian Curtin [Fri, 5 Nov 2010 04:09:09 +0000 (04:09 +0000)]
Merged revisions 86185 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86185 | brian.curtin | 2010-11-04 22:58:52 -0500 (Thu, 04 Nov 2010) | 2 lines

  Add cleanups to stdout/stderr pipes to remove ResourceWarnings.
........

14 years agoMerged revisions 85930 via svnmerge from
Alexander Belopolsky [Fri, 5 Nov 2010 01:56:24 +0000 (01:56 +0000)]
Merged revisions 85930 via svnmerge from
http://svn.python.org/projects/python/branches/py3k

........
  r85930 | alexander.belopolsky | 2010-10-29 13:16:49 -0400 (Fri, 29 Oct 2010) | 1 line

  Issue 7061: Explained 'gon'
........

14 years agobsddb changed; increase its revision
Jesus Cea [Fri, 5 Nov 2010 00:31:20 +0000 (00:31 +0000)]
bsddb changed; increase its revision

14 years agoIssue #9675: better error handling in bsddb
Jesus Cea [Fri, 5 Nov 2010 00:13:50 +0000 (00:13 +0000)]
Issue #9675: better error handling in bsddb

14 years agoCObject use is marked as a Py3k warning, not a deprecation warning
Jesus Cea [Thu, 4 Nov 2010 21:39:52 +0000 (21:39 +0000)]
CObject use is marked as a Py3k warning, not a deprecation warning

14 years agoBlocked revisions 86170 via svnmerge
Eric Smith [Thu, 4 Nov 2010 17:11:57 +0000 (17:11 +0000)]
Blocked revisions 86170 via svnmerge

........
  r86170 | eric.smith | 2010-11-04 13:06:58 -0400 (Thu, 04 Nov 2010) | 1 line

  Issue #6081: Add str.format_map. str.format_map(mapping) is similar to str.format(**mapping), except mapping does not get converted to a dict.
........

14 years agoBlocked revisions 85980,86116,86159,86163 via svnmerge
Hirokazu Yamamoto [Thu, 4 Nov 2010 14:14:05 +0000 (14:14 +0000)]
Blocked revisions 85980,86116,86159,86163 via svnmerge

........
  r85980 | hirokazu.yamamoto | 2010-10-31 00:08:15 +0900 | 1 line

  Issue #10157: Fixed refleaks in pythonrun.c. Patch by Stefan Krah.
........
  r86116 | hirokazu.yamamoto | 2010-11-02 22:48:13 +0900 | 1 line

  Py_BUILD_CORE_MODULE was not needed in python.dsp and pythonw.dsp.
........
  r86159 | hirokazu.yamamoto | 2010-11-04 21:09:08 +0900 | 2 lines

  Issue #5391: mmap.read_byte() should return unsigned value [0, 255]
  instead of signed value [-127, 128].
........
  r86163 | hirokazu.yamamoto | 2010-11-04 22:49:41 +0900 | 1 line

  Added svn:ignore.
........

14 years agoUpdated PC/*/select.[dsp,vcproj] to follow r86136. (use winsock2)
Hirokazu Yamamoto [Thu, 4 Nov 2010 12:03:16 +0000 (12:03 +0000)]
Updated PC/*/select.[dsp,vcproj] to follow r86136. (use winsock2)

14 years agoMerged revisions 86151 via svnmerge from
Brian Curtin [Thu, 4 Nov 2010 03:54:23 +0000 (03:54 +0000)]
Merged revisions 86151 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86151 | brian.curtin | 2010-11-03 22:41:43 -0500 (Wed, 03 Nov 2010) | 3 lines

  Fix three ResourceWarnings.
  Mimic the clientTearDown from ThreadedTCPSocketTest, closing the socket.
........

14 years agoissue 10295
Kristján Valur Jónsson [Wed, 3 Nov 2010 13:27:33 +0000 (13:27 +0000)]
issue 10295
Make selectmodule.c use winsock2 like socketmodule does.

14 years agoMerged revisions 86130 via svnmerge from
Antoine Pitrou [Tue, 2 Nov 2010 23:51:30 +0000 (23:51 +0000)]
Merged revisions 86130 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86130 | antoine.pitrou | 2010-11-03 00:50:11 +0100 (mer., 03 nov. 2010) | 3 lines

  Issue #10173: test_multiprocessing shouldn't pickle TestCase instances
........

14 years agoIssue 10038. Restore the Python 2.6 behavior that json.loads() always returns
Barry Warsaw [Tue, 2 Nov 2010 21:03:09 +0000 (21:03 +0000)]
Issue 10038.  Restore the Python 2.6 behavior that json.loads() always returns
unicode.  Patch by Patch by Walter Dörwald.

14 years agoRecorded merge of revisions 86117 via svnmerge from
Hirokazu Yamamoto [Tue, 2 Nov 2010 18:27:06 +0000 (18:27 +0000)]
Recorded merge of revisions 86117 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86117 | hirokazu.yamamoto | 2010-11-02 23:06:03 +0900 | 2 lines

  Defined Py_BUILD_CORE_MODULE also on VC7.1.
  # I don't have this compiler, so I couldn't test it.
........

14 years agoRecorded merge of revisions 86113 via svnmerge from
Hirokazu Yamamoto [Tue, 2 Nov 2010 18:11:58 +0000 (18:11 +0000)]
Recorded merge of revisions 86113 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86113 | hirokazu.yamamoto | 2010-11-02 22:21:31 +0900 | 1 line

  Defined Py_BUILD_CORE_MODULE also on VC6.
........

14 years agoRemove an assert which snuck in during merging from py3k.
Brian Curtin [Tue, 2 Nov 2010 13:46:08 +0000 (13:46 +0000)]
Remove an assert which snuck in during merging from py3k.

14 years agoMerged revisions 86111 via svnmerge from
Steven Bethard [Tue, 2 Nov 2010 12:48:15 +0000 (12:48 +0000)]
Merged revisions 86111 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86111 | steven.bethard | 2010-11-02 13:47:22 +0100 (Tue, 02 Nov 2010) | 1 line

  Fix bug 9340 - argparse parse_known_args didn't work with subparsers
........

14 years agoMerged revisions 86107 via svnmerge from
Brian Curtin [Tue, 2 Nov 2010 04:04:37 +0000 (04:04 +0000)]
Merged revisions 86107 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86107 | brian.curtin | 2010-11-01 22:59:09 -0500 (Mon, 01 Nov 2010) | 2 lines

  Clean up ResourceWarnings. Explictly close stdout from the subprocess.
........

14 years agoMerged revisions 86105 via svnmerge from
Brian Curtin [Tue, 2 Nov 2010 02:59:55 +0000 (02:59 +0000)]
Merged revisions 86105 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86105 | brian.curtin | 2010-11-01 21:07:09 -0500 (Mon, 01 Nov 2010) | 2 lines

  Clean up ResourceWarnings due to unclosed sockets.
  Added testDup which was not previously covered in 2.x.
........

14 years agoMerged revisions 86101 via svnmerge from
Michael Foord [Mon, 1 Nov 2010 22:11:53 +0000 (22:11 +0000)]
Merged revisions 86101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86101 | michael.foord | 2010-11-01 21:09:03 +0000 (Mon, 01 Nov 2010) | 1 line

  Fix issue 9926. TestSuite subclasses that override __call__ are called correctly.
........

14 years agoMerged revisions 86092 via svnmerge from
Steven Bethard [Mon, 1 Nov 2010 16:30:24 +0000 (16:30 +0000)]
Merged revisions 86092 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86092 | steven.bethard | 2010-11-01 17:29:26 +0100 (Mon, 01 Nov 2010) | 1 line

  Fix for issue 9355 where with multiple mutually exclusive arguments, some brackets were being lost in the usage messages
........

14 years agoMerged revisions 86090 via svnmerge from
Steven Bethard [Mon, 1 Nov 2010 15:59:35 +0000 (15:59 +0000)]
Merged revisions 86090 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86090 | steven.bethard | 2010-11-01 16:57:36 +0100 (Mon, 01 Nov 2010) | 1 line

  Fix bug 9352 where characters were being lost in parsing some short options
........

14 years agoMerged revisions 86086 via svnmerge from
Steven Bethard [Mon, 1 Nov 2010 15:24:42 +0000 (15:24 +0000)]
Merged revisions 86086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86086 | steven.bethard | 2010-11-01 16:23:12 +0100 (Mon, 01 Nov 2010) | 1 line

  Get argparse.__all__ back up to date (issue 9353)
........

14 years agoFix Issue 6706: return None on connect() in case of EWOULDBLOCK/ECONNABORTED error.
Giampaolo Rodolà [Mon, 1 Nov 2010 15:07:14 +0000 (15:07 +0000)]
Fix Issue 6706: return None on connect() in case of EWOULDBLOCK/ECONNABORTED error.

14 years agoMerged revisions 86080 via svnmerge from
Steven Bethard [Mon, 1 Nov 2010 14:09:21 +0000 (14:09 +0000)]
Merged revisions 86080 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86080 | steven.bethard | 2010-11-01 14:56:09 +0100 (Mon, 01 Nov 2010) | 1 line

  Unset COLUMNS for test_argparse (and restore afterwards) (issue 9553)
........

14 years agoMerged revisions 86077 via svnmerge from
Brian Curtin [Mon, 1 Nov 2010 05:15:55 +0000 (05:15 +0000)]
Merged revisions 86077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86077 | brian.curtin | 2010-11-01 00:10:44 -0500 (Mon, 01 Nov 2010) | 3 lines

  Fix some ResourceErrors.
  Use a context manager for os.popen and explicitly close a socket.
........

14 years agoMerged revisions 86075 via svnmerge from
Benjamin Peterson [Mon, 1 Nov 2010 01:47:19 +0000 (01:47 +0000)]
Merged revisions 86075 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86075 | benjamin.peterson | 2010-10-31 20:44:30 -0500 (Sun, 31 Oct 2010) | 1 line

  fix output for getaddrinfo bug check #7059
........

14 years agoIssue 7402: Improve reduce() example in the python idioms how-to.
Raymond Hettinger [Sun, 31 Oct 2010 22:00:27 +0000 (22:00 +0000)]
Issue 7402: Improve reduce() example in the python idioms how-to.

14 years agoIssue 7447: Improve docs for sum().
Raymond Hettinger [Sun, 31 Oct 2010 21:28:53 +0000 (21:28 +0000)]
Issue 7447: Improve docs for sum().

14 years agoIssue 10025: Let docs for random.seed() describe what it does, not how it does it.
Raymond Hettinger [Sun, 31 Oct 2010 18:15:33 +0000 (18:15 +0000)]
Issue 10025:  Let docs for random.seed() describe what it does, not how it does it.
The latter was slightly inaccurate.

14 years agoMerged revisions 86042 via svnmerge from
Benjamin Peterson [Sun, 31 Oct 2010 16:53:53 +0000 (16:53 +0000)]
Merged revisions 86042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86042 | benjamin.peterson | 2010-10-31 11:50:44 -0500 (Sun, 31 Oct 2010) | 1 line

  add no output to with-system-ffi and with-system-expat
........

14 years agoMerged revisions 86040 via svnmerge from
Benjamin Peterson [Sun, 31 Oct 2010 16:40:21 +0000 (16:40 +0000)]
Merged revisions 86040 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86040 | benjamin.peterson | 2010-10-31 11:38:19 -0500 (Sun, 31 Oct 2010) | 1 line

  typo
........

14 years agoMerged revisions 86037 via svnmerge from
Antoine Pitrou [Sun, 31 Oct 2010 16:17:36 +0000 (16:17 +0000)]
Merged revisions 86037 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86037 | antoine.pitrou | 2010-10-31 17:04:14 +0100 (dim., 31 oct. 2010) | 4 lines

  Issue #10266: uu.decode didn't close in_file explicitly when it was given
  as a filename.  Patch by Brian Brazil.
........

14 years agoMerged revisions 85893 via svnmerge from
Antoine Pitrou [Sun, 31 Oct 2010 13:58:00 +0000 (13:58 +0000)]
Merged revisions 85893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85893 | georg.brandl | 2010-10-28 16:55:02 +0200 (jeu., 28 oct. 2010) | 1 line

  #10116: wrap transient_internet() around net access in test_urllib2net.
........

14 years agoDon't fail in test_ssl when svn.python.org is unavailable
Antoine Pitrou [Sun, 31 Oct 2010 13:26:53 +0000 (13:26 +0000)]
Don't fail in test_ssl when svn.python.org is unavailable

14 years agoMerged revisions 85926 via svnmerge from
Antoine Pitrou [Sun, 31 Oct 2010 13:17:46 +0000 (13:17 +0000)]
Merged revisions 85926 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85926 | antoine.pitrou | 2010-10-29 13:54:38 +0200 (ven., 29 oct. 2010) | 3 lines

  Actually restore the original asyncore socket map by making a copy of the dict
........

14 years agoMerged revisions 85935-85936 via svnmerge from
Antoine Pitrou [Sun, 31 Oct 2010 13:15:24 +0000 (13:15 +0000)]
Merged revisions 85935-85936 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85935 | antoine.pitrou | 2010-10-29 21:34:45 +0200 (ven., 29 oct. 2010) | 4 lines

  Make a GC run before trying to clean up files left over by
  the latest test run.
........
  r85936 | antoine.pitrou | 2010-10-29 21:36:37 +0200 (ven., 29 oct. 2010) | 3 lines

  Fix typo
........

14 years agoMerged revisions 85975 via svnmerge from
Antoine Pitrou [Sun, 31 Oct 2010 13:12:48 +0000 (13:12 +0000)]
Merged revisions 85975 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85975 | antoine.pitrou | 2010-10-30 15:03:56 +0200 (sam., 30 oct. 2010) | 4 lines

  Issue #10246: uu.encode didn't close file objects explicitly when filenames
  were given to it.  Patch by Brian Brazil.
........

14 years agoMerged revisions 85982 via svnmerge from
Antoine Pitrou [Sun, 31 Oct 2010 13:05:48 +0000 (13:05 +0000)]
Merged revisions 85982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85982 | antoine.pitrou | 2010-10-30 18:19:14 +0200 (sam., 30 oct. 2010) | 4 lines

  Issue #10253: FileIO leaks a file descriptor when trying to open a file
  for append that isn't seekable.  Patch by Brian Brazil.
........

14 years agoMerged revisions 86019 via svnmerge from
Brian Curtin [Sun, 31 Oct 2010 04:44:04 +0000 (04:44 +0000)]
Merged revisions 86019 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86019 | brian.curtin | 2010-10-30 23:40:53 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix a ResourceWarning for an unclosed socket.
........

14 years agoMerged revisions 86009 via svnmerge from
Brian Curtin [Sun, 31 Oct 2010 01:16:45 +0000 (01:16 +0000)]
Merged revisions 86009 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86009 | brian.curtin | 2010-10-30 20:10:58 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix ResourceWarning for unclosed files (from os.popen)
........

14 years agoMerged revisions 86006 via svnmerge from
Brian Curtin [Sun, 31 Oct 2010 00:36:01 +0000 (00:36 +0000)]
Merged revisions 86006 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86006 | brian.curtin | 2010-10-30 19:34:23 -0500 (Sat, 30 Oct 2010) | 3 lines

  Fix ResourceWarning for an unclosed socket.
  test_return_header_keep_alive - Added a cleanup call for the socket.
........

14 years agoMerged revisions 86003 via svnmerge from
Brian Curtin [Sun, 31 Oct 2010 00:08:27 +0000 (00:08 +0000)]
Merged revisions 86003 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86003 | brian.curtin | 2010-10-30 19:03:45 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix ResourceWarning. Use context manager to properly close file.
........

14 years agoMerged revisions 86000 via svnmerge from
Brian Curtin [Sun, 31 Oct 2010 00:00:30 +0000 (00:00 +0000)]
Merged revisions 86000 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86000 | brian.curtin | 2010-10-30 18:56:45 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix ResourceWarning about unclosed file
........

14 years agoMerged revisions 85987 via svnmerge from
Brian Curtin [Sat, 30 Oct 2010 21:29:52 +0000 (21:29 +0000)]
Merged revisions 85987 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85987 | brian.curtin | 2010-10-30 16:24:21 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix #10257. Clear resource warnings by using os.popen's context manager.
........

14 years agoMerged revisions 85984 via svnmerge from
Brian Curtin [Sat, 30 Oct 2010 21:07:42 +0000 (21:07 +0000)]
Merged revisions 85984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85984 | brian.curtin | 2010-10-30 16:03:18 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix #10256 - resource warning
........

14 years agoIssue 10221: Improve error message for dict.pop().
Raymond Hettinger [Sat, 30 Oct 2010 08:17:46 +0000 (08:17 +0000)]
Issue 10221: Improve error message for dict.pop().

14 years agoBackport r72961 fixing issue #6105: json.dumps not following OrderedDict iteration...
Raymond Hettinger [Sat, 30 Oct 2010 07:29:44 +0000 (07:29 +0000)]
Backport r72961 fixing issue #6105: json.dumps not following OrderedDict iteration order.

14 years agoMerged revisions 85931 via svnmerge from
Antoine Pitrou [Fri, 29 Oct 2010 18:17:19 +0000 (18:17 +0000)]
Merged revisions 85931 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85931 | antoine.pitrou | 2010-10-29 20:15:33 +0200 (ven., 29 oct. 2010) | 5 lines

  Issue #7547: fix transient failures due to network glitches in test_timeout.
  Patch by Sandro Tosi.
........

14 years agoFix issue 10214 by removing the out of date python-mode.el and replacing it
Barry Warsaw [Fri, 29 Oct 2010 14:07:38 +0000 (14:07 +0000)]
Fix issue 10214 by removing the out of date python-mode.el and replacing it
with a README.

14 years agoBlocked revisions 85916 via svnmerge
Lars Gustäbel [Fri, 29 Oct 2010 09:21:34 +0000 (09:21 +0000)]
Blocked revisions 85916 via svnmerge

........
  r85916 | lars.gustaebel | 2010-10-29 11:08:19 +0200 (Fri, 29 Oct 2010) | 7 lines

  Add read support for all missing variants of the GNU sparse
  extensions. Thus, in addition to GNUTYPE_SPARSE headers, sparse
  information in pax headers created by GNU tar can now be decoded.
  All three formats 0.0, 0.1 and 1.0 are supported.
  On filesystems that support this, holes in files are now restored
  whenever a sparse member is extracted.
........

14 years agoAdd version note about set literals.
Georg Brandl [Fri, 29 Oct 2010 08:53:55 +0000 (08:53 +0000)]
Add version note about set literals.

14 years agoUpdate Sphinx to 0.6.7.
Georg Brandl [Fri, 29 Oct 2010 05:41:25 +0000 (05:41 +0000)]
Update Sphinx to 0.6.7.

14 years agoMerged revisions 85904 via svnmerge from
Benjamin Peterson [Fri, 29 Oct 2010 03:45:34 +0000 (03:45 +0000)]
Merged revisions 85904 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85904 | benjamin.peterson | 2010-10-28 22:28:14 -0500 (Thu, 28 Oct 2010) | 1 line

  decrement offset when it points to a newline (#10186 followup)
........

14 years agoIssue #9295: Fix a crash under Windows when calling close() on a file
Antoine Pitrou [Thu, 28 Oct 2010 14:50:57 +0000 (14:50 +0000)]
Issue #9295: Fix a crash under Windows when calling close() on a file
object with custom buffering from two threads at once.

14 years agoBlocked revisions 85734 via svnmerge
R. David Murray [Wed, 27 Oct 2010 23:15:22 +0000 (23:15 +0000)]
Blocked revisions 85734 via svnmerge

........
  r85734 | r.david.murray | 2010-10-19 19:05:35 -0400 (Tue, 19 Oct 2010) | 2 lines

  Correct signature of BytesGenerator in docs.
........

14 years agoBlocked revisions 85846 via svnmerge
R. David Murray [Wed, 27 Oct 2010 23:14:06 +0000 (23:14 +0000)]
Blocked revisions 85846 via svnmerge

........
  r85846 | r.david.murray | 2010-10-26 08:42:24 -0400 (Tue, 26 Oct 2010) | 2 lines

  #7761: fix telnetlib.interact failures on Windows.
........

14 years agoMerged revisions 85868 via svnmerge from
Antoine Pitrou [Wed, 27 Oct 2010 20:35:26 +0000 (20:35 +0000)]
Merged revisions 85868 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85868 | antoine.pitrou | 2010-10-27 22:13:57 +0200 (mer., 27 oct. 2010) | 3 lines

  Issue #8852: Allow the socket module to build on OpenSolaris.
........

14 years agoMerged revisions 85864 via svnmerge from
Antoine Pitrou [Wed, 27 Oct 2010 19:53:15 +0000 (19:53 +0000)]
Merged revisions 85864 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85864 | antoine.pitrou | 2010-10-27 21:45:43 +0200 (mer., 27 oct. 2010) | 5 lines

  In open(), only set the buffer size from st.st_blksize when it is greater
  than 1.  This matches the pure Python implementation in _pyio and should
  fix a couple of failures on the NetBSD buildbot.
........

14 years agoMerged revisions 85861 via svnmerge from
Antoine Pitrou [Wed, 27 Oct 2010 18:58:04 +0000 (18:58 +0000)]
Merged revisions 85861 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85861 | antoine.pitrou | 2010-10-27 20:52:48 +0200 (mer., 27 oct. 2010) | 3 lines

  Recode modules from latin-1 to utf-8
........

14 years agoMerged revisions 85858 via svnmerge from
Antoine Pitrou [Wed, 27 Oct 2010 18:43:21 +0000 (18:43 +0000)]
Merged revisions 85858 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85858 | antoine.pitrou | 2010-10-27 20:33:30 +0200 (mer., 27 oct. 2010) | 5 lines

  Issue #5027: The standard `xml` namespace is now understood by
  xml.sax.saxutils.XMLGenerator as being bound to
  http://www.w3.org/XML/1998/namespace.  Patch by Troy J. Farrell.
........

14 years agoPunctuation fix.
Georg Brandl [Wed, 27 Oct 2010 07:09:22 +0000 (07:09 +0000)]
Punctuation fix.

14 years agoAdd 2.7.1 UUIDs.
Martin v. Löwis [Mon, 25 Oct 2010 19:55:48 +0000 (19:55 +0000)]
Add 2.7.1 UUIDs.

14 years agotest_gdb should be skipped on darwin (not up to v7 yet)
Skip Montanaro [Mon, 25 Oct 2010 01:35:23 +0000 (01:35 +0000)]
test_gdb should be skipped on darwin (not up to v7 yet)

14 years agoMerged revisions 85536 via svnmerge from
Georg Brandl [Sun, 24 Oct 2010 14:16:05 +0000 (14:16 +0000)]
Merged revisions 85536 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85536 | georg.brandl | 2010-10-15 18:26:08 +0200 (Fr, 15 Okt 2010) | 1 line

  #9054: fix crash when using pyexpat with a system expat lib version 2.0.1.
........

14 years agoMerged revisions 85814 via svnmerge from
Benjamin Peterson [Sun, 24 Oct 2010 03:00:35 +0000 (03:00 +0000)]
Merged revisions 85814 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85814 | benjamin.peterson | 2010-10-23 21:52:05 -0500 (Sat, 23 Oct 2010) | 1 line

  remove broken code accounting an offset the size of the line #10186
........

14 years agoBlocked revisions 85811 via svnmerge
R. David Murray [Sat, 23 Oct 2010 22:23:33 +0000 (22:23 +0000)]
Blocked revisions 85811 via svnmerge

........
  r85811 | r.david.murray | 2010-10-23 18:19:56 -0400 (Sat, 23 Oct 2010) | 2 lines

  #1349106: add linesep argument to generator.flatten and header.encode.
........

14 years agoOnly hack cmd.library_dirs when running under Py_ENABLE_SHARED. Tested both
Barry Warsaw [Fri, 22 Oct 2010 15:31:44 +0000 (15:31 +0000)]
Only hack cmd.library_dirs when running under Py_ENABLE_SHARED.  Tested both
with and without --enable-shared on Ubuntu 10.10.  Hopefully this finally
solves bug 10126.  Will check 3.1 and py3k next.

14 years ago#9289: Workaround for test_long_key(test_winreg) failure on Win2000.
Hirokazu Yamamoto [Fri, 22 Oct 2010 11:47:07 +0000 (11:47 +0000)]
#9289: Workaround for test_long_key(test_winreg) failure on Win2000.
RegDeleteKeyA fails with ERROR_MORE_DATA if the length of 2nd
parameter exceeds 260.

14 years agoFix issue 10126 for Python 2.7 by using $RUNSHARED to find the
Barry Warsaw [Thu, 21 Oct 2010 22:13:29 +0000 (22:13 +0000)]
Fix issue 10126 for Python 2.7 by using $RUNSHARED to find the
directory to the shared library.  test_distutils now passes when
Python was built with --enable-shared.

14 years agoBackport fix for #10126
Éric Araujo [Thu, 21 Oct 2010 18:48:59 +0000 (18:48 +0000)]
Backport fix for #10126

14 years agoMerged revisions 85774 via svnmerge from
Brian Curtin [Thu, 21 Oct 2010 14:48:22 +0000 (14:48 +0000)]
Merged revisions 85774 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85774 | brian.curtin | 2010-10-21 09:11:48 -0500 (Thu, 21 Oct 2010) | 7 lines

  Fix #10162: Add try/except around _winreg.OpenKey for keys that are
  unreadable by all users, e.g., Flash, Silverlight, and Java keys were
  causing errors.

  We don't currently have a way to grant/deny permissions for a key
  via winreg so there are no tests for this.
........

14 years agoMerged revisions 85757 via svnmerge from
Benjamin Peterson [Wed, 20 Oct 2010 21:28:09 +0000 (21:28 +0000)]
Merged revisions 85757 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85757 | benjamin.peterson | 2010-10-20 16:25:23 -0500 (Wed, 20 Oct 2010) | 1 line

  fix uninitialized struct member #10152
........

14 years agoMerged revisions 85744 via svnmerge from
Ronald Oussoren [Wed, 20 Oct 2010 13:11:46 +0000 (13:11 +0000)]
Merged revisions 85744 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85744 | ronald.oussoren | 2010-10-20 15:10:12 +0200 (Wed, 20 Oct 2010) | 7 lines

  Fix for issue #7473.

  Without this patch you'll get link errors in some extensions
  (in particular the _curses_panel) one when you try to build
  a 3-way universal framework when you previously installed a
  2-way universal framework using the python.org installer.
........

14 years agoMerged revisions 85742 via svnmerge from
Ronald Oussoren [Wed, 20 Oct 2010 13:01:04 +0000 (13:01 +0000)]
Merged revisions 85742 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85742 | ronald.oussoren | 2010-10-20 14:56:56 +0200 (Wed, 20 Oct 2010) | 8 lines

  Don't lie about the supported architectures in the OSX installer

  Without this patch the i386/x86_64 installer for OSX 10.6
  lies in the ReadMe file and the "Important Information" screen
  of the installer (that is, the installer claims it supports
  the i386 and ppc architectures insetead of the ones it really
  supports)
........

14 years agologging: clarified Filter documentation.
Vinay Sajip [Wed, 20 Oct 2010 11:40:02 +0000 (11:40 +0000)]
logging: clarified Filter documentation.

14 years agoMerged revisions 85725 via svnmerge from
Alexander Belopolsky [Tue, 19 Oct 2010 17:52:22 +0000 (17:52 +0000)]
Merged revisions 85725 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85725 | alexander.belopolsky | 2010-10-19 13:43:50 -0400 (Tue, 19 Oct 2010) | 3 lines

  Fixed the docstring for calendar.isleap() function.
  Thanks Boštjan Mejak for the patch.
........

14 years agoBlocked revisions 85047,85316,85689 via svnmerge
Hirokazu Yamamoto [Tue, 19 Oct 2010 11:00:31 +0000 (11:00 +0000)]
Blocked revisions 85047,85316,85689 via svnmerge

........
  r85047 | hirokazu.yamamoto | 2010-09-28 16:03:40 +0900 | 1 line

  Updated VS8.0 bz2.vcproj with PCBuild/vs9to8.py.
........
  r85316 | hirokazu.yamamoto | 2010-10-08 17:46:30 +0900 | 1 line

  Follows Python/fileutils.c addition.
........
  r85689 | hirokazu.yamamoto | 2010-10-18 21:13:18 +0900 | 3 lines

  Issue #5117: Case normalization was needed on ntpath.relpath(). And
  fixed root directory issue on posixpath.relpath(). (Ported working fixes
  from ntpath)
........

14 years agoIssue #5117: My previous commit for this issue broke posix buildbot.
Hirokazu Yamamoto [Tue, 19 Oct 2010 01:23:51 +0000 (01:23 +0000)]
Issue #5117: My previous commit for this issue broke posix buildbot.

14 years agoIssue #5117: Fixed root directory related issue on posixpath.relpath() and
Hirokazu Yamamoto [Mon, 18 Oct 2010 13:55:29 +0000 (13:55 +0000)]
Issue #5117: Fixed root directory related issue on posixpath.relpath() and
ntpath.relpath().

14 years agoMerged revisions 85675 via svnmerge from
R. David Murray [Mon, 18 Oct 2010 00:19:30 +0000 (00:19 +0000)]
Merged revisions 85675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85675 | r.david.murray | 2010-10-17 20:15:31 -0400 (Sun, 17 Oct 2010) | 4 lines

  #4499: silence compiler warning on AIX.

  Patch from ActiveState.
........

14 years agoBlocked revisions 85671 via svnmerge
R. David Murray [Sun, 17 Oct 2010 22:51:17 +0000 (22:51 +0000)]
Blocked revisions 85671 via svnmerge

........
  r85671 | r.david.murray | 2010-10-17 18:46:45 -0400 (Sun, 17 Oct 2010) | 4 lines

  #1343: Add short_empty_elements option to XMLGenerator.

  Patch and tests by Neil Muller.
........

14 years agoMerged revisions 85665 via svnmerge from
Benjamin Peterson [Sun, 17 Oct 2010 21:17:38 +0000 (21:17 +0000)]
Merged revisions 85665 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85665 | benjamin.peterson | 2010-10-17 16:12:18 -0500 (Sun, 17 Oct 2010) | 1 line

  fix strict aliasing warnings
........

14 years agoMerged revisions 85657 via svnmerge from
Gregory P. Smith [Sun, 17 Oct 2010 19:42:46 +0000 (19:42 +0000)]
Merged revisions 85657 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85657 | gregory.p.smith | 2010-10-17 12:40:59 -0700 (Sun, 17 Oct 2010) | 3 lines

  Remove the external non-python.org hyperlink and point people to
  Tools/gdb/libpython.py.
........

14 years agoMerged revisions 85649 via svnmerge from
Gregory P. Smith [Sun, 17 Oct 2010 19:01:13 +0000 (19:01 +0000)]
Merged revisions 85649 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85649 | gregory.p.smith | 2010-10-17 11:59:56 -0700 (Sun, 17 Oct 2010) | 2 lines

  The py_decref macro was incorrect and unnecessary.
........

14 years agoMerged revisions 85646 via svnmerge from
Gregory P. Smith [Sun, 17 Oct 2010 18:47:43 +0000 (18:47 +0000)]
Merged revisions 85646 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85646 | gregory.p.smith | 2010-10-17 11:38:04 -0700 (Sun, 17 Oct 2010) | 6 lines

  * Applys part of the patch from http://bugs.python.org/issue3631 to add
    a py_decref macro, fixup the pyo macro and reuse it and avoid a memory
    leak introduced by the pylocals macro.
  * Adds a note about gdb 7 python debugging support with links for
    more info on that.
........

14 years agoNote version for addition of processName.
Georg Brandl [Sun, 17 Oct 2010 11:27:00 +0000 (11:27 +0000)]
Note version for addition of processName.

14 years ago__setstate__ gets an argument.
Georg Brandl [Sun, 17 Oct 2010 11:07:40 +0000 (11:07 +0000)]
__setstate__ gets an argument.

14 years ago#1945: document Unicode functions backported from py3k branch.
Georg Brandl [Sun, 17 Oct 2010 10:54:57 +0000 (10:54 +0000)]
#1945: document Unicode functions backported from py3k branch.

14 years agoNote default values for namedtuple extra args.
Georg Brandl [Sun, 17 Oct 2010 06:24:10 +0000 (06:24 +0000)]
Note default values for namedtuple extra args.

14 years agoNote that maxtasksperchild is new in 2.7.
Georg Brandl [Sun, 17 Oct 2010 06:21:30 +0000 (06:21 +0000)]
Note that maxtasksperchild is new in 2.7.

14 years agoFix compiler warning about unused variables.
Georg Brandl [Sun, 17 Oct 2010 06:13:26 +0000 (06:13 +0000)]
Fix compiler warning about unused variables.

14 years agoFix compiler warning: module init functions do not return anything in 2.x.
Georg Brandl [Sun, 17 Oct 2010 06:09:51 +0000 (06:09 +0000)]
Fix compiler warning: module init functions do not return anything in 2.x.

14 years agoMerged revisions 85586-85587,85596-85598 via svnmerge from
Gregory P. Smith [Sun, 17 Oct 2010 04:28:14 +0000 (04:28 +0000)]
Merged revisions 85586-85587,85596-85598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85586 | gregory.p.smith | 2010-10-16 17:17:24 -0700 (Sat, 16 Oct 2010) | 2 lines

  fix for netbsd.
........
  r85587 | gregory.p.smith | 2010-10-16 17:43:10 -0700 (Sat, 16 Oct 2010) | 3 lines

  applying netbsd-wizs-mod.patch from issue5510 -
   fixes for netbsd (and dragonflybsd?)
........
  r85596 | gregory.p.smith | 2010-10-16 19:14:36 -0700 (Sat, 16 Oct 2010) | 6 lines

  Fix multiprocessing Semaphore's on netbsd5. SEM_VALUE_MAX is defined
  as (~0U) on NetBSD which was causing it to appear as -1 when used as
  a signed int for _multprocessing.SemLock.SEM_VALUE_MAX.  This works
  around the problem by substituting INT_MAX on systems where it appears
  negative when used as an int.
........
  r85597 | gregory.p.smith | 2010-10-16 19:57:19 -0700 (Sat, 16 Oct 2010) | 2 lines

  skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.
........
  r85598 | gregory.p.smith | 2010-10-16 20:09:12 -0700 (Sat, 16 Oct 2010) | 2 lines

  Avoid hanging the test on netbsd5.
........