Commit Graph

42453 Commits

Author SHA1 Message Date
Ronald Oussoren 7682063d41 Merged revisions 81662 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81662 | ronald.oussoren | 2010-06-03 11:47:21 +0200 (Thu, 03 Jun 2010) | 9 lines

  Fix for issue #7724: ensure that distutils and python's own setup.py
  honor the MacOSX SDK when one is specified.

  This is needed to be able to build using the 10.4u SDK while running
  on OSX 10.6.

  This is a fixed version of the patch in r80963, I've tested this patch
  on OSX and Linux.
........
2010-06-03 14:59:56 +00:00
Lars Gustäbel 3c102f30fc Blocked revisions 81667 via svnmerge
........
  r81667 | lars.gustaebel | 2010-06-03 14:34:14 +0200 (Thu, 03 Jun 2010) | 8 lines

  Issue #8741: Fixed the TarFile.makelink() method that is responsible
  for extracting symbolic and hard link entries as regular files as a
  work-around on platforms that do not support filesystem links.

  This stopped working reliably after a change in r74571. I also added
  a few tests for this functionality.
........
2010-06-03 12:38:15 +00:00
Lars Gustäbel 9bcbe49ba1 Merged revisions 81663 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81663 | lars.gustaebel | 2010-06-03 11:56:22 +0200 (Thu, 03 Jun 2010) | 4 lines

  Issue #8833: tarfile created hard link entries with a size
  field != 0 by mistake. The associated testcase did not
  expose this bug because it was broken too.
........
2010-06-03 10:07:08 +00:00
R. David Murray e036af0ce5 Merged revisions 81658 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81658 | r.david.murray | 2010-06-02 18:03:15 -0400 (Wed, 02 Jun 2010) | 9 lines

  #1368247: make set_charset/MIMEText automatically encode unicode _payload.

  Fixes (mysterious, to the end user) UnicodeErrors when using utf-8 as
  the charset and unicode as the _text argument.  Also makes the way in
  which unicode gets encoded to quoted printable for other charsets more
  sane (it only worked by accident previously).  The _payload now is encoded
  to the charset.output_charset if it is unicode.
........
2010-06-02 22:11:01 +00:00
Antoine Pitrou b56b50ddd1 Merged revisions 81652 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81652 | antoine.pitrou | 2010-06-02 19:08:47 +0200 (mer., 02 juin 2010) | 4 lines

  Issue #8873: add a documentation note about possible performance issues with the
  default of unbuffered IO in subprocess.Popen.
........
2010-06-02 17:10:45 +00:00
Senthil Kumaran bebd23b73b Merged revisions 81645 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81645 | senthil.kumaran | 2010-06-02 07:49:15 +0530 (Wed, 02 Jun 2010) | 3 lines

  Fix issue8788 - description of doseq parameter in urllib.urlencode
........
2010-06-02 02:22:00 +00:00
Georg Brandl a0b86677c0 Merged revisions 81635 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81635 | georg.brandl | 2010-06-01 09:25:23 +0200 (Di, 01 Jun 2010) | 1 line

  Put docs for RegexObject.search() before RegexObject.match() to mirror re.search() and re.match() order.
........
2010-06-01 23:21:12 +00:00
Brian Curtin 360878ffdd Merged revisions 81640 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81640 | brian.curtin | 2010-06-01 08:29:13 -0500 (Tue, 01 Jun 2010) | 3 lines

  Fix #8618. Ask the Windows mixer API if there are any playback devices
  configured before attempting to test PlaySound.
........
2010-06-01 13:42:48 +00:00
Senthil Kumaran 7c7244bdef Merged revisions 81636 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81636 | senthil.kumaran | 2010-06-01 18:10:07 +0530 (Tue, 01 Jun 2010) | 3 lines

  Fix Issue8797 - urllib2 basic authentication fix for wrong passwords. It fails after 5 retries.
........
2010-06-01 12:42:44 +00:00
R. David Murray 9b94aaf3d8 Blocked revisions 81587 via svnmerge
........
  r81587 | r.david.murray | 2010-05-28 14:17:20 -0400 (Fri, 28 May 2010) | 2 lines

  Make the ctl-C shutdown of serve.py prettier.
........
2010-05-31 23:06:41 +00:00
R. David Murray 2e183377ee Merged revisions 81586 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81586 | r.david.murray | 2010-05-28 14:08:11 -0400 (Fri, 28 May 2010) | 2 lines

  Make reference to Generic Attribute Management a hyperlink.
........
2010-05-31 22:57:24 +00:00
Antoine Pitrou b0d6a59666 Merged revisions 81621 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81621 | antoine.pitrou | 2010-05-31 19:01:01 +0200 (lun., 31 mai 2010) | 4 lines

  Improve documentation for getaddrinfo() (part of #8857)
........
2010-05-31 17:02:35 +00:00
Alexander Belopolsky f5144ff586 Merged revisions 81555 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81555 | alexander.belopolsky | 2010-05-26 15:43:16 -0400 (Wed, 26 May 2010) | 3 lines

  Issue #7879: Do not test negative timestamps on any Windows platform
  including Windows CE.
........
2010-05-31 16:00:34 +00:00
Mark Dickinson 1fe4188396 Merged revisions 81602 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81602 | mark.dickinson | 2010-05-29 22:00:52 +0100 (Sat, 29 May 2010) | 1 line

  Untabify Modules/config.c.in.
........
2010-05-29 21:03:13 +00:00
Stefan Krah 0f55c32fc8 Merged revisions 81598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81598 | stefan.krah | 2010-05-29 14:54:35 +0200 (Sat, 29 May 2010) | 1 line

  Fix typo
........
2010-05-29 12:57:00 +00:00
Antoine Pitrou ae15f1754a Merged revisions 81594 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81594 | antoine.pitrou | 2010-05-29 14:06:13 +0200 (sam., 29 mai 2010) | 3 lines

  Issue #8840: Make documentation for truncate() clearer
........
2010-05-29 12:08:31 +00:00
Benjamin Peterson e210be5793 Merged revisions 81579 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81579 | benjamin.peterson | 2010-05-27 22:10:31 -0500 (Thu, 27 May 2010) | 1 line

  2to3 doesn't fix test_support #6583
........
2010-05-28 03:23:52 +00:00
Ezio Melotti dd1c023ee3 Blocked revisions 81318 via svnmerge
........
  r81318 | ezio.melotti | 2010-05-19 03:32:52 +0300 (Wed, 19 May 2010) | 1 line

  Fix typo in argparse doc.
........
2010-05-27 22:33:17 +00:00
Alexander Belopolsky cfd6bc0395 Merged revisions 81566 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81566 | alexander.belopolsky | 2010-05-27 16:55:27 -0400 (Thu, 27 May 2010) | 3 lines

  Issue #7150: Raise OverflowError if the result of adding or subtracting
  timedelta from date or datetime falls outside of the MINYEAR:MAXYEAR range.
........
2010-05-27 21:53:16 +00:00
Mark Dickinson 804b9d4dac Merged revisions 81551 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81551 | mark.dickinson | 2010-05-26 20:06:33 +0100 (Wed, 26 May 2010) | 1 line

  Issue #8825: additional testcases for int(string, 0) and long(string, 0).
........
2010-05-26 19:07:12 +00:00
Victor Stinner aa59f76217 Blocked revisions 81543 via svnmerge
........
  r81543 | victor.stinner | 2010-05-26 19:25:28 +0200 (mer., 26 mai 2010) | 2 lines

  Issue #7449: Skip test_socketserver if threading support is disabled
........
2010-05-26 17:31:46 +00:00
Brian Curtin b7b21f1ea4 Merged revisions 81517 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81517 | brian.curtin | 2010-05-25 10:06:15 -0500 (Tue, 25 May 2010) | 5 lines

  Fix #2810 - handle the case where some registry calls return
  ERROR_MORE_DATA, requiring another call to get the remaining data.

  Patch by Daniel Stutzbach
........
2010-05-26 13:24:57 +00:00
Victor Stinner c3e40e0454 Merged revisions 81537 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81537 | victor.stinner | 2010-05-26 00:30:32 +0200 (mer., 26 mai 2010) | 3 lines

  Issue #3798: Write sys.exit() message to sys.stderr to use stderr encoding and
  error handler, instead of writing to the C stderr file in utf-8
........
2010-05-25 22:40:38 +00:00
Mark Dickinson 7620f66397 Merged revisions 81527 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81527 | mark.dickinson | 2010-05-25 20:44:49 +0100 (Tue, 25 May 2010) | 1 line

  Fix a NameError in test_enumerate.
........
2010-05-25 19:47:22 +00:00
R. David Murray 71b2315824 Merged revisions 81521 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81521 | r.david.murray | 2010-05-25 11:32:06 -0400 (Tue, 25 May 2010) | 2 lines

  Issue 8818: urlparse/urlsplit keyword is 'scheme', not 'default_scheme'.
........
2010-05-25 15:49:57 +00:00
R. David Murray 5b9de5ccc5 Blocked revisions 81518 via svnmerge
........
  r81518 | r.david.murray | 2010-05-25 11:20:46 -0400 (Tue, 25 May 2010) | 8 lines

  Issue 8143: sync unquote in urlparse with urllib; add comment about doing so.

  unquote is duplicated in the two files to avoid a circular reference.
  (This is fixed in Python3.)  Updates keep getting made to the public unquote
  without fixing the urlparse one, however, so this fix syncs the two
  and adds a comment to both to make sure changes are applied to both.
........
2010-05-25 15:28:15 +00:00
Benjamin Peterson e631ec4f2e Merged revisions 81509 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81509 | benjamin.peterson | 2010-05-24 21:23:32 -0500 (Mon, 24 May 2010) | 1 line

  correct default docs
........
2010-05-25 02:27:03 +00:00
Victor Stinner b0c42877de Merged revisions 81500-81501 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81500 | victor.stinner | 2010-05-24 23:33:24 +0200 (lun., 24 mai 2010) | 2 lines

  Issue #6662: Fix parsing of malformatted charref (&#bad;)
........
  r81501 | victor.stinner | 2010-05-24 23:37:28 +0200 (lun., 24 mai 2010) | 2 lines

  Add the author of the last fix (Issue #6662)
........
2010-05-24 21:42:59 +00:00
Vinay Sajip cb7ea2912a Issue #8795: logging: Backported trunk fix for SysLogHandler and Unicode. 2010-05-24 09:43:13 +00:00
Jean-Paul Calderone c28d554db8 Merged revisions 74426 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

  Fix issue1628205: Socket file objects returned by socket.socket.makefile() now
  properly handles EINTR within the read, readline, write & flush methods.
  The socket.sendall() method now properly handles interrupted system calls.
........
2010-05-23 15:22:08 +00:00
Jean-Paul Calderone add85daa87 Unblocked revisions 74426 via svnmerge
........
  r74426 | gregory.p.smith | 2009-08-13 14:54:50 -0400 (Thu, 13 Aug 2009) | 4 lines

  Fix issue1628205: Socket file objects returned by socket.socket.makefile() now
  properly handles EINTR within the read, readline, write & flush methods.
  The socket.sendall() method now properly handles interrupted system calls.
........
2010-05-23 14:58:05 +00:00
Benjamin Peterson 4f7329693a Merged revisions 81479 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r81479 | benjamin.peterson | 2010-05-22 13:52:21 -0500 (Sat, 22 May 2010) | 13 lines

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

  ........
    r80937 | benjamin.peterson | 2010-05-07 14:10:58 -0500 (Fri, 07 May 2010) | 1 line

    remove redundant unicode call
  ........
    r81478 | benjamin.peterson | 2010-05-22 13:47:39 -0500 (Sat, 22 May 2010) | 1 line

    ensure doctests have some future_features
  ........
................
2010-05-22 18:59:38 +00:00
Mark Dickinson 83afa36483 Merged revisions 80013-80015 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80013 | mark.dickinson | 2010-04-12 20:25:32 +0100 (Mon, 12 Apr 2010) | 14 lines

  Issue #7355: Various improvements to struct module documentation.

   - note early on that the result of struct.pack includes padding
     bytes by default

   - add examples showing how order of struct fields can affect size
     (due to padding)

   - better headers and references; introduction to format strings

   - integrate packing notes into table

  Many thanks to Meador Inge for the patch.
........
  r80014 | mark.dickinson | 2010-04-12 20:46:20 +0100 (Mon, 12 Apr 2010) | 1 line

  Rewrap some long lines in struct module doc source.
........
  r80015 | mark.dickinson | 2010-04-12 21:38:36 +0100 (Mon, 12 Apr 2010) | 1 line

  More struct doc tweaks.
........
2010-05-22 18:47:23 +00:00
Victor Stinner 09c0f24f39 Merged revisions 81471-81472 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81471 | victor.stinner | 2010-05-22 15:37:56 +0200 (sam., 22 mai 2010) | 7 lines

  Issue #6268: More bugfixes about BOM, UTF-16 and UTF-32

   * Fix seek() method of codecs.open(), don't write the BOM twice after seek(0)
   * Fix reset() method of codecs, UTF-16, UTF-32 and StreamWriter classes
   * test_codecs: use "w+" mode instead of "wt+". "t" mode is not supported by
     Solaris or Windows, but does it really exist? I found it the in the issue.
........
  r81472 | victor.stinner | 2010-05-22 15:44:25 +0200 (sam., 22 mai 2010) | 4 lines

  Fix my last commit (r81471) about codecs

  Rememder: don't touch the code just before a commit
........
2010-05-22 16:52:13 +00:00
Georg Brandl e37049ccd7 Merged revisions 81468 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81468 | georg.brandl | 2010-05-22 13:43:25 +0200 (Sa, 22 Mai 2010) | 1 line

  #8635: document enumerate() start parameter in docstring.
........
2010-05-22 11:44:30 +00:00
Georg Brandl f9f33aa38d Merged revisions 81465-81466 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81465 | georg.brandl | 2010-05-22 13:29:19 +0200 (Sa, 22 Mai 2010) | 2 lines

  Issue #3924: Ignore cookies with invalid "version" field in cookielib.
........
  r81466 | georg.brandl | 2010-05-22 13:31:16 +0200 (Sa, 22 Mai 2010) | 1 line

  Underscore the name of an internal utility function.
........
2010-05-22 11:32:59 +00:00
Georg Brandl a10d64fba2 Merged revisions 81463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81463 | georg.brandl | 2010-05-22 10:17:23 +0200 (Sa, 22 Mai 2010) | 1 line

  #8785: less confusing description of regex.find*.
........
2010-05-22 08:21:45 +00:00
Victor Stinner f5a3eafaac Merged revisions 81459 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81459 | victor.stinner | 2010-05-22 04:11:07 +0200 (sam., 22 mai 2010) | 3 lines

  Issue #6268: Fix seek() method of codecs.open(), don't read the BOM twice
  after seek(0)
........
2010-05-22 02:12:28 +00:00
Victor Stinner 9a4a01df75 Merged revisions 81454 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81454 | victor.stinner | 2010-05-22 00:50:28 +0200 (sam., 22 mai 2010) | 3 lines

  Issue #5640: Fix Shift-JIS incremental encoder for error handlers different
  than strict
........
2010-05-21 22:55:31 +00:00
Georg Brandl 86a33341c0 Merged revisions 81450 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81450 | georg.brandl | 2010-05-22 00:03:29 +0200 (Sa, 22 Mai 2010) | 1 line

  #8709: mention Windows support for os.devnull.
........
2010-05-21 22:04:28 +00:00
Georg Brandl ada328c0ed Blocked revisions 81443 via svnmerge
........
  r81443 | georg.brandl | 2010-05-21 23:48:57 +0200 (Fr, 21 Mai 2010) | 1 line

  typo
........
2010-05-21 21:49:31 +00:00
Georg Brandl b0881f2de0 Merged revisions 81440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81440 | georg.brandl | 2010-05-21 23:47:05 +0200 (Fr, 21 Mai 2010) | 1 line

  Correct info for Semaphore.acquire() semantics under OSX.
........
2010-05-21 21:48:10 +00:00
Benjamin Peterson a3401654e1 Merged revisions 81432 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81432 | benjamin.peterson | 2010-05-21 16:31:24 -0500 (Fri, 21 May 2010) | 1 line

  ensure the last line has a trailing newline #8782
........
2010-05-21 21:45:16 +00:00
Georg Brandl f28ae81741 Merged revisions 81431 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81431 | georg.brandl | 2010-05-21 23:30:47 +0200 (Fr, 21 Mai 2010) | 1 line

  #8707: remove duplicate paragraph part.
........
2010-05-21 21:33:16 +00:00
Benjamin Peterson 0278a67e83 Merged revisions 81414 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81414 | benjamin.peterson | 2010-05-21 15:51:45 -0500 (Fri, 21 May 2010) | 1 line

  return NotImplemented from Mapping when comparing to a non-mapping #8729
........
2010-05-21 21:03:02 +00:00
Georg Brandl 81d1f4045b Merged revisions 81419 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81419 | georg.brandl | 2010-05-21 22:58:12 +0200 (Fr, 21 Mai 2010) | 1 line

  Add missing parameter in SimpleXMLRPCServer signature.
........
2010-05-21 20:59:28 +00:00
Georg Brandl 5c3840c831 Merged revisions 81415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81415 | georg.brandl | 2010-05-21 22:52:46 +0200 (Fr, 21 Mai 2010) | 1 line

  typo
........
2010-05-21 20:54:17 +00:00
Georg Brandl cdbe710216 Do not mention 2.7+ behavior in the 2.6 docs. 2010-05-21 20:48:48 +00:00
Benjamin Peterson 1646138f00 update 2to3 docs 2010-05-21 20:46:53 +00:00
Georg Brandl 7ff5a27bd6 typo 2010-05-21 20:42:22 +00:00