Commit Graph

45365 Commits

Author SHA1 Message Date
Georg Brandl eefec7b857 Merged revisions 82872,82874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82872 | georg.brandl | 2010-07-14 10:53:18 +0200 (Mi, 14 Jul 2010) | 1 line

  Remove XXX from text.
........
  r82874 | georg.brandl | 2010-07-14 10:54:40 +0200 (Mi, 14 Jul 2010) | 1 line

  #9235: fix missing import of sys.
........
2010-07-14 08:55:55 +00:00
Georg Brandl 5d2b685717 Blocked revisions 82873 via svnmerge
........
  r82873 | georg.brandl | 2010-07-14 10:53:36 +0200 (Mi, 14 Jul 2010) | 1 line

  Remove unused code that would raise a NameError.
........
2010-07-14 08:55:03 +00:00
Alexander Belopolsky eeb666ccf3 Merged revisions 82850 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82850 | alexander.belopolsky | 2010-07-13 10:50:16 -0400 (Tue, 13 Jul 2010) | 1 line

  Set sys.modules[name] to None instead of 0 to block module import.
........
2010-07-14 00:05:00 +00:00
Stefan Krah 8cb9f03ecb Remove PYOS_OS2 special cases from the Solaris/OpenBSD section. 2010-07-13 19:40:00 +00:00
Stefan Krah 182ae64235 Issue #9185: On Solaris and OpenBSD, posix_getcwd() could loop indefinitely
if the path length exceeded PATH_MAX.
2010-07-13 19:17:08 +00:00
Jeroen Ruigrok van der Werven 320477e4db Merged revisions 82849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82849 | jeroen.ruigrok | 2010-07-13 16:47:01 +0200 (di, 13 jul 2010) | 2 lines

  Fix documentation typo: wprite() -> write().
........
2010-07-13 15:08:30 +00:00
Antoine Pitrou 22cc6d5ba3 Merged revisions 82842 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82842 | antoine.pitrou | 2010-07-12 22:01:52 +0200 (lun., 12 juil. 2010) | 3 lines

  Fix definition of len() and indexing for memoryview objects (part of #7696).
........
2010-07-12 20:11:52 +00:00
Ezio Melotti c425f8fcb4 Merged revisions 82839 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82839 | ezio.melotti | 2010-07-12 22:49:41 +0300 (Mon, 12 Jul 2010) | 1 line

  #6026: skip test_get_file_list when zlib is not available.
........
2010-07-12 19:52:15 +00:00
Mark Dickinson 42add99f77 Merged revisions 82821 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82821 | mark.dickinson | 2010-07-11 19:53:06 +0100 (Sun, 11 Jul 2010) | 3 lines

  Issue #9137: Fix issue in MutableMapping.update, which incorrectly
  treated keyword arguments called 'self' or 'other' specially.
........
2010-07-11 19:17:28 +00:00
Antoine Pitrou 3266978300 Merged revisions 82814 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82814 | antoine.pitrou | 2010-07-11 14:12:00 +0200 (dim., 11 juil. 2010) | 4 lines

  Issue #7616: Fix copying of overlapping memoryview slices with the Intel
  compiler.
........
2010-07-11 12:14:05 +00:00
Georg Brandl fbf2f14777 Merged revisions 82806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82806 | georg.brandl | 2010-07-11 12:22:44 +0200 (So, 11 Jul 2010) | 1 line

  #9223: link to Command class reference, and move Command interface docs nearer to class docs.
........
2010-07-11 10:29:37 +00:00
Georg Brandl 9d4725281a Blocked revisions 82801 via svnmerge
........
  r82801 | georg.brandl | 2010-07-11 11:33:39 +0200 (So, 11 Jul 2010) | 1 line

  #9184: fix default value for "buffering" param of open().
........
2010-07-11 09:36:31 +00:00
Georg Brandl 4303fcaa7d Merged revisions 82799 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82799 | georg.brandl | 2010-07-11 11:26:57 +0200 (So, 11 Jul 2010) | 1 line

  Fix typo.
........
2010-07-11 09:34:16 +00:00
Georg Brandl 2e73a3f39e Merged revisions 82789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82789 | georg.brandl | 2010-07-11 10:33:16 +0200 (So, 11 Jul 2010) | 1 line

  Silence makeindex.
........
2010-07-11 08:57:05 +00:00
Georg Brandl 04eba2ccdd Merged revisions 82790 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82790 | georg.brandl | 2010-07-11 10:36:20 +0200 (So, 11 Jul 2010) | 1 line

  #3214 followup: add link to ABC entry.
........
2010-07-11 08:56:18 +00:00
Ronald Oussoren 7595620105 Fix for issue #9164: with this patch sysconfig and distuls don't break
when duplicate '-arch foo' flags end up in CFLAGS (which may happen when
building a universal build using macports)
2010-07-11 08:52:52 +00:00
Senthil Kumaran e940c5d7df Merged revisions 82785 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82785 | senthil.kumaran | 2010-07-11 10:31:52 +0530 (Sun, 11 Jul 2010) | 3 lines

  Issue2007: Removing reference to MSIE Cookie handling by mechanize. Suggested by John J Lee.
........
2010-07-11 05:11:10 +00:00
Senthil Kumaran 87ed31a414 Merged revisions 82780 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82780 | senthil.kumaran | 2010-07-11 08:42:43 +0530 (Sun, 11 Jul 2010) | 3 lines

  Stricter verification for file based url scheme and reliance on ftp protocol.
........
2010-07-11 03:18:51 +00:00
Benjamin Peterson 9d8c456696 Merged revisions 82777 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82777 | benjamin.peterson | 2010-07-10 10:14:45 -0500 (Sat, 10 Jul 2010) | 1 line

  ValueError is eventually what we want to move to, I suppose
........
2010-07-10 15:17:08 +00:00
Michael Foord e800b27519 Blocked revisions 82767 via svnmerge
........
  r82767 | michael.foord | 2010-07-10 14:52:22 +0100 (Sat, 10 Jul 2010) | 2 lines

  Fix error message for comparing single line strings in unittest.TestCase.assertEqual.
  Issue 9174.
........
2010-07-10 14:34:33 +00:00
R. David Murray a63f9b674b Merged revisions 82771 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82771 | r.david.murray | 2010-07-10 10:23:36 -0400 (Sat, 10 Jul 2010) | 2 lines

  Add missing docs for re module 'purge' function.
........
2010-07-10 14:25:18 +00:00
R. David Murray 2ab02f0e16 Merged revisions 82766 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

Since 'purge' is an API change, modified it to be _purge for 2.x
and deleted the doc update.

........
  r82766 | r.david.murray | 2010-07-10 09:52:13 -0400 (Sat, 10 Jul 2010) | 5 lines

  Fix 'refleak' introduced by fnmatch cache purge tests.

  This introduces a 'purge' function for the fnmatch module analogous
  to the 'purge' function in the re module.
........
2010-07-10 14:06:51 +00:00
Michael Foord 94f071c715 Fix error message for comparing single line strings in unittest.TestCase.assertEqual.
Issue 9174
2010-07-10 13:51:42 +00:00
Benjamin Peterson 8e93f4e791 this makes checking for warnings less error prone 2010-07-09 18:15:28 +00:00
Benjamin Peterson 0b00b6b987 Merged revisions 82739,82741 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82739 | benjamin.peterson | 2010-07-09 08:28:42 -0500 (Fri, 09 Jul 2010) | 1 line

  allow more exceptions
........
  r82741 | benjamin.peterson | 2010-07-09 08:31:11 -0500 (Fri, 09 Jul 2010) | 1 line

  wrap
........
2010-07-09 13:33:03 +00:00
R. David Murray f6cbdcbf69 Add missing NEWS entry for 7646. 2010-07-09 13:25:56 +00:00
Benjamin Peterson 306d88fc76 Merged revisions 82735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82735 | benjamin.peterson | 2010-07-09 08:20:40 -0500 (Fri, 09 Jul 2010) | 1 line

  OverflowError is fine
........
2010-07-09 13:21:35 +00:00
R. David Murray 6251496e98 Merged revisions 82731 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82731 | r.david.murray | 2010-07-09 09:14:03 -0400 (Fri, 09 Jul 2010) | 2 lines

  Fix sort order mistake in Misc/ACKS.
........
2010-07-09 13:17:45 +00:00
R. David Murray abd4553fd4 Merged revisions 82730 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

'merge' in the sense that this is the same fix by the same author.

........
  r82730 | r.david.murray | 2010-07-09 08:23:21 -0400 (Fri, 09 Jul 2010) | 4 lines

  7846: limit fnmatch pattern cache to _MAXCACHE=100 entries.

  Patch by Andrew Clegg.
........
2010-07-09 13:16:00 +00:00
Georg Brandl 0e6771fd30 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:38:13 +00:00
Mark Dickinson 7ea29b0416 Move Misc/NEWS entries to the right place. 2010-07-08 21:28:31 +00:00
Mark Dickinson 9b9e12530d Merged revisions 82654 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82654 | mark.dickinson | 2010-07-08 22:15:36 +0100 (Thu, 08 Jul 2010) | 3 lines

  Issue #9136: Profiling Decimal gave 'dictionary changed size during iteration'.
  Remove the use of locals() that caused this error.
........
2010-07-08 21:22:54 +00:00
Mark Dickinson e85aa739ab Merged revisions 82646,82649-82650 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82646 | mark.dickinson | 2010-07-08 18:23:40 +0100 (Thu, 08 Jul 2010) | 1 line

  In test_decimal, convert heuristic for skipping tests into an explicit skiplist.
........
  r82649 | mark.dickinson | 2010-07-08 20:03:34 +0100 (Thu, 08 Jul 2010) | 1 line

  Fix a performance issue in Decimal.pow.  Thanks Stefan Krah for finding this.
........
  r82650 | mark.dickinson | 2010-07-08 20:09:16 +0100 (Thu, 08 Jul 2010) | 1 line

  Fix misplaced exactness check that was causing unnecessary work in Decimal.__pow__.
........
2010-07-08 19:24:40 +00:00
Antoine Pitrou 22db73523c Merged revisions 82647 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82647 | antoine.pitrou | 2010-07-08 20:51:30 +0200 (jeu., 08 juil. 2010) | 3 lines

  Issue #8605: Skip test_gdb if Python is compiled with optimizations.
........
2010-07-08 18:54:04 +00:00
Benjamin Peterson 86ac22e338 Merged revisions 82637 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82637 | benjamin.peterson | 2010-07-07 17:45:06 -0500 (Wed, 07 Jul 2010) | 1 line

  ValueError in this case is also acceptable
........
2010-07-07 23:26:57 +00:00
Georg Brandl 90c0718052 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-07 19:09:12 +00:00
Georg Brandl 1882d2a6ab 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.
........
2010-07-07 19:05:35 +00:00
Benjamin Peterson 489113fd5f Merged revisions 82628,82630 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82628 | benjamin.peterson | 2010-07-07 13:44:05 -0500 (Wed, 07 Jul 2010) | 1 line

  this needn't be in the loop
........
  r82630 | benjamin.peterson | 2010-07-07 13:54:59 -0500 (Wed, 07 Jul 2010) | 1 line

  don't ignore exceptions from PyObject_IsTrue
........
2010-07-07 19:03:36 +00:00
Benjamin Peterson ba303c82d1 these tests are the result of cpython's incorrect implementation 2010-07-07 15:51:17 +00:00
Matthias Klose c9ba8914c9 Remove whatsnew item about --with-computed-gotos. 2010-07-07 11:03:50 +00:00
Vinay Sajip 80eed3e625 Minor improvements to logging documentation. 2010-07-06 15:08:55 +00:00
Mark Dickinson dab089632f Merged revisions 82607 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82607 | mark.dickinson | 2010-07-06 16:00:40 +0100 (Tue, 06 Jul 2010) | 1 line

  Indentation and PEP 7 fixes.
........
2010-07-06 15:03:42 +00:00
Senthil Kumaran c167712c00 Merged revisions 82601 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82601 | senthil.kumaran | 2010-07-06 07:38:36 +0530 (Tue, 06 Jul 2010) | 3 lines

  Change 'lowered' to 'lowercased'
........
2010-07-06 03:06:53 +00:00
Mark Dickinson d2d23784c9 Merged revisions 82595 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82595 | mark.dickinson | 2010-07-05 21:14:26 +0100 (Mon, 05 Jul 2010) | 1 line

  Post-detabification cleanup.
........
2010-07-05 20:16:40 +00:00
Benjamin Peterson 690959f145 untabify 2010-07-05 20:05:43 +00:00
Georg Brandl 9273f80982 Merged revisions 82587 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82587 | georg.brandl | 2010-07-05 19:48:38 +0200 (Mo, 05 Jul 2010) | 1 line

  #9166: NotImplemented is not an exception.
........
2010-07-05 17:50:55 +00:00
Benjamin Peterson bace6764fa be more generous to implementations that have implemented correctly 2010-07-05 17:13:21 +00:00
R. David Murray 3caf7b9c88 #9161: Fix regression in acceptance of unicode strings in add_option calls.
The original change in 2.6 was made during rc1 changeover, and did not
get ported to 2.7.  The original change may not even have been
intentional, but if so it doesn't seem to have caused any problems.
2010-07-05 16:06:05 +00:00
Senthil Kumaran 5261b10556 Merged revisions 82573 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82573 | senthil.kumaran | 2010-07-05 17:30:56 +0530 (Mon, 05 Jul 2010) | 3 lines

  Fix the docstrings of the capitalize method.
........
2010-07-05 12:04:07 +00:00
Senthil Kumaran ca92a60e2e Merged revisions 82570 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82570 | senthil.kumaran | 2010-07-05 17:11:42 +0530 (Mon, 05 Jul 2010) | 3 lines

  Fix: Issue9091 Minor documentation clarification.
........
2010-07-05 11:44:34 +00:00