Commit Graph

45864 Commits

Author SHA1 Message Date
Éric Araujo 3ba70368f5 Merged revisions 86438 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86438 | eric.araujo | 2010-11-12 23:25:23 +0100 (ven., 12 nov. 2010) | 2 lines

  And now for something completely different: Finish fixing #10252 again.
........
2010-11-12 22:27:28 +00:00
Terry Reedy fc0280f6a5 #2986 Correct and duplicate version-added message 2010-11-12 21:08:56 +00:00
Andrew M. Kuchling 5b1c5377ad Remove myself as a maintainer for curses and mailbox modules. 2010-11-12 20:55:00 +00:00
Éric Araujo 4ca58a9fd2 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.
........
2010-11-12 20:31:17 +00:00
Georg Brandl 749930f0f0 #10398: manual backport of r73943. 2010-11-12 19:45:46 +00:00
R. David Murray 6e4300c999 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.
........
2010-11-12 00:39:09 +00:00
Terry Reedy d2d2ae91c5 #2986 Add autojunk parameter to SequenceMatcher to optionally disable 'popular == junk' heuristic. 2010-11-11 23:22:19 +00:00
R. David Murray 6c2e0224ff 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.
........
2010-11-11 20:18:23 +00:00
Alexander Belopolsky 874b41b5ff 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 *.
........
2010-11-11 14:39:52 +00:00
Antoine Pitrou 9c9e1b9786 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.
........
2010-11-10 14:03:31 +00:00
Antoine Pitrou ae93389e0a 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().
........
2010-11-10 09:02:33 +00:00
Antoine Pitrou 1d519cde65 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
........
2010-11-10 00:20:18 +00:00
Antoine Pitrou 7eaa448e59 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.
........
2010-11-09 23:15:18 +00:00
Antoine Pitrou f728f5a3ea 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).
........
2010-11-09 23:00:21 +00:00
Fred Drake 9a9aa20ca8 fix typo: spection -> section 2010-11-09 13:33:21 +00:00
Amaury Forgeot d'Arc 71431ef51a Backport part of r86217: Fix issues when building without threads 2010-11-09 07:35:26 +00:00
Senthil Kumaran 80860381a5 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.
........
2010-11-09 02:49:26 +00:00
R. David Murray d67b6786ba 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
........
2010-11-08 17:20:34 +00:00
Jesus Cea bf088f811c Issue #9675: Final touch 2010-11-08 12:57:59 +00:00
Senthil Kumaran bf02429c43 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.
........
2010-11-08 02:12:57 +00:00
Senthil Kumaran 683beb6c9b 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.
........
2010-11-07 13:10:02 +00:00
Mark Dickinson 5edac047f1 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.
........
2010-11-07 12:52:19 +00:00
Hirokazu Yamamoto 69f9f201d9 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.
........
2010-11-07 12:11:28 +00:00
Mark Dickinson 03335172dd 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.
........
2010-11-07 11:29:03 +00:00
Eric Smith 3ae6f4ecab 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__.
........
2010-11-06 19:45:16 +00:00
Eric Smith 6c84085cfb Improved docstrings for str and unicode methods format and __format__. 2010-11-06 19:43:44 +00:00
Éric Araujo 2f0a040dfe 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.
........
2010-11-06 15:46:46 +00:00
Eric Smith 2cb3121da3 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().
........
2010-11-06 14:44:14 +00:00
Eric Smith 06a9a33ce5 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().
........
2010-11-06 14:33:21 +00:00
Éric Araujo db553be7fb 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.
2010-11-06 14:16:30 +00:00
Raymond Hettinger aa5f4aa8af Move version added notes into the index table 2010-11-06 07:18:07 +00:00
Raymond Hettinger e0e082281e Add more links to Python sources where the code is short, readable and an informative adjunct to the docs. 2010-11-06 07:10:31 +00:00
Éric Araujo d5cd1ff7da 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
........
2010-11-06 06:31:54 +00:00
Éric Araujo e9954b56f4 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.
........
2010-11-06 04:53:42 +00:00
Éric Araujo e28665aa8e 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.
........
2010-11-06 04:36:28 +00:00
Éric Araujo d1feff70a3 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
........
2010-11-06 04:06:18 +00:00
Alexander Belopolsky 860c05d9f7 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.
........
2010-11-06 01:38:48 +00:00
Brian Curtin 0c6d438a17 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
........
2010-11-06 01:37:00 +00:00
Raymond Hettinger 0d6fa4da49 Document key-functions in the glossary. 2010-11-06 00:06:14 +00:00
Raymond Hettinger e679a37024 Provide links to Python source in a handful of
cases where the source is a generally helpful
adjunct to the docs.
2010-11-05 23:58:42 +00:00
Antoine Pitrou 6b1167c61c 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.
........
2010-11-05 19:55:02 +00:00
Brian Curtin 51c9b5152a 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
........
2010-11-05 17:24:20 +00:00
Brian Curtin 7fe045ef00 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.
........
2010-11-05 17:19:38 +00:00
Brian Curtin 91a5b818e0 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
........
2010-11-05 15:52:20 +00:00
Brian Curtin 4b4fa21183 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.
........
2010-11-05 15:42:57 +00:00
Brian Curtin f4f0c8be3d 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.
........
2010-11-05 15:31:20 +00:00
Brian Curtin dbf8e839cf Backport r85525 from #10098. 2010-11-05 15:28:19 +00:00
Brian Curtin 3606f9570e 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.
........
2010-11-05 15:12:47 +00:00
Brian Curtin be80ab4b83 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.
........
2010-11-05 14:56:16 +00:00
Georg Brandl fc3901e5bf Clarify. 2010-11-05 07:38:48 +00:00