]> granicus.if.org Git - python/log
python
14 years agoIssue 2986: document heuristic for 3.1
Terry Reedy [Wed, 10 Nov 2010 17:50:26 +0000 (17:50 +0000)]
Issue 2986: document heuristic for 3.1

14 years agoRemove spurious NEWS entry.
Antoine Pitrou [Wed, 10 Nov 2010 14:03:53 +0000 (14:03 +0000)]
Remove spurious NEWS entry.

14 years agoI'm only backporting the tests (which run fine), as well as
Antoine Pitrou [Wed, 10 Nov 2010 14:01:16 +0000 (14:01 +0000)]
I'm only backporting the tests (which run fine), as well as
a shortened version of Lib/test/script_helper.py.

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:00:43 +0000 (09:00 +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 agoTry to fix test_imaplib failure
Antoine Pitrou [Wed, 10 Nov 2010 00:02:28 +0000 (00:02 +0000)]
Try to fix test_imaplib failure

14 years agoMerged revisions 86383 via svnmerge from
Antoine Pitrou [Tue, 9 Nov 2010 23:12:32 +0000 (23:12 +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 agoMerged revisions 86380 via svnmerge from
Antoine Pitrou [Tue, 9 Nov 2010 22:57:20 +0000 (22:57 +0000)]
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 agoMerged revisions 86338 via svnmerge from
Antoine Pitrou [Tue, 9 Nov 2010 21:36:16 +0000 (21:36 +0000)]
Merged revisions 86338 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86338 | antoine.pitrou | 2010-11-08 21:36:57 +0100 (lun., 08 nov. 2010) | 3 lines

  Fix test_hashlib with the bigmem option
........

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

14 years agoBlocked revisions 86327 via svnmerge
R. David Murray [Mon, 8 Nov 2010 17:20:25 +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 agoMerged revisions 86310 via svnmerge from
Senthil Kumaran [Mon, 8 Nov 2010 02:00:07 +0000 (02:00 +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 86310 via svnmerge from
Senthil Kumaran [Mon, 8 Nov 2010 01:57:45 +0000 (01:57 +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:07:14 +0000 (13:07 +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:50:11 +0000 (12:50 +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 agoMerged revisions 86283 via svnmerge from
Hirokazu Yamamoto [Sun, 7 Nov 2010 11:53:57 +0000 (11:53 +0000)]
Merged revisions 86283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86283 | hirokazu.yamamoto | 2010-11-07 18:23:15 +0900 | 1 line

  Issue #6317: Now winsound.PlaySound can accept non ascii filename.
........

14 years agoMerged revisions 86281,86285 via svnmerge from
Hirokazu Yamamoto [Sun, 7 Nov 2010 11:41:07 +0000 (11:41 +0000)]
Merged revisions 86281,86285 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86281 | hirokazu.yamamoto | 2010-11-07 11:45:19 +0900 | 1 line

  Formatted code. (Tabify, etc)
........
  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:26:24 +0000 (11:26 +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 agoMerged revisions 86277 via svnmerge from
Eric Smith [Sat, 6 Nov 2010 19:29:45 +0000 (19:29 +0000)]
Merged revisions 86277 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  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 agoMerged revisions 86271 via svnmerge from
Éric Araujo [Sat, 6 Nov 2010 15:37:39 +0000 (15:37 +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:43:54 +0000 (14:43 +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:34:44 +0000 (14:34 +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 agoMerged revisions 86249 via svnmerge from
Éric Araujo [Sat, 6 Nov 2010 06:31:00 +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:51:10 +0000 (04:51 +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:35:07 +0000 (04:35 +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 02:58:56 +0000 (02:58 +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:35:01 +0000 (01:35 +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:32:53 +0000 (01:32 +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 agoMerged revisions 86214 via svnmerge from
Antoine Pitrou [Fri, 5 Nov 2010 19:54:58 +0000 (19:54 +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 86195 via svnmerge from
Brian Curtin [Fri, 5 Nov 2010 15:08:19 +0000 (15:08 +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:52:43 +0000 (14:52 +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 agoMerged revisions 86187 via svnmerge from
Georg Brandl [Fri, 5 Nov 2010 07:11:47 +0000 (07:11 +0000)]
Merged revisions 86187 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r86187 | georg.brandl | 2010-11-05 07:10:41 +0000 (Fr, 05 Nov 2010) | 1 line

  Move glossary entry to the right position and fix link.
........

14 years agoMerged revisions 85909 via svnmerge from
Alexander Belopolsky [Fri, 5 Nov 2010 01:09:17 +0000 (01:09 +0000)]
Merged revisions 85909 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85909 | georg.brandl | 2010-10-29 01:24:24 -0400 (Fri, 29 Oct 2010) | 1 line

  Re-add "debugger" label, it is used in pydoc-topics.
........

14 years agoMerged revisions 85732,85778,85785,85853,85930,86008,86089 via svnmerge from
Alexander Belopolsky [Fri, 5 Nov 2010 01:07:35 +0000 (01:07 +0000)]
Merged revisions 85732,85778,85785,85853,85930,86008,86089 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85732 | alexander.belopolsky | 2010-10-19 17:07:52 -0400 (Tue, 19 Oct 2010) | 3 lines

  Issue #7061: Fixed some of the issues in turtle module documentation
  reported by Terry J. Reedy.
........
  r85778 | alexander.belopolsky | 2010-10-21 14:15:39 -0400 (Thu, 21 Oct 2010) | 1 line

  Issue #7061: Fixed section title
........
  r85785 | alexander.belopolsky | 2010-10-21 18:29:36 -0400 (Thu, 21 Oct 2010) | 1 line

  Fixed a typo
........
  r85853 | alexander.belopolsky | 2010-10-26 23:06:43 -0400 (Tue, 26 Oct 2010) | 4 lines

  Issue #7061: Dropped "for Tk" from turtle module title and moved its
  doc section under frameworks.  Also fixed a couple of markup issues
  that affected TOC rendering.
........
  r85930 | alexander.belopolsky | 2010-10-29 13:16:49 -0400 (Fri, 29 Oct 2010) | 1 line

  Issue 7061: Explained 'gon'
........
  r86008 | alexander.belopolsky | 2010-10-30 20:51:11 -0400 (Sat, 30 Oct 2010) | 1 line

  Issues #7061, #10225: Fixed doctests in turtle manual
........
  r86089 | alexander.belopolsky | 2010-11-01 11:45:34 -0400 (Mon, 01 Nov 2010) | 1 line

  Issue #7061: Simplified a section title.
........

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

........
  r86175 | antoine.pitrou | 2010-11-04 21:48:37 +0100 (jeu., 04 nov. 2010) | 4 lines

  Issue #3699: Fix test_bigaddrspace and extend it to test bytestrings
  as well as unicode strings.  Initial patch by Sandro Tosi.
........

14 years agoBlocked revisions 86170 via svnmerge
Eric Smith [Thu, 4 Nov 2010 17:11:04 +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 86116,86163 via svnmerge
Hirokazu Yamamoto [Thu, 4 Nov 2010 13:56:55 +0000 (13:56 +0000)]
Blocked revisions 86116,86163 via svnmerge

........
  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.
........
  r86163 | hirokazu.yamamoto | 2010-11-04 22:49:41 +0900 | 1 line

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

14 years agoMerged revisions 86159 via svnmerge from
Hirokazu Yamamoto [Thu, 4 Nov 2010 12:35:21 +0000 (12:35 +0000)]
Merged revisions 86159 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

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

14 years agoFix markup.
Georg Brandl [Thu, 4 Nov 2010 07:24:55 +0000 (07:24 +0000)]
Fix markup.

14 years agoMerged revisions 86151 via svnmerge from
Brian Curtin [Thu, 4 Nov 2010 03:49:29 +0000 (03:49 +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 agoMerged revisions 86144 via svnmerge from
Benjamin Peterson [Wed, 3 Nov 2010 21:39:07 +0000 (21:39 +0000)]
Merged revisions 86144 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86144 | benjamin.peterson | 2010-11-03 16:35:28 -0500 (Wed, 03 Nov 2010) | 1 line

  update items/keys/values doc #10300
........

14 years agoMerged revisions 86130 via svnmerge from
Antoine Pitrou [Tue, 2 Nov 2010 23:52:49 +0000 (23:52 +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 agoRecorded merge of revisions 86117 via svnmerge from
Hirokazu Yamamoto [Tue, 2 Nov 2010 15:44:18 +0000 (15:44 +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 15:11:47 +0000 (15: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 agoRemoving the keyword only restriction for the places argument in unittest.TestCase...
Michael Foord [Tue, 2 Nov 2010 14:46:41 +0000 (14:46 +0000)]
Removing the keyword only restriction for the places argument in unittest.TestCase.assert[Not]AlmostEqual

14 years agoMerged revisions 86107 via svnmerge from
Brian Curtin [Tue, 2 Nov 2010 04:01:17 +0000 (04:01 +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 agofix syntax highlighting in asyncore example code
Giampaolo Rodolà [Mon, 1 Nov 2010 15:29:20 +0000 (15:29 +0000)]
fix syntax highlighting in asyncore example code

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

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

........
  r86081 | brian.curtin | 2010-11-01 09:00:33 -0500 (Mon, 01 Nov 2010) | 2 lines

  Close subprocess pipes to clear ResourceWarning messages in debug mode.
........

14 years agoMerged revisions 86077 via svnmerge from
Brian Curtin [Mon, 1 Nov 2010 05:12:34 +0000 (05:12 +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 agoIssue #9886: Add a key-function entry to the glossary.
Raymond Hettinger [Sun, 31 Oct 2010 22:39:33 +0000 (22:39 +0000)]
Issue #9886: Add a key-function entry to the glossary.

14 years agoIssue 7402: Improve reduce() example in the python idioms how-to.
Raymond Hettinger [Sun, 31 Oct 2010 22:01:57 +0000 (22:01 +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:27:50 +0000 (21:27 +0000)]
Issue 7447: Improve docs for sum().

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

........
  r86051 | benjamin.peterson | 2010-10-31 13:13:04 -0500 (Sun, 31 Oct 2010) | 1 line

  more fun with string exceptions
........

14 years agoadd 'no' output to --with-system-ffi
Benjamin Peterson [Sun, 31 Oct 2010 16:55:05 +0000 (16:55 +0000)]
add 'no' output to --with-system-ffi

14 years agoMerged revisions 86037 via svnmerge from
Antoine Pitrou [Sun, 31 Oct 2010 16:06:55 +0000 (16:06 +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:52:53 +0000 (13:52 +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 agoMerged revisions 85935-85936 via svnmerge from
Antoine Pitrou [Sun, 31 Oct 2010 13:15:20 +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:07:00 +0000 (13:07 +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:21 +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:42:40 +0000 (04:42 +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:15:00 +0000 (01:15 +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 86003 via svnmerge from
Brian Curtin [Sun, 31 Oct 2010 00:05:24 +0000 (00:05 +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 [Sat, 30 Oct 2010 23:58:50 +0000 (23:58 +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 85990 via svnmerge from
Brian Curtin [Sat, 30 Oct 2010 21:37:28 +0000 (21:37 +0000)]
Merged revisions 85990 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85990 | brian.curtin | 2010-10-30 16:35:28 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix #10258 - clean up resource warning
........

14 years agoMerged revisions 85987 via svnmerge from
Brian Curtin [Sat, 30 Oct 2010 21:27:07 +0000 (21:27 +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:17:24 +0000 (21:17 +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 agoMerged revisions 85980 via svnmerge from
Hirokazu Yamamoto [Sat, 30 Oct 2010 15:43:30 +0000 (15:43 +0000)]
Merged revisions 85980 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

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

  Issue #10157: Fixed refleaks in pythonrun.c. Patch by Stefan Krah.
........

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

14 years agoUse assertLessEqual to ease diagnosing of failures
Antoine Pitrou [Fri, 29 Oct 2010 21:52:23 +0000 (21:52 +0000)]
Use assertLessEqual to ease diagnosing of failures

14 years agoMerged revisions 85931 via svnmerge from
Antoine Pitrou [Fri, 29 Oct 2010 18:16:31 +0000 (18:16 +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:05:28 +0000 (14:05 +0000)]
Fix issue 10214 by removing the out of date python-mode.el and replacing it
with a README.  Will backport to 2.7.

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

........
  r85817 | benjamin.peterson | 2010-10-23 22:41:46 -0500 (Sat, 23 Oct 2010) | 1 line

  tighten loop
........
  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 agoMerged revisions 85896 via svnmerge from
Antoine Pitrou [Thu, 28 Oct 2010 23:06:57 +0000 (23:06 +0000)]
Merged revisions 85896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85896 | antoine.pitrou | 2010-10-29 00:56:58 +0200 (ven., 29 oct. 2010) | 4 lines

  Issue #5437: A preallocated MemoryError instance should not hold traceback
  data (including local variables caught in the stack trace) alive infinitely.
........

14 years agoBlocked revisions 85734 via svnmerge
R. David Murray [Wed, 27 Oct 2010 23:16:22 +0000 (23:16 +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 agoMerged revisions 85868 via svnmerge from
Antoine Pitrou [Wed, 27 Oct 2010 20:27:14 +0000 (20:27 +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:52:40 +0000 (19:52 +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:54:06 +0000 (18:54 +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:37:51 +0000 (18:37 +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 agoMerged revisions 85846 via svnmerge from
R. David Murray [Tue, 26 Oct 2010 12:47:19 +0000 (12:47 +0000)]
Merged revisions 85846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  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 agoAdd 3.1.3 UUIDs.
Martin v. Löwis [Mon, 25 Oct 2010 19:58:42 +0000 (19:58 +0000)]
Add 3.1.3 UUIDs.

14 years agoMerged revisions 85536 via svnmerge from
Georg Brandl [Sun, 24 Oct 2010 14:20:36 +0000 (14:20 +0000)]
Merged revisions 85536 via svnmerge from
svn+ssh://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 02:57:31 +0000 (02:57 +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:46 +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 agoIssue #10077: Fix logging of site module errors at startup.
Victor Stinner [Sat, 23 Oct 2010 08:50:36 +0000 (08:50 +0000)]
Issue #10077: Fix logging of site module errors at startup.

14 years agoShould fix remaining 3.1 buildbot failure
Antoine Pitrou [Fri, 22 Oct 2010 18:34:13 +0000 (18:34 +0000)]
Should fix remaining 3.1 buildbot failure

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

14 years agoMerged revisions 85757 via svnmerge from
Benjamin Peterson [Wed, 20 Oct 2010 21:35:05 +0000 (21:35 +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:40:38 +0000 (13:40 +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 85725 via svnmerge from
Alexander Belopolsky [Tue, 19 Oct 2010 17:50:22 +0000 (17:50 +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 via svnmerge
Hirokazu Yamamoto [Tue, 19 Oct 2010 11:11:42 +0000 (11:11 +0000)]
Blocked revisions 85047,85316 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.
........

14 years agoRecorded merge of revisions 85569-85570 via svnmerge from
Victor Stinner [Tue, 19 Oct 2010 01:22:07 +0000 (01:22 +0000)]
Recorded merge of revisions 85569-85570 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85569 | victor.stinner | 2010-10-16 15:14:10 +0200 (sam., 16 oct. 2010) | 4 lines

  Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects
  filenames encoded to the filesystem encoding with surrogateescape error handler
  (to support undecodable bytes), instead of UTF-8 in strict mode.
........
  r85570 | victor.stinner | 2010-10-16 15:42:53 +0200 (sam., 16 oct. 2010) | 4 lines

  Fix ast_error_finish() and err_input(): filename can be NULL

  Fix my previous commit (r85569).
........

14 years agoMerged revisions 85689 via svnmerge from
Hirokazu Yamamoto [Mon, 18 Oct 2010 13:49:09 +0000 (13:49 +0000)]
Merged revisions 85689 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  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 agoMerged revisions 85675 via svnmerge from
R. David Murray [Mon, 18 Oct 2010 00:18:46 +0000 (00:18 +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:09 +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:14:36 +0000 (21:14 +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 85649 via svnmerge from
Gregory P. Smith [Sun, 17 Oct 2010 19:02:34 +0000 (19:02 +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:49:46 +0000 (18:49 +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 agoMerged revisions 81936 via svnmerge from
Georg Brandl [Sun, 17 Oct 2010 11:48:07 +0000 (11:48 +0000)]
Merged revisions 81936 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r81936 | mark.dickinson | 2010-06-12 11:10:14 +0200 (Sa, 12 Jun 2010) | 2 lines

  Silence 'unused variable' gcc warning.  Patch by Éric Araujo.
........

14 years agoMerged revisions 85630 via svnmerge from
Senthil Kumaran [Sun, 17 Oct 2010 11:01:46 +0000 (11:01 +0000)]
Merged revisions 85630 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85630 | senthil.kumaran | 2010-10-17 16:22:12 +0530 (Sun, 17 Oct 2010) | 3 lines

  Fix Issue10119 - test_urllibnet failure when using support.transient_internet.
........

14 years agoMerged revisions 85586-85587,85596-85598 via svnmerge from
Gregory P. Smith [Sun, 17 Oct 2010 04:23:21 +0000 (04:23 +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.
........