Commit Graph

42483 Commits

Author SHA1 Message Date
R. David Murray e8a3ce4497 Blocked revisions 81678 via svnmerge
........
  r81678 | r.david.murray | 2010-06-03 16:19:25 -0400 (Thu, 03 Jun 2010) | 7 lines

  #8889: rewrite transient_internet so we don't use EAI_NODATA on FreeBSD.

  FreeBSD doesn't have socket.EAI_NODATA.  I rewrote the routine because
  there's no easy way to conditionally include a context manager in a
  with statement.  As a side benefit, instead of a stack of context
  managers there's now only one.
........
2010-06-16 02:51:26 +00:00
R. David Murray ff4a01dfaf Merged revisions 81675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81675 | r.david.murray | 2010-06-03 11:43:20 -0400 (Thu, 03 Jun 2010) | 10 lines

  #5610: use \Z not $ so we don't eat extra chars when body part ends with \r\n.

  If a body part ended with \r\n, feedparser, using '$' to terminate its
  search for the newline, would match on the \r\n, and think that it needed
  to strip two characters in order to account for the line end before the
  boundary.  That made it chop one too many characters off the end of
  the body part.  Using \Z makes the match correct.

  Patch and test by Tony Nelson.
........
2010-06-16 00:57:25 +00:00
R. David Murray 27e33fcd52 Merged revisions 81634 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81634 | r.david.murray | 2010-05-31 21:42:41 -0400 (Mon, 31 May 2010) | 2 lines

  #7583: clarify discussion of hard tab expansion in doctests.
........
2010-06-15 23:21:18 +00:00
Mark Dickinson b80d44f898 Merged revisions 81992 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81992 | mark.dickinson | 2010-06-15 09:33:03 +0100 (Tue, 15 Jun 2010) | 3 lines

  Issue #8469:  Further clarifications and improvements to struct module
  documentation.  Thanks Mads Kiilerich.
........
2010-06-15 08:38:21 +00:00
Mark Dickinson fb49f9a0be Merged revisions 81957 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81957 | mark.dickinson | 2010-06-12 19:50:34 +0100 (Sat, 12 Jun 2010) | 5 lines

  Issue #8469:  Add standard sizes to table in struct documentation; additional
  clarifications and documentation tweaks.

  Backport of revisions 81955-81956 from py3k.
........
2010-06-12 18:55:47 +00:00
Georg Brandl a232be1b0b Merged revisions 81940-81942 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81940 | georg.brandl | 2010-06-12 11:45:28 +0200 (Sa, 12 Jun 2010) | 1 line

  Add document on how to build.
........
  r81941 | georg.brandl | 2010-06-12 11:45:58 +0200 (Sa, 12 Jun 2010) | 1 line

  Fix gratuitous indentation.
........
  r81942 | georg.brandl | 2010-06-12 11:46:03 +0200 (Sa, 12 Jun 2010) | 1 line

  Update README.
........
2010-06-12 09:50:02 +00:00
Mark Dickinson 38b4a898fd Merged revisions 81904 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81904 | mark.dickinson | 2010-06-11 21:27:05 +0100 (Fri, 11 Jun 2010) | 4 lines

  Fix possible undefined behaviour from signed overflow in struct module.

  Backport of revisions 81897, 81898 and 81902 from py3k.
........
2010-06-12 08:49:42 +00:00
Georg Brandl 4f6ebc2db8 Merged revisions 81933 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81933 | georg.brandl | 2010-06-12 08:45:33 +0200 (Sa, 12 Jun 2010) | 1 line

  Update version in README.
........
2010-06-12 06:46:31 +00:00
Vinay Sajip f753d33665 Issue #8924: logging: Improved error handling for Unicode in exception text. 2010-06-11 22:56:50 +00:00
Antoine Pitrou 4595e51817 Merged revisions 81907 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81907 | antoine.pitrou | 2010-06-11 23:42:26 +0200 (ven., 11 juin 2010) | 5 lines

  Issue #8941: decoding big endian UTF-32 data in UCS-2 builds could crash
  the interpreter with characters outside the Basic Multilingual Plane
  (higher than 0x10000).
........
2010-06-11 21:48:02 +00:00
Victor Stinner 59c9fa106a Blocked revisions 81899 via svnmerge
........
  r81899 | victor.stinner | 2010-06-11 21:22:28 +0200 (ven., 11 juin 2010) | 2 lines

  Issue #8362: Add Misc/maintainers.rst: list of module maintainers
........
2010-06-11 19:24:20 +00:00
Ezio Melotti 015790fe40 Blocked revisions 81889 via svnmerge
........
  r81889 | ezio.melotti | 2010-06-11 05:21:25 +0300 (Fri, 11 Jun 2010) | 1 line

  Remove extra ] from itertools.count docstring.
........
2010-06-11 02:24:59 +00:00
Andrew M. Kuchling edbb091540 #5753: mention PySys_SetArgvEx() in 2.6 What's News 2010-06-11 01:07:06 +00:00
Philip Jenvey bc3376f66a Merged revisions 79779 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79779 | philip.jenvey | 2010-04-04 19:51:51 -0700 (Sun, 04 Apr 2010) | 2 lines

  fix escape_encode to return the correct consumed size
........
2010-06-09 17:55:28 +00:00
Antoine Pitrou 96ec48b414 Merged revisions 81860 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81860 | antoine.pitrou | 2010-06-09 18:24:00 +0200 (mer., 09 juin 2010) | 3 lines

  Issue #8930: fix some C code indentation
........
2010-06-09 16:31:23 +00:00
Brian Curtin 46a955b45a Merged revisions 81847 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81847 | brian.curtin | 2010-06-08 16:15:06 -0500 (Tue, 08 Jun 2010) | 3 lines

  Move a variable declration outside of a loop to match what was
  done in r81843 for py3k.
........
2010-06-08 21:17:16 +00:00
Benjamin Peterson 856333605a Merged revisions 81834 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81834 | benjamin.peterson | 2010-06-08 09:53:29 -0500 (Tue, 08 Jun 2010) | 1 line

  kill extra word
........
2010-06-08 14:58:25 +00:00
Benjamin Peterson eacc8737be Merged revisions 81825 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81825 | benjamin.peterson | 2010-06-07 17:33:09 -0500 (Mon, 07 Jun 2010) | 1 line

  use unicode literals
........
2010-06-07 22:38:19 +00:00
Benjamin Peterson c971913f84 Merged revisions 81820 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81820 | benjamin.peterson | 2010-06-07 17:23:23 -0500 (Mon, 07 Jun 2010) | 1 line

  correctly overflow when indexes are too large
........
2010-06-07 22:27:32 +00:00
Ezio Melotti 990361c054 Blocked revisions 81817 via svnmerge
........
  r81817 | ezio.melotti | 2010-06-08 01:00:18 +0300 (Tue, 08 Jun 2010) | 1 line

  Silence deprecation warning in test___all__ caused by an import bsddb.
........
2010-06-07 22:04:54 +00:00
Ezio Melotti ac85eeb1f0 Merged revisions 81769 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81769 | ezio.melotti | 2010-06-06 01:28:10 +0300 (Sun, 06 Jun 2010) | 1 line

  Replace deprecated fail* methods with the equivalent assert* ones.
........
2010-06-07 21:53:10 +00:00
Tarek Ziadé f7a65490a4 Merged revisions 81788 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81788 | tarek.ziade | 2010-06-06 22:05:20 +0200 (Sun, 06 Jun 2010) | 1 line

  Fixed #8909: now the doc details the size of the bitmap used in distutils' bdist_wininst
........
2010-06-06 20:10:03 +00:00
Mark Dickinson 3f9181143a Merged revisions 81749 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81749 | mark.dickinson | 2010-06-05 14:18:33 +0100 (Sat, 05 Jun 2010) | 2 lines

  Fix test_py3kwarn not to test for __cmp__-related DeprecationWarning.
........
2010-06-05 13:24:04 +00:00
Mark Dickinson 3bf9f1a4e9 Merged revisions 81744 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81744 | mark.dickinson | 2010-06-05 13:51:21 +0100 (Sat, 05 Jun 2010) | 1 line

  Fix comment typo.
........
2010-06-05 12:52:03 +00:00
Mark Dickinson b671c29336 Merged revisions 81740 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81740 | mark.dickinson | 2010-06-05 13:14:43 +0100 (Sat, 05 Jun 2010) | 5 lines

  Issue #8627: Fix "XXX undetected error" from unchecked PyErr_WarnPy3k return.
  This is just a quick fix:  if the warning is turned into an exception, the
  exception simply gets ignored.
........
2010-06-05 12:15:35 +00:00
Mark Dickinson 80068da395 Merged revisions 81736 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81736 | mark.dickinson | 2010-06-05 12:52:24 +0100 (Sat, 05 Jun 2010) | 1 line

  Issue #8627: remove out-of-date warning about overriding __cmp__
........
2010-06-05 11:59:41 +00:00
Martin v. Löwis c5010e0669 Merged revisions 81701 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81701 | martin.v.loewis | 2010-06-04 21:39:07 +0200 (Fr, 04 Jun 2010) | 2 lines

  Issue #6470: Drop UNC prefix in FixTk.py
  Patch by Christop Gohlke and Amaury Forgeot d'Arc.
........
2010-06-04 19:46:21 +00:00
Senthil Kumaran 3bde59c7b0 Merged revisions 81691 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81691 | senthil.kumaran | 2010-06-04 22:47:09 +0530 (Fri, 04 Jun 2010) | 3 lines

  test verifying the resp object is closed for HEAD response.
........
2010-06-04 17:20:13 +00:00
Senthil Kumaran 8c43610906 Merged revisions 81687 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81687 | senthil.kumaran | 2010-06-04 22:02:14 +0530 (Fri, 04 Jun 2010) | 3 lines

  Fix issue6312 - close the resp object for HEAD response.
........
2010-06-04 16:34:53 +00:00
Stefan Krah 312bdedf6f Also skip when test_support.verbose is false. 2010-06-03 16:04:47 +00:00
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