Commit Graph

38082 Commits

Author SHA1 Message Date
Brett Cannon ae9ad186d0 Do not execute the .pyc/.pyo files as well as the .py files. 2009-02-01 03:51:54 +00:00
Brett Cannon 4ee2cdaf65 Split out support code that is specific to source tests out of
importlib.test.support to importlib.test.source.util.
2009-02-01 03:08:31 +00:00
Brett Cannon 30b047dc35 Move source loader tests (including reload tests) over to
importlib.test.abc.LoaderTests.
2009-02-01 02:05:11 +00:00
Brett Cannon 223a19d8b1 Fix importlib.machinery.FrozenImporter.load_module() to set __package__
properly. Discovered by also moving the loader tests over to
importlib.test.abc.LoaderTests.
2009-02-01 01:34:13 +00:00
Brett Cannon e70485e7c1 Move extension module loader tests over to importlib.test.abc.LoaderTests. 2009-02-01 00:49:41 +00:00
Brett Cannon d98a6a014d Move built-in loader tests to importlib.test.abc.LoaderTests. 2009-02-01 00:37:13 +00:00
Gregory P. Smith fa6cf39e70 documentation wording fix for issue4903 2009-02-01 00:30:50 +00:00
Benjamin Peterson 548a4cb1f9 Blocked revisions 69146,69149 via svnmerge
........
  r69146 | benjamin.peterson | 2009-01-31 15:47:42 -0600 (Sat, 31 Jan 2009) | 1 line

  fix indentation
........
  r69149 | benjamin.peterson | 2009-01-31 16:03:19 -0600 (Sat, 31 Jan 2009) | 1 line

  fix indentation; looks like all I managed to do the first time is make things uglier
........
2009-01-31 22:17:25 +00:00
Benjamin Peterson 29060641ca fix indentation again 2009-01-31 22:14:21 +00:00
Benjamin Peterson e1c3729b8c Blocked revisions 69134 via svnmerge
........
  r69134 | benjamin.peterson | 2009-01-31 10:29:18 -0600 (Sat, 31 Jan 2009) | 1 line

  completely detabify unicodeobject.c
........
2009-01-31 16:41:58 +00:00
Benjamin Peterson 14339b6d34 detabify Objects/unicodeobject.c 2009-01-31 16:36:08 +00:00
Mark Dickinson 72ead17c8a Make Python/makeopcodetargets runnable with Python 2.3. With any luck, this
should solve the 'failed compile' on the x86 gentoo 3.x buildbot.
2009-01-31 12:12:41 +00:00
Benjamin Peterson e9deddbf8c comprehrensions now have proper scoping #5106 2009-01-31 03:57:19 +00:00
Benjamin Peterson 1010bf3e26 Merged revisions 68840,68881,68943,68945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68840 | andrew.kuchling | 2009-01-20 20:15:43 -0600 (Tue, 20 Jan 2009) | 1 line

  Add some items
........
  r68881 | andrew.kuchling | 2009-01-23 21:28:18 -0600 (Fri, 23 Jan 2009) | 1 line

  Add various items
........
  r68943 | tarek.ziade | 2009-01-25 16:09:10 -0600 (Sun, 25 Jan 2009) | 1 line

  Issue #5052: removed backward compatibility information (out of date)
........
  r68945 | tarek.ziade | 2009-01-25 16:11:04 -0600 (Sun, 25 Jan 2009) | 1 line

  added missing module docstring
........
2009-01-30 04:00:29 +00:00
Benjamin Peterson c4bbc8d7dc Merged revisions 68884,68973,68978,69003,69083,69112-69113 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68884 | kristjan.jonsson | 2009-01-24 04:52:26 -0600 (Sat, 24 Jan 2009) | 1 line

  Add a test for UNC import paths, see issue 3677
........
  r68973 | georg.brandl | 2009-01-26 15:29:38 -0600 (Mon, 26 Jan 2009) | 2 lines

  Copy over docs on advanced role features from Sphinx docs.
........
  r68978 | mark.dickinson | 2009-01-26 15:51:56 -0600 (Mon, 26 Jan 2009) | 3 lines

  Issue #5073: Fix occasional failure of bsddb/test/test_lock.py.  Thanks
  Hirokazu Yamamoto for the patch.
........
  r69003 | benjamin.peterson | 2009-01-26 21:07:53 -0600 (Mon, 26 Jan 2009) | 1 line

  excellent place to use a set() #5069
........
  r69083 | benjamin.peterson | 2009-01-28 21:03:00 -0600 (Wed, 28 Jan 2009) | 1 line

  fix download url
........
  r69112 | benjamin.peterson | 2009-01-29 20:02:25 -0600 (Thu, 29 Jan 2009) | 1 line

  pep8tify conditionals
........
  r69113 | benjamin.peterson | 2009-01-29 20:24:39 -0600 (Thu, 29 Jan 2009) | 1 line

  make _tkinter._flatten check the result of PySequence_Size for errors #3880
........
2009-01-30 03:39:35 +00:00
Hirokazu Yamamoto 90eaaf623a Issue #5041: Fixed memory leak. 2009-01-30 03:15:05 +00:00
Benjamin Peterson 5276c6417d Blocked revisions 68772,68892,69039 via svnmerge
........
  r68772 | benjamin.peterson | 2009-01-19 09:42:23 -0600 (Mon, 19 Jan 2009) | 1 line

  add a note about the ftruncate change
........
  r68892 | martin.v.loewis | 2009-01-24 09:45:18 -0600 (Sat, 24 Jan 2009) | 2 lines

  Add heading for 2.7a0.
........
  r69039 | benjamin.peterson | 2009-01-27 17:15:48 -0600 (Tue, 27 Jan 2009) | 1 line

  use True and False
........
2009-01-30 03:01:08 +00:00
Benjamin Peterson e8fcbf689b fix a case of set_daemon #5087 2009-01-30 02:29:43 +00:00
Brett Cannon e61426efbf The trace module was trying to turn ints into ints since co_lnotab was changed
to a bytes object.
2009-01-30 01:31:34 +00:00
Brett Cannon f254a75176 Merge testing ABCs for importlib into importlib.test.abc. 2009-01-30 00:22:35 +00:00
Tarek Ziadé b18b936e79 Merged revisions 69106 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69106 | tarek.ziade | 2009-01-30 00:49:17 +0100 (Fri, 30 Jan 2009) | 1 line

  fixed test_make_distribution so it runs on any platform, as long as tar an gzip are available
........
2009-01-29 23:54:06 +00:00
Raymond Hettinger 7fc0dd7b5b Fix error in docs. The source says proto 2 is the default. 2009-01-29 22:26:20 +00:00
Antoine Pitrou 0dcc3cdca5 Merged revisions 69100 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69100 | antoine.pitrou | 2009-01-29 21:19:34 +0100 (jeu., 29 janv. 2009) | 5 lines

  Issue #2047: shutil.move() could believe that its destination path was
  inside its source path if it began with the same letters (e.g. "src" vs.
  "src.new").
........
2009-01-29 20:26:59 +00:00
Mark Hammond 891f2631f5 Fix issue5076: bdist_wininst fails on py3k 2009-01-29 13:08:01 +00:00
Mark Hammond 6d0e9757d1 Merged revisions 69094 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69094 | mark.hammond | 2009-01-29 23:13:31 +1100 (Thu, 29 Jan 2009) | 2 lines

  Fix issue5075: bdist_wininst should not depend on the vc runtime?
........
2009-01-29 12:36:50 +00:00
Brett Cannon e1327f71cf Merged revisions 69078-69080 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69078 | brett.cannon | 2009-01-28 16:54:11 -0800 (Wed, 28 Jan 2009) | 2 lines

  Clarify some __del__ stuff.
........
  r69079 | brett.cannon | 2009-01-28 16:54:32 -0800 (Wed, 28 Jan 2009) | 2 lines

  Minor spelling mistake in datetime docs.
........
  r69080 | brett.cannon | 2009-01-28 16:55:33 -0800 (Wed, 28 Jan 2009) | 2 lines

  Ignore .pyc and .pyo files.
........
2009-01-29 04:10:21 +00:00
Benjamin Peterson 19f8bd2834 Blocked revisions 69085,69087 via svnmerge
........
  r69085 | raymond.hettinger | 2009-01-28 21:21:42 -0600 (Wed, 28 Jan 2009) | 1 line

  Update itertools.__doc__ to include all tools.
........
  r69087 | raymond.hettinger | 2009-01-28 21:43:44 -0600 (Wed, 28 Jan 2009) | 1 line

  Fix typo.
........
2009-01-29 03:52:26 +00:00
Raymond Hettinger 811f3dc174 Fix typo. 2009-01-29 03:48:02 +00:00
Raymond Hettinger 3522a58665 Update itertools.__doc__ to include all tools. 2009-01-29 03:41:55 +00:00
Benjamin Peterson 32b5bb65f8 Blocked revisions 68521 via svnmerge
........
  r68521 | hirokazu.yamamoto | 2009-01-10 21:28:13 -0600 (Sat, 10 Jan 2009) | 1 line

  Fixed version number in build_ssl.bat.
........
2009-01-29 02:14:30 +00:00
Benjamin Peterson 0b6f896b0b Blocked revisions 69070,69074 via svnmerge
........
  r69070 | raymond.hettinger | 2009-01-28 17:02:26 -0600 (Wed, 28 Jan 2009) | 6 lines

  Issue 4920:  Fixed next() vs __next__() issues in the ABCs
  for Iterator and MutableSet.  Also added thorough test for
  required abstractmethods.
........
  r69074 | raymond.hettinger | 2009-01-28 17:58:16 -0600 (Wed, 28 Jan 2009) | 1 line

  Correct docs for ABCs (MutableSequence was missing __setiem).  Simplify the table by taking out inherited requirements for abstract methods.
........
2009-01-29 01:59:38 +00:00
Raymond Hettinger d23e013c7d Correct docs for ABCs (MutableSequence was missing __setiem). Simplify the table by taking out inherited requirements for abstract methods. 2009-01-29 00:01:27 +00:00
Raymond Hettinger ae650181b8 Beef-up tests for collections ABCs. 2009-01-28 23:33:59 +00:00
Mark Dickinson 1124e71368 Issue #4707: round(x, n) now returns an integer when x is an integer.
Previously it returned a float.
2009-01-28 21:25:58 +00:00
Guilherme Polo 9de29afa7c Merged revisions 69060-69063 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69060 | guilherme.polo | 2009-01-28 17:23:28 -0200 (Wed, 28 Jan 2009) | 2 lines

  Added support for collecting tests only from specific packages.
........
  r69061 | guilherme.polo | 2009-01-28 17:28:04 -0200 (Wed, 28 Jan 2009) | 4 lines

  * Renaming test_tk_* to test_ttk_* since that is what they are testing.
  * Added ttk tests to the expected skips mapping just like where test_tcl
  was expected to be skipped too.
........
  r69062 | guilherme.polo | 2009-01-28 18:02:01 -0200 (Wed, 28 Jan 2009) | 1 line

  Make sure the root windows gets destroyed
........
  r69063 | guilherme.polo | 2009-01-28 18:03:26 -0200 (Wed, 28 Jan 2009) | 2 lines

  Issue #5083: New 'gui' resource for regrtest.
........
2009-01-28 20:40:48 +00:00
Guilherme Polo a7d2797e80 Merged revisions 69053 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69053 | guilherme.polo | 2009-01-28 13:56:01 -0200 (Wed, 28 Jan 2009) | 2 lines

  Demos for ttk added.
........
2009-01-28 16:06:51 +00:00
Guilherme Polo 5f23848574 Merged revisions 69050 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69050 | guilherme.polo | 2009-01-28 11:09:03 -0200 (Wed, 28 Jan 2009) | 2 lines

  Added the ttk module. See issue #2983: Ttk support for Tkinter.
........
2009-01-28 14:41:10 +00:00
Mark Hammond 9844a1ffc3 Merged revisions 69038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69038 | mark.hammond | 2009-01-28 10:12:23 +1100 (Wed, 28 Jan 2009) | 3 lines

  On Windows, use the Python 'Activation Context' when loading extensions
  to avoid problems loading the CRT from a private assembly.  Via bug 4566.
........
2009-01-27 23:46:57 +00:00
Benjamin Peterson 4fcc4cf185 Blocked revisions 69001,69010,69012,69014,69018,69023 via svnmerge
........
  r69001 | raymond.hettinger | 2009-01-26 20:58:49 -0600 (Mon, 26 Jan 2009) | 1 line

  Promote combinations_with_replacement() from a recipe to a regular itertool.
........
  r69010 | raymond.hettinger | 2009-01-27 03:33:06 -0600 (Tue, 27 Jan 2009) | 1 line

  Add tests to verify combinatoric relationships.
........
  r69012 | raymond.hettinger | 2009-01-27 03:52:35 -0600 (Tue, 27 Jan 2009) | 1 line

  Stronger tests for combinatoric relationships.
........
  r69014 | raymond.hettinger | 2009-01-27 04:03:04 -0600 (Tue, 27 Jan 2009) | 1 line

  Issue 5021: doctest.testfile should set __name__
........
  r69018 | raymond.hettinger | 2009-01-27 04:36:14 -0600 (Tue, 27 Jan 2009) | 1 line

  More exhaustive combinatoric checks.
........
  r69023 | raymond.hettinger | 2009-01-27 07:26:35 -0600 (Tue, 27 Jan 2009) | 1 line

  Add more tests for the powerset() recipe.
........
2009-01-27 21:37:33 +00:00
Mark Dickinson c429a83cf8 Fix an occurrence of cmp that was missed in r69025 2009-01-27 20:27:05 +00:00
Mark Dickinson a56c467ac3 Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from
the standard library and tests.
2009-01-27 18:17:45 +00:00
Raymond Hettinger 191e850053 Add more tests for the powerset() recipe. 2009-01-27 13:29:43 +00:00
Raymond Hettinger 3471b1c865 Resurrect two buffer tests, converting irepeat() to imul(). Undoes part of r68962. 2009-01-27 11:06:40 +00:00
Antoine Pitrou 957929fa88 Add executable property to Python/makeopcodetargets.py 2009-01-27 10:49:58 +00:00
Raymond Hettinger da6bc5214f More exhaustive combinatoric checks. 2009-01-27 10:39:42 +00:00
Raymond Hettinger 0f05517d85 Issue 5021: doctest.testfile should set __name__ 2009-01-27 10:06:09 +00:00
Raymond Hettinger d17ad8d638 Stronger tests for combinatoric relationships. 2009-01-27 09:56:30 +00:00
Raymond Hettinger eb508ad8cf Add tests to verify combinatoric relationships. 2009-01-27 09:35:21 +00:00
Raymond Hettinger 883d27607a Beautify grouper() recipe in docs. 2009-01-27 04:57:51 +00:00
Raymond Hettinger 749761e1a8 Put functions back in alphabetical order. 2009-01-27 04:42:48 +00:00