Commit Graph

38801 Commits

Author SHA1 Message Date
Raymond Hettinger 972fb077a0 Remove dependency on itertools -- a simple genexp suffices. 2008-03-03 22:04:55 +00:00
Georg Brandl 8e67ef52db Expand a bit on genexp scopes. 2008-03-03 21:31:50 +00:00
Georg Brandl d2f7680b8f Actually import itertools. 2008-03-03 21:22:47 +00:00
Georg Brandl 26bc177fe6 15 -> 16, the 2nd 2008-03-03 20:39:00 +00:00
Georg Brandl 3e9d66fee1 There are now sixteen isfoo functions. 2008-03-03 20:37:55 +00:00
Christian Heimes 728bee897f 15 -> 16 2008-03-03 20:30:29 +00:00
Christian Heimes 608c1d8e87 Since abc._Abstract was replaces by a new type flags the regression test suite fails. I've added a new function inspect.isabstract(). Is the mmethod fine or should I check if object is a instance of type or subclass of object, too? 2008-03-03 18:28:04 +00:00
Christian Heimes 1f178a6fac Initialized merge tracking via "svnmerge" with revisions "1-60195" from
svn+ssh://pythondev@svn.python.org/python/branches/trunk-math
2008-03-03 12:40:17 +00:00
Neal Norwitz ca752f3b1a Only DECREF if ret != NULL 2008-03-03 04:37:45 +00:00
Brett Cannon 7dbd91811d Add test_main() functions to various tests where it was simple to do. Done so
that regrtest can execute the test_main() directly instead of relying on import
side-effects.
2008-03-03 04:19:29 +00:00
Brett Cannon 963c80fd45 Add a note in the main test class' docstring that the order of execution of the
tests is important.
2008-03-03 03:26:43 +00:00
Brett Cannon bfbf5b3715 Add a note in the main test class' docstring that the order of execution of the
tests is important.
2008-03-03 03:24:48 +00:00
Brett Cannon 6382ffc892 Move test_largefile over to using 'with' statements for open files.
Also rename the driver function to test_main() instead of main_test().
2008-03-03 02:41:40 +00:00
Jeffrey Yasskin 9063a99042 compile.c always emits END_FINALLY after WITH_CLEANUP, so predict that in
ceval.c. This is worth about a .03-.04us speedup on a simple with block.
2008-03-03 01:27:03 +00:00
Brett Cannon 56c4debe0d Refactor test_logging to use unittest. This should finally solve the flakiness
issues.

Thanks to Antoine Pitrou for the patch.
2008-03-03 00:38:58 +00:00
Gregory P. Smith 492e2bfefa Modify import of test_support so that the code can also be used with a
stand alone distribution of bsddb that includes its own small copy of
test_support for the needed functionality on older pythons.
2008-03-02 20:00:53 +00:00
Georg Brandl e6dab2a077 Fix factual error. 2008-03-02 14:15:04 +00:00
Georg Brandl 72780a4b0c Make clear that the constants are strings. 2008-03-02 13:41:39 +00:00
Gerhard Häring 11ab807fff Added note about update of sqlite3 module. 2008-03-02 13:12:27 +00:00
Gerhard Häring f40f6846e3 Made sqlite3 module's regression tests work with SQLite versions that don't
support "create table if not exists", yet.
2008-03-02 13:08:03 +00:00
Raymond Hettinger e3fabd10cb Handle 0-tuples which can be singletons. 2008-03-02 12:02:19 +00:00
Raymond Hettinger 61024b9181 Simplify code for itertools.product(). 2008-03-02 11:57:16 +00:00
Raymond Hettinger 2b7a5c468b Tighten example code. 2008-03-02 11:17:51 +00:00
Raymond Hettinger f287f17779 Finish-up docs for combinations() and permutations() in itertools. 2008-03-02 10:59:31 +00:00
Georg Brandl 47dff40a40 New default basename for HTML help files. 2008-03-02 06:45:40 +00:00
Georg Brandl f017728219 Make patchlevel print out the release if called as a script. 2008-03-02 06:44:08 +00:00
Georg Brandl 7f7e30ae2e Update year. 2008-03-02 06:32:32 +00:00
Georg Brandl db9ff5f565 It's 2.6 now. 2008-03-02 06:28:16 +00:00
Barry Warsaw 65475fdba7 Set things up for 2.6a2. 2008-03-01 17:11:41 +00:00
Barry Warsaw afc6201609 Tagging 2.6a1... again! 2008-03-01 03:16:15 +00:00
Barry Warsaw 189b6d85c9 More copyright year and version number bumps 2008-03-01 03:15:20 +00:00
Barry Warsaw 9d225e63be Give IDLE a release date 2008-03-01 03:00:52 +00:00
Barry Warsaw b44ba06fb5 Untagging. 2008-03-01 03:00:01 +00:00
Barry Warsaw 4becc2f589 Tagging 2.6a1 2008-03-01 02:57:23 +00:00
Barry Warsaw 7c07523c80 Add date to NEWS 2008-03-01 02:53:36 +00:00
Fred Drake a8ee94ba1c fix typo 2008-03-01 02:45:07 +00:00
Barry Warsaw c853f5d4dc bump idle version number 2008-03-01 02:26:42 +00:00
Barry Warsaw 5297361198 Bump to version 2.6a1 2008-03-01 02:23:38 +00:00
Gerhard Häring 1cc60ed214 Updated to pysqlite 2.4.1. Documentation additions will come later. 2008-02-29 22:08:41 +00:00
Martin v. Löwis 0e795e7d92 Package Tcl from tcltk64 on AMD64. 2008-02-29 20:54:44 +00:00
Martin v. Löwis d9153fdc29 Make _hashlib depend on pythoncore. 2008-02-29 20:26:53 +00:00
Martin v. Löwis 9e0513591d Port build_ssl.py to 2.4; support HOST_PYTHON variable 2008-02-29 18:54:45 +00:00
Georg Brandl 3fd0c442dc #2208: allow for non-standard HHC location. 2008-02-29 18:21:29 +00:00
Martin v. Löwis 8b6552deb3 Build db-4.4.20 with VS9; remove VS2003 build if necessary. 2008-02-29 18:17:23 +00:00
Georg Brandl 3c94088d98 Until we got downloadable docs, stop confusing viewers by talking about a nonexisting table. 2008-02-29 18:15:36 +00:00
Martin v. Löwis f06858d154 Make _hashlib a separate project. 2008-02-29 16:59:21 +00:00
Mark Dickinson f4da77765f Fix docstring typo. 2008-02-29 03:29:17 +00:00
Raymond Hettinger 08ff6822cc Handle the repeat keyword argument for itertools.product(). 2008-02-29 02:21:48 +00:00
Mark Dickinson 1ddf1d8482 Add __format__ method to Decimal, to support PEP 3101 2008-02-29 02:16:37 +00:00
Raymond Hettinger b4cbc98c39 Add alternate constructor for itertools.chain(). 2008-02-28 22:46:41 +00:00