Commit Graph

44858 Commits

Author SHA1 Message Date
Eric Smith 368ede83d9 Issue 8671: Whitespace fix. 2010-05-09 14:04:59 +00:00
Michael Foord 53a92eb3c3 Adding a test for unittest.BaseTestSuite. 2010-05-09 09:58:25 +00:00
Mark Dickinson 7000e9e01b Issue #8644: Improve accuracy of timedelta.total_seconds method.
(Backport of r80979 to py3k.)  Thanks Alexander Belopolsky.
2010-05-09 09:30:06 +00:00
Gregory P. Smith 860852fdf4 Revert r81012. buildbot problems and its questionable of me to even
add this to trunk while we're on the way to 2.7rc1.

When fixed this can go into py3k first.  Sorry.
2010-05-09 01:20:20 +00:00
Gregory P. Smith 56fe6569fd Fixes [issue7245] Better Ctrl-C support in pdb. 2010-05-08 23:38:49 +00:00
Benjamin Peterson e8150e8441 remove svn:mergeinfo property 2010-05-08 20:59:42 +00:00
Jean-Paul Calderone e54ddf1ed2 Skip signal handler re-installation if it is not necessary. Issue 8354. 2010-05-08 20:06:02 +00:00
Mark Dickinson 0712b5651a Fix configure bug that was misreporting availability of MacOS X 10.5 SDK as available on Linux but not on OS X. 2010-05-08 19:13:21 +00:00
Benjamin Peterson 534b8de63b towards 2.7 release candidate 1 2010-05-08 18:53:42 +00:00
Benjamin Peterson 38edcea7e9 tag second 2.7 beta 2010-05-08 17:10:37 +00:00
Benjamin Peterson c251607d59 bump version to 2.7 beta 2 2010-05-08 17:08:17 +00:00
Michael Foord 9c164af6c3 unittest: issue 8301. Adding functions to test suites no longer crashes. 2010-05-08 17:06:25 +00:00
Benjamin Peterson 7daf0e4aa1 update pydoc-topics 2010-05-08 17:05:19 +00:00
Benjamin Peterson f063d15873 run and fix enumerate start test cases #8636 2010-05-08 16:44:52 +00:00
Michael Foord 959c16d7a4 Updating documentation and adding docstrings to unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038. 2010-05-08 16:40:52 +00:00
Benjamin Peterson 7baf8627bd add underscore 2010-05-08 15:42:29 +00:00
Benjamin Peterson ac896ed177 r80967 introduced a new scheme 2010-05-08 15:41:44 +00:00
Andrew M. Kuchling 0efe18ab0c Write summary of the 2.7 release; rewrite the future section some more;
mention PYTHONWARNINGS env. var; tweak some examples for readability.

And with this commit, the "What's New" is done... except for a
complete read-through to polish the text, and fixing any reported errors,
but those tasks can easily wait until after beta2.
2010-05-08 15:39:46 +00:00
Antoine Pitrou dac6aeb43c Revert r80963 - it broke compilation everywhere 2010-05-08 15:23:57 +00:00
Michael Foord 8851b71c6f Documenting test discovery from package name and potential problems with test discovery importing tests from the wrong location. Issue 7780 and issue 8547. 2010-05-08 15:09:37 +00:00
Andrew M. Kuchling 304500cd10 Markup fixes 2010-05-08 13:29:46 +00:00
Andrew M. Kuchling 8e34386028 Add logging.dictConfig example; give up on writing a Ttk example 2010-05-08 13:28:03 +00:00
Michael Foord 22097e4e66 Issue 7780. Adding a test for unittest test discovery from a dotted path. 2010-05-08 13:20:07 +00:00
Matthias Klose cbf54b1e7e configure.in: Avoid autoconf warning: Assume C89 semantics that
RETSIGTYPE is always void (issue #8510).
pyconfig.h: Regenerate
2010-05-08 11:04:18 +00:00
Matthias Klose c511b47fb6 configure.in: convert all obsolete AC_TRY_* macros to AC_*_IFELSE,
only whitespace changes in generated configure (diff -uEwB).
2010-05-08 11:01:39 +00:00
Ronald Oussoren 2f88bfdf96 Issue #8084: ensure that the --user directory
conforms to platforms standars on OSX when
using a python framework.
2010-05-08 10:29:06 +00:00
Matthias Klose 9f8e0c11f0 configure.in: s/AC_AIX/AC_USE_SYSTEM_EXTENSIONS/ 2010-05-08 10:17:27 +00:00
Matthias Klose 22520ea354 - configure.in: Replace AC_HELP_STRING with AS_HELP_STRING 2010-05-08 10:14:46 +00:00
Matthias Klose a0bea5d5a2 - Issue #8510: Update to autoconf2.65. 2010-05-08 10:00:28 +00:00
Ronald Oussoren d875d3c36e Fix for issue #7724: make it possible to build using
the OSX 10.4u SDK on MacOSX 10.6 by honoring the specified
SDK when looking for files.
2010-05-08 08:44:37 +00:00
Mark Dickinson 22ff664ff7 Issue #8659: Remove redundant ABS calls. Thanks Daniel Stutzbach. 2010-05-08 08:01:19 +00:00
Senthil Kumaran 18e4dd74e0 Fixing the errors trigerred in test_urllib2net. Related to issue8656. 2010-05-08 05:00:11 +00:00
Senthil Kumaran 6057ba1f97 Fix Issue8656 - urllib2 mangles file://-scheme URLs 2010-05-08 03:11:50 +00:00
Andrew M. Kuchling badc709847 Get accents correct 2010-05-08 01:35:55 +00:00
Andrew M. Kuchling 85fffc368d Add two items 2010-05-08 01:15:26 +00:00
Michael Foord e6f5e22123 Issue 8547 - detecting and reporting that modules have been imported from the wrong location under test discovery. 2010-05-07 23:39:38 +00:00
Benjamin Peterson 1a0ce685ab revert r80932; it breaks windows 2010-05-07 20:45:07 +00:00
Benjamin Peterson 5dfad9dc9a Merged revisions 79911,79916-79917,80018,80418,80572-80573,80635-80639,80668,80922 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r79911 | benjamin.peterson | 2010-04-09 15:38:53 -0500 (Fri, 09 Apr 2010) | 1 line

  use absolute import
........
  r79916 | benjamin.peterson | 2010-04-09 16:05:21 -0500 (Fri, 09 Apr 2010) | 1 line

  generalize detection of __future__ imports and attach them to the tree
........
  r79917 | benjamin.peterson | 2010-04-09 16:11:44 -0500 (Fri, 09 Apr 2010) | 1 line

  don't try to 'fix' relative imports when absolute_import is enabled #8858
........
  r80018 | benjamin.peterson | 2010-04-12 16:12:12 -0500 (Mon, 12 Apr 2010) | 4 lines

  prevent diffs from being mangled is multiprocess mode #6409

  Patch by George Boutsioukis.
........
  r80418 | benjamin.peterson | 2010-04-23 16:00:03 -0500 (Fri, 23 Apr 2010) | 1 line

  remove unhelpful description
........
  r80572 | benjamin.peterson | 2010-04-27 20:33:54 -0500 (Tue, 27 Apr 2010) | 1 line

  use unicode literals
........
  r80573 | jeffrey.yasskin | 2010-04-27 23:08:27 -0500 (Tue, 27 Apr 2010) | 6 lines

  Don't transform imports that are already relative.  2to3 turned
    from . import refactor
  into
    from .. import refactor
  which broke the transformation of 2to3 itself.
........
  r80635 | benjamin.peterson | 2010-04-29 16:02:23 -0500 (Thu, 29 Apr 2010) | 1 line

  remove imports
........
  r80636 | benjamin.peterson | 2010-04-29 16:02:41 -0500 (Thu, 29 Apr 2010) | 1 line

  unicode literal
........
  r80637 | benjamin.peterson | 2010-04-29 16:03:42 -0500 (Thu, 29 Apr 2010) | 1 line

  must pass a string to Number
........
  r80638 | benjamin.peterson | 2010-04-29 16:05:34 -0500 (Thu, 29 Apr 2010) | 1 line

  unicode literals
........
  r80639 | benjamin.peterson | 2010-04-29 16:06:09 -0500 (Thu, 29 Apr 2010) | 1 line

  pass string to Number
........
  r80668 | jeffrey.yasskin | 2010-04-30 18:02:47 -0500 (Fri, 30 Apr 2010) | 4 lines

  Make 2to3 run under Python 2.5 so that the benchmark suite at
  http://hg.python.org/benchmarks/ can use it and still run on implementations
  that haven't gotten to 2.6 yet.  Fixes issue 8566.
........
  r80922 | benjamin.peterson | 2010-05-07 11:06:25 -0500 (Fri, 07 May 2010) | 1 line

  prevent xrange transformation from wrapping range calls it produces in list
........
2010-05-07 18:58:23 +00:00
Michael Foord ae4dde0858 Issue 8547 - detecting and reporting that modules have been imported from the wrong location under test discovery. 2010-05-07 18:16:19 +00:00
Antoine Pitrou 3843cd8e86 Issue #8571: Fix an internal error when compressing or decompressing a
chunk larger than 1GB with the zlib module's compressor and decompressor
objects.
2010-05-07 16:50:34 +00:00
Michael Foord 4fedbce55a Adding tests for unittest command line handling of buffer, catchbreak and failfast. 2010-05-07 15:52:05 +00:00
Michael Foord 215d394b82 Adding a test for unittest test discovery with dotted path name. 2010-05-07 15:34:08 +00:00
Andrew M. Kuchling d1e696b60f Re-word text 2010-05-07 11:30:47 +00:00
Antoine Pitrou d69e6ee656 Fix some markup and a class name. Also, wrap a long line. 2010-05-07 10:15:51 +00:00
Senthil Kumaran e41bb0bc2c Testsuite for RFC3986 based parsing scenario. Related Issue1462525. 2010-05-07 04:07:29 +00:00
Andrew M. Kuchling 02f7b990e1 Add a new section on the development plan; add an item 2010-05-07 01:45:14 +00:00
Benjamin Peterson 328e3775df ensure that availability information is on its own line at the end of the function docs 2010-05-06 22:49:28 +00:00
Benjamin Peterson 7aaef849f9 Availability gets its own line 2010-05-06 22:33:46 +00:00
Giampaolo Rodolà e4499a88c2 adds handle_error(self):raise to test modules using asyncore to provide a clearer error message in case something goes wrong 2010-05-06 20:19:32 +00:00
Giampaolo Rodolà 215b6b392d provides a clearer warning message when cheap inheritance with the underlying socket object is used 2010-05-06 19:56:34 +00:00