Commit graph

38904 commits

Author SHA1 Message Date
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
Raymond Hettinger
d07d939c5e Forward port r69001: itertools.combinations_with_replacement(). 2009-01-27 04:20:44 +00:00
Benjamin Peterson
dd1b33a2ed Blocked revisions 68998 via svnmerge
........
  r68998 | raymond.hettinger | 2009-01-26 20:36:33 -0600 (Mon, 26 Jan 2009) | 3 lines

  Tweak column alignment for collections docs.
........
2009-01-27 03:02:38 +00:00
Brett Cannon
a74ccea968 Initial take on importlib.test.loader_tests. 2009-01-27 02:39:33 +00:00
Raymond Hettinger
73662a54f5 Tweak column alignment in collections docs. 2009-01-27 02:38:22 +00:00
Benjamin Peterson
2953bd46f7 Blocked revisions 68964,68985 via svnmerge
........
  r68964 | raymond.hettinger | 2009-01-26 10:52:22 -0600 (Mon, 26 Jan 2009) | 1 line

  Fix signed/unsigned mismatch.
........
  r68985 | raymond.hettinger | 2009-01-26 17:29:09 -0600 (Mon, 26 Jan 2009) | 6 lines

  Remove startup firewall message.  That is handled by an error dialog
  whenever a connection cannot be formed.  Also, the Idle version number
  is already in the About Idle dialog.  Now, the startup is clean looking
  once again.
........
2009-01-27 02:30:47 +00:00
Brett Cannon
dd827c403f Update importlib NOTES. 2009-01-27 01:46:04 +00:00
Brett Cannon
d197a2b136 Move importlib.test.frozen.test_finder over to importlib.test.finder_tests. 2009-01-27 01:44:50 +00:00
Brett Cannon
1d0b43d24e Move importlib.test.builtin.test_finder over to importlib.test.finder_tests. 2009-01-27 01:41:57 +00:00
Brett Cannon
97c8a07f1d Make importlib.test.finder_tests an ABC. 2009-01-27 01:34:30 +00:00
Brett Cannon
c49715f682 Move importlib.test.extension.test_finder over to importlib.test.finder_tests. 2009-01-27 01:33:54 +00:00
Raymond Hettinger
a2a8e8be8e Forward port r68985: Idle startup message. 2009-01-27 00:28:36 +00:00
Antoine Pitrou
39df610571 Fix test so as to also pass in debug mode 2009-01-26 22:00:21 +00:00
Mark Dickinson
a5cafdf2dd Merged revisions 68974-68975 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68974 | mark.dickinson | 2009-01-26 21:36:30 +0000 (Mon, 26 Jan 2009) | 4 lines

  Fix undefined behaviour (left shift of negative value) in long_hash.  Also,
  rewrap a line of length > 79, and update comments.
........
  r68975 | mark.dickinson | 2009-01-26 21:40:08 +0000 (Mon, 26 Jan 2009) | 2 lines

  Fix comment.
........
2009-01-26 21:56:07 +00:00
Antoine Pitrou
27fe9fc448 Followup of #4705: we can't skip the binary buffering layer for stdin because FileIO doesn't have a read1() method 2009-01-26 21:48:00 +00:00
Tarek Ziadé
0302cf50eb Merged revisions 68951 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68951 | tarek.ziade | 2009-01-26 00:34:00 +0100 (Mon, 26 Jan 2009) | 1 line

  Fixed #1885: --formats=tar,gztar was not working properly in the sdist command
........
2009-01-26 17:23:20 +00:00
Raymond Hettinger
26dd760636 Fix signed/unsigned mismatch. 2009-01-26 16:53:29 +00:00
Benjamin Peterson
c2bd968a69 Blocked revisions 68941-68942 via svnmerge
........
  r68941 | raymond.hettinger | 2009-01-25 15:04:14 -0600 (Sun, 25 Jan 2009) | 1 line

  Promote compress() from a recipe to being a regular itertool.
........
  r68942 | raymond.hettinger | 2009-01-25 15:31:47 -0600 (Sun, 25 Jan 2009) | 1 line

  Improved itertools recipe for generating powerset().
........
2009-01-26 03:50:45 +00:00
Raymond Hettinger
6b3b0fc4d4 Forward port r68941 adding itertools.compress(). 2009-01-26 02:56:58 +00:00
Raymond Hettinger
ace673391a Backport r68942: update powerset() recipe. 2009-01-26 02:23:50 +00:00
Raymond Hettinger
89e12963ad As discussed on python-dev, remove several operator functions
isSequenceType(), isMappingType(), and isNumberType() in favor
of using abstract base classes.  Also, remove repeat() and irepeat()
in favor of mul() and imul().

After the buildbots have had a go at this.  Will backport to Py3.0.1.
For Py2.7, will just mark as deprecated.
2009-01-26 02:09:03 +00:00
Brett Cannon
d0005ff41f Update NOTES for importlib. 2009-01-26 01:54:40 +00:00
Brett Cannon
4e9c0f5cdf Blocked revisions 68953 via svnmerge
........
  r68953 | brett.cannon | 2009-01-25 17:16:50 -0800 (Sun, 25 Jan 2009) | 3 lines

  Backport importlib in the form of providing importlib.import_module(). This has
  been done purely to help transitions from 2.7 to 3.1.
........
2009-01-26 01:21:47 +00:00
Mark Dickinson
1e2d8700d6 Merged revisions 68947 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68947 | mark.dickinson | 2009-01-25 22:12:31 +0000 (Sun, 25 Jan 2009) | 3 lines

  No need for carry to be type twodigits in _PyLong_AsByteArray; digit is large enough.
  This change should silence a compiler warning on Windows.
........
2009-01-25 22:25:06 +00:00
Benjamin Peterson
97d3aa50b7 use the classmethod directive 2009-01-25 19:44:16 +00:00
Tarek Ziadé
3fe61d5282 Merged revisions 68933 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68933 | tarek.ziade | 2009-01-25 20:29:10 +0100 (Sun, 25 Jan 2009) | 1 line

  Issue #4863, removing remaining bits
........
2009-01-25 19:31:22 +00:00
Tarek Ziadé
4d4456f274 Merged revisions 68929 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68929 | tarek.ziade | 2009-01-25 19:19:25 +0100 (Sun, 25 Jan 2009) | 1 line

  Fixed #4863: removed distutils.mwerkscompiler
........
2009-01-25 18:27:45 +00:00
Hirokazu Yamamoto
7ce17fe190 Blocked revisions 68927 via svnmerge
........
  r68927 | hirokazu.yamamoto | 2009-01-26 02:46:48 +0900 | 1 line

  Fixed compile error on windows.
........
2009-01-25 17:50:07 +00:00
Benjamin Peterson
2989de0130 Blocked revisions 68925 via svnmerge
........
  r68925 | benjamin.peterson | 2009-01-25 11:15:10 -0600 (Sun, 25 Jan 2009) | 5 lines

  fix building the core with --disable-unicode

  I changed some bytearray methods to use strings instead of unicode like bytes_repr
  Also, bytearray.fromhex() can take strings as well as unicode
........
2009-01-25 17:19:17 +00:00