]> granicus.if.org Git - python/log
python
14 years ago#2986 Correct and duplicate version-added message
Terry Reedy [Fri, 12 Nov 2010 21:08:56 +0000 (21:08 +0000)]
#2986 Correct and duplicate version-added message

14 years agoRemove myself as a maintainer for curses and mailbox modules.
Andrew M. Kuchling [Fri, 12 Nov 2010 20:55:00 +0000 (20:55 +0000)]
Remove myself as a maintainer for curses and mailbox modules.

14 years agoMerged revisions 86274,86276 via svnmerge from
Éric Araujo [Fri, 12 Nov 2010 20:31:17 +0000 (20:31 +0000)]
Merged revisions 86274,86276 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86274 | eric.araujo | 2010-11-06 16:57:52 +0100 (sam., 06 nov. 2010) | 2 lines

  Correct the fix for #10252: Popen objects have no close method.
........
  r86276 | eric.araujo | 2010-11-06 19:03:52 +0100 (sam., 06 nov. 2010) | 2 lines

  Fix #10252 again (hopefully definitely).  Patch by Brian Curtin.
........

14 years ago#10398: manual backport of r73943.
Georg Brandl [Fri, 12 Nov 2010 19:45:46 +0000 (19:45 +0000)]
#10398: manual backport of r73943.

14 years agoMerged revisions 86419 via svnmerge from
R. David Murray [Fri, 12 Nov 2010 00:39:09 +0000 (00:39 +0000)]
Merged revisions 86419 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86419 | r.david.murray | 2010-11-11 19:35:31 -0500 (Thu, 11 Nov 2010) | 4 lines

  #7950: add warning about security implications of shell=True to subprocess docs

  Patch by Chris Rebert.
........

14 years ago#2986 Add autojunk parameter to SequenceMatcher to optionally disable 'popular =...
Terry Reedy [Thu, 11 Nov 2010 23:22:19 +0000 (23:22 +0000)]
#2986 Add autojunk parameter to SequenceMatcher to optionally disable 'popular == junk' heuristic.

14 years agoBlocked revisions 86414 via svnmerge
R. David Murray [Thu, 11 Nov 2010 20:18:23 +0000 (20:18 +0000)]
Blocked revisions 86414 via svnmerge

........
  r86414 | r.david.murray | 2010-11-11 15:09:20 -0500 (Thu, 11 Nov 2010) | 8 lines

  #1466065: add validate option to base64.b64decode

  Patch by Neil Tallim.  This provides a mechanism for module
  users to achieve RFC 3548 compliance in the cases where ignoring
  non-base64-alphabet input characters is *not* mandated by the RFC that
  references RFC 3548.
........

14 years agoBlocked revisions 86410 via svnmerge
Alexander Belopolsky [Thu, 11 Nov 2010 14:39:52 +0000 (14:39 +0000)]
Blocked revisions 86410 via svnmerge

........
  r86410 | alexander.belopolsky | 2010-11-11 09:07:41 -0500 (Thu, 11 Nov 2010) | 4 lines

  Issue #10386: Added __all__ to token module; this simplifies importing
  in tokenize module and prevents leaking of private names through
  import *.
........

14 years agoI'm only backporting the tests here.
Antoine Pitrou [Wed, 10 Nov 2010 14:03:31 +0000 (14:03 +0000)]
I'm only backporting the tests here.

Merged revisions 86395 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86395 | antoine.pitrou | 2010-11-10 14:55:25 +0100 (mer., 10 nov. 2010) | 4 lines

  Issue #10372: Import the warnings module only after the IO library is
  initialized, so as to avoid bootstrap issues with the '-W' option.
........

14 years agoMerged revisions 86391 via svnmerge from
Antoine Pitrou [Wed, 10 Nov 2010 09:02:33 +0000 (09:02 +0000)]
Merged revisions 86391 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86391 | antoine.pitrou | 2010-11-10 09:59:25 +0100 (mer., 10 nov. 2010) | 4 lines

  Followup to r86383: it seems that in some cases (buildbots), the server
  closes the connection before we can call shutdown().
........

14 years agoMerged revisions 86388 via svnmerge from
Antoine Pitrou [Wed, 10 Nov 2010 00:20:18 +0000 (00:20 +0000)]
Merged revisions 86388 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86388 | antoine.pitrou | 2010-11-10 01:18:40 +0100 (mer., 10 nov. 2010) | 3 lines

  Forward port r86386 after it fixed the 3.1 buildbot issues
........

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

........
  r86383 | antoine.pitrou | 2010-11-10 00:10:33 +0100 (mer., 10 nov. 2010) | 4 lines

  Issue #4471: Properly shutdown socket in IMAP.shutdown().  Patch by
  Lorenzo M. Catucci.
........

14 years agoThis only backports the tests as IMAP.login() does work on 2.x.
Antoine Pitrou [Tue, 9 Nov 2010 23:00:21 +0000 (23:00 +0000)]
This only backports the tests as IMAP.login() does work on 2.x.

Merged revisions 86380 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86380 | antoine.pitrou | 2010-11-09 23:55:55 +0100 (mar., 09 nov. 2010) | 4 lines

  Fix IMAP.login() to work properly.
  Also, add remote tests for imaplib (part of #4471).
........

14 years agofix typo: spection -> section
Fred Drake [Tue, 9 Nov 2010 13:33:21 +0000 (13:33 +0000)]
fix typo: spection -> section

14 years agoBackport part of r86217: Fix issues when building without threads
Amaury Forgeot d'Arc [Tue, 9 Nov 2010 07:35:26 +0000 (07:35 +0000)]
Backport part of r86217: Fix issues when building without threads

14 years agoMerged revisions 86348 via svnmerge from
Senthil Kumaran [Tue, 9 Nov 2010 02:49:26 +0000 (02:49 +0000)]
Merged revisions 86348 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86348 | senthil.kumaran | 2010-11-09 10:36:59 +0800 (Tue, 09 Nov 2010) | 3 lines

  Fix Issue10205 - XML QName error when different tags have same QName.
........

14 years agoBlocked revisions 86327 via svnmerge
R. David Murray [Mon, 8 Nov 2010 17:20:34 +0000 (17:20 +0000)]
Blocked revisions 86327 via svnmerge

........
  r86327 | r.david.murray | 2010-11-08 12:15:13 -0500 (Mon, 08 Nov 2010) | 3 lines

  #10321: Add support for sending binary DATA and Message objects to smtplib
........

14 years agoIssue #9675: Final touch
Jesus Cea [Mon, 8 Nov 2010 12:57:59 +0000 (12:57 +0000)]
Issue #9675: Final touch

14 years agoMerged revisions 86310 via svnmerge from
Senthil Kumaran [Mon, 8 Nov 2010 02:12:57 +0000 (02:12 +0000)]
Merged revisions 86310 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86310 | senthil.kumaran | 2010-11-08 09:53:13 +0800 (Mon, 08 Nov 2010) | 3 lines

  Fix Issue 10303: a small clarification in the tutorial.
........

14 years agoMerged revisions 86296 via svnmerge from
Senthil Kumaran [Sun, 7 Nov 2010 13:10:02 +0000 (13:10 +0000)]
Merged revisions 86296 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86296 | senthil.kumaran | 2010-11-07 20:57:04 +0800 (Sun, 07 Nov 2010) | 3 lines

  Fix Issue10226 - Clarifying the role of the netloc separator.
........

14 years agoMerged revisions 86293 via svnmerge from
Mark Dickinson [Sun, 7 Nov 2010 12:52:19 +0000 (12:52 +0000)]
Merged revisions 86293 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86293 | mark.dickinson | 2010-11-07 12:48:18 +0000 (Sun, 07 Nov 2010) | 1 line

  Issue #10145: the float.is_integer method was undocumented.
........

14 years agoBlocked revisions 86168,86211,86281,86283,86285 via svnmerge
Hirokazu Yamamoto [Sun, 7 Nov 2010 12:11:28 +0000 (12:11 +0000)]
Blocked revisions 86168,86211,86281,86283,86285 via svnmerge

........
  r86168 | hirokazu.yamamoto | 2010-11-05 00:21:59 +0900 | 1 line

  Updated PC/VS8.0. (mainly to follow r86137: use temporary dir in make_buildinfo.c)
........
  r86211 | hirokazu.yamamoto | 2010-11-06 02:24:13 +0900 | 1 line

  Fixed socket_gethostname() on windows.
........
  r86281 | hirokazu.yamamoto | 2010-11-07 11:45:19 +0900 | 1 line

  Formatted code. (Tabify, etc)
........
  r86283 | hirokazu.yamamoto | 2010-11-07 18:23:15 +0900 | 1 line

  Issue #6317: Now winsound.PlaySound can accept non ascii filename.
........
  r86285 | hirokazu.yamamoto | 2010-11-07 20:07:44 +0900 | 1 line

  Reformatted code a bit.
........

14 years agoMerged revisions 86286 via svnmerge from
Mark Dickinson [Sun, 7 Nov 2010 11:29:03 +0000 (11:29 +0000)]
Merged revisions 86286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86286 | mark.dickinson | 2010-11-07 11:24:44 +0000 (Sun, 07 Nov 2010) | 1 line

  Issue 10297: Add missing import in decimal example snippet.
........

14 years agoBlocked revisions 86277 via svnmerge
Eric Smith [Sat, 6 Nov 2010 19:45:16 +0000 (19:45 +0000)]
Blocked revisions 86277 via svnmerge

........
  r86277 | eric.smith | 2010-11-06 15:27:37 -0400 (Sat, 06 Nov 2010) | 1 line

  Added more to docstrings for str.format, format_map, and __format__.
........

14 years agoImproved docstrings for str and unicode methods format and __format__.
Eric Smith [Sat, 6 Nov 2010 19:43:44 +0000 (19:43 +0000)]
Improved docstrings for str and unicode methods format and __format__.

14 years agoMerged revisions 86271 via svnmerge from
Éric Araujo [Sat, 6 Nov 2010 15:46:46 +0000 (15:46 +0000)]
Merged revisions 86271 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86271 | eric.araujo | 2010-11-06 16:01:07 +0100 (sam., 06 nov. 2010) | 2 lines

  Add missing NEWS entries for some of my commits.
........

14 years agoBlocked revisions 86268 via svnmerge
Eric Smith [Sat, 6 Nov 2010 14:44:14 +0000 (14:44 +0000)]
Blocked revisions 86268 via svnmerge

........
  r86268 | eric.smith | 2010-11-06 10:43:26 -0400 (Sat, 06 Nov 2010) | 1 line

  Removed unused test classes from test_format_map().
........

14 years agoBlocked revisions 86263 via svnmerge
Eric Smith [Sat, 6 Nov 2010 14:33:21 +0000 (14:33 +0000)]
Blocked revisions 86263 via svnmerge

........
  r86263 | eric.smith | 2010-11-06 09:22:13 -0400 (Sat, 06 Nov 2010) | 1 line

  Added example for str.format_map().
........

14 years agoRemove one trace of Mac OS 9 support (#7908 follow-up)
Éric Araujo [Sat, 6 Nov 2010 14:16:30 +0000 (14:16 +0000)]
Remove one trace of Mac OS 9 support (#7908 follow-up)

This was overlooked in r80804.  This change is not really a bug fix,
but the release manager agreed to it.  There is no NEWS entry, like
in the original commit.

14 years agoMove version added notes into the index table
Raymond Hettinger [Sat, 6 Nov 2010 07:18:07 +0000 (07:18 +0000)]
Move version added notes into the index table

14 years agoAdd more links to Python sources where the code is short, readable and an informative...
Raymond Hettinger [Sat, 6 Nov 2010 07:10:31 +0000 (07:10 +0000)]
Add more links to Python sources where the code is short, readable and an informative adjunct to the docs.

14 years agoMerged revisions 86249 via svnmerge from
Éric Araujo [Sat, 6 Nov 2010 06:31:54 +0000 (06:31 +0000)]
Merged revisions 86249 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86249 | eric.araujo | 2010-11-06 07:30:16 +0100 (sam., 06 nov. 2010) | 2 lines

  Fix typo
........

14 years agoMerged revisions 86244 via svnmerge from
Éric Araujo [Sat, 6 Nov 2010 04:53:42 +0000 (04:53 +0000)]
Merged revisions 86244 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86244 | eric.araujo | 2010-11-06 05:48:05 +0100 (sam., 06 nov. 2010) | 3 lines

  Prevent race condition with mkdir in distutils.  Patch by Arfrever on #9281.
........

14 years agoMerged revisions 86239,86241 via svnmerge from
Éric Araujo [Sat, 6 Nov 2010 04:36:28 +0000 (04:36 +0000)]
Merged revisions 86239,86241 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86239 | eric.araujo | 2010-11-06 05:09:29 +0100 (sam., 06 nov. 2010) | 2 lines

  Fix caching error found by regrtest -R (#10229)
........
  r86241 | eric.araujo | 2010-11-06 05:24:00 +0100 (sam., 06 nov. 2010) | 2 lines

  Add missing NEWS entry for r86239.
........

14 years agoMerged revisions 86223-86224,86226,86234 via svnmerge from
Éric Araujo [Sat, 6 Nov 2010 04:06:18 +0000 (04:06 +0000)]
Merged revisions 86223-86224,86226,86234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86223 | eric.araujo | 2010-11-06 00:51:56 +0100 (sam., 06 nov. 2010) | 2 lines

  Always close files in distutils code and tests (#10252).
........
  r86224 | eric.araujo | 2010-11-06 00:58:34 +0100 (sam., 06 nov. 2010) | 2 lines

  Add missing entry for r86223.
........
  r86226 | eric.araujo | 2010-11-06 00:59:32 +0100 (sam., 06 nov. 2010) | 2 lines

  Of course, I forgot one file in r86223.
........
  r86234 | eric.araujo | 2010-11-06 03:10:32 +0100 (sam., 06 nov. 2010) | 2 lines

  Also close file descriptors from os.popen and subprocess.Popen
........

14 years agoMerged revisions 86229 via svnmerge from
Alexander Belopolsky [Sat, 6 Nov 2010 01:38:48 +0000 (01:38 +0000)]
Merged revisions 86229 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86229 | alexander.belopolsky | 2010-11-05 21:31:16 -0400 (Fri, 05 Nov 2010) | 1 line

  Issue #10330: trace module can now be used with python built without threads.
........

14 years agoMerged revisions 86228 via svnmerge from
Brian Curtin [Sat, 6 Nov 2010 01:37:00 +0000 (01:37 +0000)]
Merged revisions 86228 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86228 | brian.curtin | 2010-11-05 20:30:41 -0500 (Fri, 05 Nov 2010) | 2 lines

  Clear up ResourceWarnings
........

14 years agoDocument key-functions in the glossary.
Raymond Hettinger [Sat, 6 Nov 2010 00:06:14 +0000 (00:06 +0000)]
Document key-functions in the glossary.

14 years agoProvide links to Python source in a handful of
Raymond Hettinger [Fri, 5 Nov 2010 23:58:42 +0000 (23:58 +0000)]
Provide links to Python source in a handful of
cases where the source is a generally helpful
adjunct to the docs.

14 years agoMerged revisions 86214 via svnmerge from
Antoine Pitrou [Fri, 5 Nov 2010 19:55:02 +0000 (19:55 +0000)]
Merged revisions 86214 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86214 | antoine.pitrou | 2010-11-05 20:47:27 +0100 (ven., 05 nov. 2010) | 4 lines

  Issue #10311: The signal module now restores errno before returning from
  its low-level signal handler.  Patch by Hallvard B Furuseth.
........

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

........
  r86209 | brian.curtin | 2010-11-05 12:22:46 -0500 (Fri, 05 Nov 2010) | 2 lines

  Close subprocess pipes to clean up ResourceWarnings
........

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

........
  r86207 | brian.curtin | 2010-11-05 12:09:05 -0500 (Fri, 05 Nov 2010) | 2 lines

  Fix a number of ResourceWarnings on Windows due to open pipes.
........

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

........
  r86205 | brian.curtin | 2010-11-05 10:47:45 -0500 (Fri, 05 Nov 2010) | 2 lines

  Add socket cleanup for ResourceWarning and update test to use skip decorator
........

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.
........