Commit Graph

12865 Commits

Author SHA1 Message Date
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
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 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 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
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 d07d939c5e Forward port r69001: itertools.combinations_with_replacement(). 2009-01-27 04:20:44 +00:00
Brett Cannon a74ccea968 Initial take on importlib.test.loader_tests. 2009-01-27 02:39:33 +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
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 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
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
Mark Dickinson e6aad75f2b Merged revisions 68920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68920 | mark.dickinson | 2009-01-25 10:39:15 +0000 (Sun, 25 Jan 2009) | 2 lines

  Remove uses of cmp from the decimal module.
........
2009-01-25 10:48:51 +00:00
Brett Cannon 78246b6b45 Document both importlib.machinery.BuiltinImporter and FrozenImporter. 2009-01-25 04:56:30 +00:00
Jesse Noller 41faa543b6 merge r68915 to py3k 2009-01-25 03:45:53 +00:00
Mark Dickinson cddcf444b2 Merged revisions 68903,68906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68903 | mark.dickinson | 2009-01-24 16:40:29 +0000 (Sat, 24 Jan 2009) | 5 lines

  Issue #1672332: Fix unpickling of subnormal floats, which was raising
  ValueError on some platforms as a result of the platform strtod setting
  errno on underflow.
........
  r68906 | mark.dickinson | 2009-01-24 21:08:38 +0000 (Sat, 24 Jan 2009) | 2 lines

  Issue #3657: fix occasional test_pickletools failures.
........
2009-01-24 21:46:33 +00:00
Mark Dickinson 3dfe55b6ff Merged revisions 68897 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68897 | mark.dickinson | 2009-01-24 16:17:27 +0000 (Sat, 24 Jan 2009) | 2 lines

  Issue #5025: Fix occasional test_kqueue failure on OS X.
........
2009-01-24 16:22:21 +00:00
Martin v. Löwis acbf461fe5 Merged revisions 68893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68893 | martin.v.loewis | 2009-01-24 16:47:27 +0100 (Sa, 24 Jan 2009) | 3 lines

  Issue #3881: Help Tcl to load even when started through the
  unreadable local symlink to "Program Files" on Vista.
........
2009-01-24 16:19:45 +00:00
Martin v. Löwis 59e4779abc Merged revisions 68885 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68885 | martin.v.loewis | 2009-01-24 15:00:33 +0100 (Sa, 24 Jan 2009) | 3 lines

  Issue #4710: Extract directories properly in the zipfile module;
  allow adding directories to a zipfile.
........
2009-01-24 14:10:07 +00:00
Kristján Valur Jónsson d9aab51945 Add a test for UNC import paths, see issue 3677 2009-01-24 10:50:45 +00:00
Benjamin Peterson aa06900347 Merged revisions 68750,68776-68777,68811,68842,68859 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68750 | benjamin.peterson | 2009-01-18 16:47:04 -0600 (Sun, 18 Jan 2009) | 1 line

  fix encoding cookie case
........
  r68776 | benjamin.peterson | 2009-01-19 10:17:54 -0600 (Mon, 19 Jan 2009) | 1 line

  move BufferedIOBase into the base class section
........
  r68777 | benjamin.peterson | 2009-01-19 10:18:27 -0600 (Mon, 19 Jan 2009) | 1 line

  add email address
........
  r68811 | benjamin.peterson | 2009-01-20 12:58:27 -0600 (Tue, 20 Jan 2009) | 1 line

  fix url
........
  r68842 | andrew.kuchling | 2009-01-20 20:16:26 -0600 (Tue, 20 Jan 2009) | 1 line

  Markup fixes
........
  r68859 | georg.brandl | 2009-01-22 12:29:28 -0600 (Thu, 22 Jan 2009) | 2 lines

  Clarify wording.
........
2009-01-23 03:26:36 +00:00
Brett Cannon 7f400e1366 Add some comment markers to more clearly delineate what different parts of the
code are for. Also add a note that the import * at the end of the file should
eventually go away.
2009-01-22 22:44:04 +00:00
Brett Cannon 5abdc93eb8 Add importlib.machinery with its first tenants, BuitinImporter and
FrozenImporter. Docs forthcoming.

I plan on all finders and loaders (and most likely hooks) to live
in imoprtlib.machinery. Utility stuff will end up in importlib.util.
Higher-level API stuff will stay on imoprtlib directly (e.g. import_module).
2009-01-22 22:43:07 +00:00
Antoine Pitrou 44bf631ad9 Followup of #4874: also fix multibytecodec.c 2009-01-22 11:59:55 +00:00
Antoine Pitrou 81fabdb437 Issue #4874: Most builtin decoders now reject unicode input. 2009-01-22 10:11:36 +00:00
Raymond Hettinger dd01f8f37b Update comments and add an optimized path for Counter.update(). 2009-01-22 09:09:55 +00:00
Raymond Hettinger 670eaec0ee Tighten-up the docs for Counter(). 2009-01-21 23:14:07 +00:00
Raymond Hettinger e0d1b9f11f Simplify explanation of multiset operations by removing restrictions on negative inputs. 2009-01-21 20:36:27 +00:00
Jesse Noller 63b3a97a2a merge r68839 forward to py3k 2009-01-21 02:15:48 +00:00
Antoine Pitrou 08838b6acf Merged revisions 68835 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68835 | antoine.pitrou | 2009-01-21 01:45:36 +0100 (mer., 21 janv. 2009) | 6 lines

  Issue #5008: When a file is opened in append mode with the new IO library,
  do an explicit seek to the end of file (so that e.g. tell() returns the
  file size rather than 0). This is consistent with the behaviour of the
  traditional 2.x file object.
........
2009-01-21 00:55:13 +00:00