Commit Graph

43757 Commits

Author SHA1 Message Date
Georg Brandl 39db30c3e5 Merged revisions 82548,82634-82635 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint

................
  r82548 | georg.brandl | 2010-07-04 19:28:33 +0200 (So, 04 Jul 2010) | 1 line

  #8472: fix misleading reference to ifilterfalse() in filter() docs.
................
  r82634 | georg.brandl | 2010-07-07 21:05:35 +0200 (Mi, 07 Jul 2010) | 13 lines

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

  ........
    r82629 | georg.brandl | 2010-07-07 20:51:43 +0200 (Mi, 07 Jul 2010) | 1 line

    Make comment out of an awkward note.
  ........
    r82632 | georg.brandl | 2010-07-07 21:04:36 +0200 (Mi, 07 Jul 2010) | 1 line

    Turn more notes into comments.
  ........
................
  r82635 | georg.brandl | 2010-07-07 21:09:12 +0200 (Mi, 07 Jul 2010) | 9 lines

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

  ........
    r82615 | georg.brandl | 2010-07-07 00:58:50 +0200 (Mi, 07 Jul 2010) | 1 line

    Fix typo.
  ........
................
2010-07-09 07:51:43 +00:00
Georg Brandl 1d68f6510c Recorded merge of revisions 82725 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint

................
  r82725 | georg.brandl | 2010-07-09 09:38:13 +0200 (Fr, 09 Jul 2010) | 9 lines

  Recorded merge of revisions 82724 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/branches/py3k

  ........
    r82724 | georg.brandl | 2010-07-09 09:33:15 +0200 (Fr, 09 Jul 2010) | 1 line

    2.7 is now stable.
  ........
................
2010-07-09 07:48:05 +00:00
Georg Brandl 21ca6f5730 Initialized merge tracking via "svnmerge" with revisions "1-82726" from
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
2010-07-09 07:46:10 +00:00
Georg Brandl 9ee773f418 2.7 is stable now. 2010-07-09 07:42:13 +00:00
Mark Dickinson 58338ccb98 Issue #9136: Fix 'dictionary changed size during iteration'
RuntimeError produced when profiling the decimal module.  This was
due to a dangerous iteration over 'locals()' in Context.__init__.
(Backport of r82656 from release27-maint.)
2010-07-08 21:27:05 +00:00
Mark Dickinson 060d6556aa Fix Decimal speed issue; backport of r82652 from release27-maint. 2010-07-08 19:27:24 +00:00
Vinay Sajip cf212d4292 Minor improvements to logging documentation. 2010-07-06 15:08:55 +00:00
Mark Dickinson 1a7f3020a7 Issue #9130: Fix validation of relative imports in parser module. 2010-07-04 16:59:04 +00:00
Mark Dickinson 644bef795b Issue #9128: Fix validation of class decorators in parser module. 2010-07-04 16:28:57 +00:00
Victor Stinner e9123efa21 Merged revisions 82492 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82492 | victor.stinner | 2010-07-03 15:36:19 +0200 (sam., 03 juil. 2010) | 3 lines

  Issue #7673: Fix security vulnerability (CVE-2010-2089) in the audioop module,
  ensure that the input string length is a multiple of the frame size
........
2010-07-03 13:39:22 +00:00
Georg Brandl 4d1e53e05a Fix markup. 2010-07-03 10:29:20 +00:00
Mark Dickinson 6e07931d63 Merged revisions 82476 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82476 | mark.dickinson | 2010-07-03 10:15:09 +0100 (Sat, 03 Jul 2010) | 1 line

  Fix typo in sys.float_info docs.
........
2010-07-03 09:16:01 +00:00
Ezio Melotti 86e5e17bda Merged revisions 81758-81759 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81758 | ezio.melotti | 2010-06-05 20:51:07 +0300 (Sat, 05 Jun 2010) | 15 lines

  Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629.

  1) #8271: when a byte sequence is invalid, only the start byte and all the
     valid continuation bytes are now replaced by U+FFFD, instead of replacing
     the number of bytes specified by the start byte.
     See http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (pages 94-95);
  2) 5- and 6-bytes-long UTF-8 sequences are now considered invalid (no changes
     in behavior);
  3) Add code and tests to reject surrogates (U+D800-U+DFFF) as defined in
     RFC 3629, but leave it commented out since it's not backward compatible;
  4) Change the error messages "unexpected code byte" to "invalid start byte"
     and "invalid data" to "invalid continuation byte";
  5) Add an extensive set of tests in test_unicode;
  6) Fix test_codeccallbacks because it was failing after this change.
........
  r81759 | ezio.melotti | 2010-06-05 22:21:32 +0300 (Sat, 05 Jun 2010) | 1 line

  Add a NEWS entry for r81758 and clarify a comment.
........
2010-07-03 05:34:39 +00:00
Ezio Melotti 28fbea4128 Merged revisions 82457,82459 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82457 | ezio.melotti | 2010-07-03 01:17:29 +0300 (Sat, 03 Jul 2010) | 1 line

  #9139: Add examples for str.format().
........
  r82459 | ezio.melotti | 2010-07-03 01:50:39 +0300 (Sat, 03 Jul 2010) | 1 line

  #9139: the thousands separator is new in 2.7.  Also add a missing variable in the example.
........
2010-07-02 22:58:12 +00:00
Eric Smith 35789d0d53 Merged revisions 82455 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82455 | eric.smith | 2010-07-02 17:44:16 -0400 (Fri, 02 Jul 2010) | 1 line

  Moved period outside paren, where it belongs.
........
2010-07-02 22:24:54 +00:00
Mark Dickinson 64f9128309 Merged revisions 82446 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82446 | mark.dickinson | 2010-07-02 19:06:52 +0100 (Fri, 02 Jul 2010) | 1 line

  Clarify sys.float_info documentation.
........
2010-07-02 20:24:32 +00:00
Benjamin Peterson df1bc015f2 Merged revisions 82447 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82447 | benjamin.peterson | 2010-07-02 14:41:39 -0500 (Fri, 02 Jul 2010) | 1 line

  add space
........
2010-07-02 19:45:11 +00:00
Nick Coghlan a4b6862a86 Blocked revisions 82439,82441 via svnmerge
........
  r82439 | nick.coghlan | 2010-07-03 01:50:14 +1000 (Sat, 03 Jul 2010) | 1 line

  Fix a couple of minor nits in What's New before the release goes out
........
  r82441 | nick.coghlan | 2010-07-03 02:01:53 +1000 (Sat, 03 Jul 2010) | 1 line

  Issue 8202 actually caused an unintended behavioural change and was reverted in 2.7 - remove reference from What's New
........
2010-07-02 16:17:17 +00:00
Benjamin Peterson afaeaf18ee Merged revisions 82429 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82429 | benjamin.peterson | 2010-07-01 18:35:37 -0500 (Thu, 01 Jul 2010) | 1 line

  trunc does use the special method, though
........
2010-07-01 23:41:09 +00:00
Benjamin Peterson 8356806880 Merged revisions 82420 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82420 | benjamin.peterson | 2010-07-01 12:45:52 -0500 (Thu, 01 Jul 2010) | 1 line

  fix fixer name
........
2010-07-01 17:48:16 +00:00
Benjamin Peterson 988064e36d Merged revisions 82415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82415 | benjamin.peterson | 2010-07-01 10:07:15 -0500 (Thu, 01 Jul 2010) | 1 line

  remove docs about delegating to special methods; it does no such thing
........
2010-07-01 16:16:24 +00:00
Giampaolo Rodolà 1daf7aa2b2 Merged revisions 82404 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82404 | giampaolo.rodola | 2010-06-30 19:38:28 +0200 (mer, 30 giu 2010) | 1 line

  fix issue #6589: cleanup asyncore.socket_map if smtpd.SMTPServer constructor raises an exception
........
2010-06-30 17:41:25 +00:00
Mark Dickinson 9f11f39758 Merged revisions 82400 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82400 | mark.dickinson | 2010-06-30 17:27:57 +0100 (Wed, 30 Jun 2010) | 2 lines

  Issue #9125:  Update parser module for "except ... as ..." syntax.
........
2010-06-30 16:33:23 +00:00
Mark Dickinson 284bc0e711 Merged revisions 82379 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82379 | mark.dickinson | 2010-06-29 21:09:12 +0100 (Tue, 29 Jun 2010) | 1 line

  Issue #1789:  clarify that the 'size' column in struct docs refers to standard size.
........
2010-06-29 20:09:50 +00:00
Benjamin Peterson 60fa0bf4bd Merged revisions 82368 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82368 | benjamin.peterson | 2010-06-29 10:18:02 -0500 (Tue, 29 Jun 2010) | 1 line

  group cStringIO docs under its factory function
........
2010-06-29 15:26:43 +00:00
Senthil Kumaran 34d2ebec5f Merged revisions 82363 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82363 | senthil.kumaran | 2010-06-29 18:58:20 +0530 (Tue, 29 Jun 2010) | 3 lines

  Documentation Fix: urllib.urlopen.info uses mimetools.Message, not httplib.HTTPMessage.
........
2010-06-29 13:31:48 +00:00
Matthias Klose 8b8b260019 Tools/unicode/mkstringprep.py: Don't use string exceptions,
partial backport from r78982.
2010-06-29 10:59:31 +00:00
Senthil Kumaran 1b939643d9 Merged revisions 82334 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82334 | senthil.kumaran | 2010-06-28 22:37:40 +0530 (Mon, 28 Jun 2010) | 3 lines

  Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance not HTTPMessage object.
........
2010-06-28 17:11:32 +00:00
Senthil Kumaran 6303ec9d38 Merged revisions 82324 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82324 | senthil.kumaran | 2010-06-28 19:26:46 +0530 (Mon, 28 Jun 2010) | 3 lines

  Fix Issue8653 - Docstring for urlunsplit function.
........
2010-06-28 13:59:49 +00:00
Senthil Kumaran 4e85b50154 Merged revisions 82322 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82322 | senthil.kumaran | 2010-06-28 16:24:17 +0530 (Mon, 28 Jun 2010) | 3 lines

  Fix issue3428 - Document HTTPMessage class.
........
2010-06-28 10:58:16 +00:00
Ronald Oussoren 68f74ba556 Merged revisions 82284 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82284 | ronald.oussoren | 2010-06-27 15:59:39 +0200 (Sun, 27 Jun 2010) | 4 lines

  Fix for Issue8883: without this patch test_urllib will fail
  when there is a bare IP address in the "Bypass proxy settings
  for these Hosts & Domains" list on MacOSX.
........
2010-06-27 14:00:56 +00:00
Ronald Oussoren 3d3ffd8c44 Merged revisions 82150 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82150 | ronald.oussoren | 2010-06-22 11:32:22 +0200 (Tue, 22 Jun 2010) | 12 lines

  The code in _scproxy (a mac specific helper module to
  detect proxy settings) had the wrong logic for detecting
  if the checkbox 'Exclude simple hostnames' is checked. This
  checkin fixes that.

  As a result the test failure 'Issue8455' goes away on systems
  where the checkbox is not checked.

  I'm carefully avoiding saying that is fixes that issue,
  test_urllib2_localnet assumes that system proxy settings are
  empty (not just on OSX, see Issue8455 for details).
........
2010-06-27 12:49:49 +00:00
Ronald Oussoren a5dae25b3b Merged revisions 82276 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82276 | ronald.oussoren | 2010-06-27 14:43:47 +0200 (Sun, 27 Jun 2010) | 5 lines

  The uuid library on OSX 10.5 seems to contain the same bug as the one
  on OSX 10.6, therefore don't use it there either.

  This fixes issue8621.
........
2010-06-27 12:44:44 +00:00
Ronald Oussoren 0bf7ea8568 Merged revisions 82272 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82272 | ronald.oussoren | 2010-06-27 14:36:16 +0200 (Sun, 27 Jun 2010) | 8 lines

  Two small fixes for the support for SDKs on MacOSX:

  1) The code that checks if an path should be located in the SDK
     explicitly excludes /usr/local. This fixes issue9046

  2) The SDK variant for filtering "db_dirs_to_check" in setup.py
     was not doing anything because of a missing assignment.
........
2010-06-27 12:39:22 +00:00
R. David Murray c3175fcabf #9085: bump email package version to its correct value.
Previous versions of 2.6 have 4.0.1 because of a missed trunk
commit when 2.5 was released.
2010-06-26 19:01:40 +00:00
Alexander Belopolsky f61286284a Merged revisions 82251 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82251 | alexander.belopolsky | 2010-06-26 14:49:10 -0400 (Sat, 26 Jun 2010) | 1 line

  Issue 9024: Added :cdata: tag to PyDateTimeAPI
........
2010-06-26 18:53:49 +00:00
Ezio Melotti 6327bf1c6a Merged revisions 82248 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82248 | ezio.melotti | 2010-06-26 21:44:42 +0300 (Sat, 26 Jun 2010) | 1 line

  Fix extra space.
........
2010-06-26 18:47:01 +00:00
R. David Murray 24c845fc37 Blocked revisions 82246 via svnmerge
........
  r82246 | r.david.murray | 2010-06-26 14:39:50 -0400 (Sat, 26 Jun 2010) | 8 lines

  #9085: email versions have gotten out of sync, 2.7 is actually 4.0.3.

  In 2.5 the email version was bumped to 4.0.2 just before release but
  after the maintenance branch was set up.  The bump was not backported
  to trunk, and 2.6 went out the door with a version number of 4.0.1.
  I bumped this to 4.0.2 because of a behavior change, but that makes
  it look the same as 2.5.  So bump it again to 4.0.3.
........
2010-06-26 18:45:43 +00:00
R. David Murray 5efa15260b Merged revisions 82233,82242 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82233 | r.david.murray | 2010-06-25 20:06:44 -0400 (Fri, 25 Jun 2010) | 2 lines

  #4640: add a test to optparse that proves issue is invalid.
........
  r82242 | r.david.murray | 2010-06-25 23:27:32 -0400 (Fri, 25 Jun 2010) | 2 lines

  Fix indentation in recently added test.
........
2010-06-26 03:32:13 +00:00
Alexander Belopolsky fe84f327a2 Merged revisions 82236 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82236 | alexander.belopolsky | 2010-06-25 22:05:19 -0400 (Fri, 25 Jun 2010) | 4 lines

  Issue #9024: Fixed mark-up for PyDateTime_IMPORT macro and added that
  it is typically used in module initialization function. Thanks Tim
  Golden for the patch.
........
2010-06-26 02:12:19 +00:00
Mark Dickinson 82842cc46e Merged revisions 82221 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82221 | mark.dickinson | 2010-06-25 21:19:48 +0100 (Fri, 25 Jun 2010) | 1 line

  Fix indentation of Python code example in C comment.
........
2010-06-25 20:21:43 +00:00
Antoine Pitrou b4f0e644bc Merged revisions 82210 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82210 | antoine.pitrou | 2010-06-25 02:03:21 +0200 (ven., 25 juin 2010) | 4 lines

  Issue #9075: In the ssl module, remove the setting of a `debug` flag
  on an OpenSSL structure.
........
2010-06-25 00:09:05 +00:00
Stefan Krah 69ed774fe1 Blocked revisions 82191 via svnmerge
........
  r82191 | stefan.krah | 2010-06-24 11:33:05 +0200 (Thu, 24 Jun 2010) | 5 lines

  Issue #9020: The Py_IS* macros from pyctype.h should generally only be
  used with signed/unsigned char arguments. For integer arguments, EOF
  has to be handled separately.
........
2010-06-24 09:35:39 +00:00
Stefan Krah 27db0d20de Issue #8930: Remaining indentation fixes after the Grand Unified Indenting. 2010-06-23 18:17:18 +00:00
Stefan Krah e6c4244b06 Blocked revisions 82177 via svnmerge
........
  r82177 | stefan.krah | 2010-06-23 20:12:09 +0200 (Wed, 23 Jun 2010) | 3 lines

  Issue #8930: Remaining indentation fixes after the Grand Unified Indenting.
........
2010-06-23 18:15:16 +00:00
Antoine Pitrou c31616d558 Merged revisions 82169 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82169 | antoine.pitrou | 2010-06-22 23:42:05 +0200 (mar., 22 juin 2010) | 4 lines

  Fix misindents in compile.c (for Benjamin).
  Of course, whoever used the wrong indentation rules needs to be spanked.
........
2010-06-22 21:47:04 +00:00
Benjamin Peterson 8d6496385d Merged revisions 82157 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82157 | benjamin.peterson | 2010-06-22 14:16:37 -0500 (Tue, 22 Jun 2010) | 1 line

  remove INT_MAX assertions; they can fail with large Py_ssize_t #9058
........
2010-06-22 19:21:33 +00:00
Benjamin Peterson aae46dd89b Merged revisions 82130 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82130 | benjamin.peterson | 2010-06-21 10:27:46 -0500 (Mon, 21 Jun 2010) | 1 line

  fix finding visual studio 2008 on 64 bit #8854
........
2010-06-21 15:39:28 +00:00
Jean-Paul Calderone d7d58ebfc8 Merged revisions 82075 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82075 | jean-paul.calderone | 2010-06-18 16:00:17 -0400 (Fri, 18 Jun 2010) | 12 lines

  Revert r60115

  This revision introduced quoting for strings containing | based
  on a misunderstanding of the commonly used quoting rules used
  on Windows.

  | is interpreted by cmd.exe, not by the MS C runtime argv initializer.
  It only needs to be quoted if it is part of an argument passed through
  cmd.exe.

  See issue1300, issue7839, and issue8972.
........
2010-06-18 20:10:12 +00:00
Senthil Kumaran 4fb51b4d05 Merged revisions 82047 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82047 | senthil.kumaran | 2010-06-17 22:08:34 +0530 (Thu, 17 Jun 2010) | 3 lines

  Fix Issue4452 - Incorrect docstring of os.setpgrp
........
2010-06-17 16:41:47 +00:00