summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* [Patch #442530 from twburton]Andrew M. Kuchling2001-08-161-4/+4
| | | | | Provide include_dirs argument to all calls to ._preprocess and ._compile Fix typo: pattern.search(pattern) should be pattern.search(line)
* The change of type(None).__name__ from 'None' to 'NoneType' broke thisGuido van Rossum2001-08-162-4/+4
| | | | test in a trivial way. Fixed.
* Add tests for overridable operators that have default interpretationsGuido van Rossum2001-08-151-0/+127
| | | | | (__hash__ etc.), in static and dynamic classes, overridden and default.
* Rewrote Jack's latest change so it does what it intended to do...Just van Rossum2001-08-151-4/+8
|
* Given a class without __cmp__ or __eq__, cmp() of two instances ofGuido van Rossum2001-08-151-0/+8
| | | | | | that class should compare the id() of those instances. Add a test that verifies this. This test currently fails; I believe this is caused by object.c:2.132 (Patch #424475 by loewis).
* Add a test to verify that bound methods work correctly.Guido van Rossum2001-08-151-0/+18
|
* Don't remove non-directories from sys.path on the mac: filesJack Jansen2001-08-151-2/+3
| | | | can be on sys.path too.
* Move one of the tests into the "PEP 255" section, to reflect a change inTim Peters2001-08-151-12/+15
| | | | the PEP.
* Fix typo in astgen scriptJeremy Hylton2001-08-141-1/+1
|
* Add a test for a weird bug I just discovered: a dynamic subclassGuido van Rossum2001-08-141-0/+5
| | | | doesn't have a __dict__!
* Regenerated from new ast.txt and new astgen.pyJeremy Hylton2001-08-141-12/+23
|
* Test the new semantics for setting and deleting a function's __dict__Barry Warsaw2001-08-141-45/+50
| | | | | | | | | attribute. Deleting it, or setting it to a non-dictionary result in a TypeError. Note that getting it the first time magically initializes it to an empty dict so that func.__dict__ will always appear to be a dictionary (never None). Closes SF bug #446645.
* reload(exceptions) should not raise an ImportError, but should actBarry Warsaw2001-08-131-0/+8
| | | | just like reload(sys). Test that this is so. Closes SF bug #422004.
* Repair Unix-specific assumptions that caused this to fail on Windows.Tim Peters2001-08-131-20/+18
|
* found_terminator(): Add a debug print showing the data.Barry Warsaw2001-08-131-1/+2
|
* Nick Mathewson: test suite for the class browser support module.Fred Drake2001-08-131-0/+158
|
* Nick Mathewson: Make sure the recursion is handled properly.Fred Drake2001-08-131-4/+4
| | | | This is part of SF patch #440292.
* Remove redundant import (PyChecker).Guido van Rossum2001-08-131-2/+4
| | | | Update greeting message to avoid the long copyright notice.
* Remove unused variable 'imports' from readmodule_ex().Guido van Rossum2001-08-131-1/+0
|
* Remove redundant 'import string' (PyChecker).Guido van Rossum2001-08-131-1/+0
|
* Remove redundant imports (PyChecker).Guido van Rossum2001-08-131-2/+0
|
* Remove redundant 'import sys' (PyChecker).Guido van Rossum2001-08-131-1/+1
|
* Remove two redundant statements (PyChecker).Guido van Rossum2001-08-131-2/+0
|
* Remove redundant assignment l = [] from poll3() -- copy-and-pasteGuido van Rossum2001-08-131-1/+0
| | | | error.
* Commenting out the getfillable() method -- it's broken, and nobodyGuido van Rossum2001-08-131-2/+3
| | | | remembers what it is supposed to do. :-(
* Remove redefinition of has_option() methodAndrew M. Kuchling2001-08-131-7/+0
|
* Remove empty __init__ (PyChecker)Andrew M. Kuchling2001-08-131-3/+0
|
* Remove redefinition of writelines() methodAndrew M. Kuchling2001-08-131-5/+0
| | | | Remove unused variable and import
* Remove unused variable (PyChecker)Andrew M. Kuchling2001-08-133-3/+0
|
* Remove some dead code (PyChecker)Andrew M. Kuchling2001-08-131-3/+1
|
* Add forgotten import (PyChecker)Andrew M. Kuchling2001-08-131-1/+1
|
* Remove unused import (PyChecker)Andrew M. Kuchling2001-08-132-2/+0
|
* Remove redundant importAndrew M. Kuchling2001-08-131-1/+1
|
* Capture exception message (PyChecker)Andrew M. Kuchling2001-08-131-1/+1
|
* Remove unused imports (PyChecker)Andrew M. Kuchling2001-08-131-4/+0
|
* Remove unused variableAndrew M. Kuchling2001-08-131-1/+1
|
* Fix malformed line (PyChecker)Andrew M. Kuchling2001-08-131-1/+1
|
* Fix two bugs discovered by PyChecker. (I cannot test these, but I'mGuido van Rossum2001-08-131-2/+2
| | | | | confident that the old code was utterly broken -- the worse that can happen is that the new code is still broken.)
* Fix for NameError caught by PyChecker.Andrew M. Kuchling2001-08-131-2/+2
| | | | (This command seems to be essentially untested; should fix that...)
* Fix typo (PyChecker)Andrew M. Kuchling2001-08-131-1/+1
|
* Catch curses.error instead of a non-existent global (PyChecker)Andrew M. Kuchling2001-08-131-2/+2
| | | | Edit comment
* Remove redundant importAndrew M. Kuchling2001-08-131-1/+0
|
* further work on font config and general feel improvementsSteven M. Gava2001-08-131-21/+24
|
* SF patch #445412 extract ndiff functionality to difflib, fromTim Peters2001-08-121-267/+575
| | | | David Goodger.
* Modify _Set to support iteration.Jeremy Hylton2001-08-121-0/+3
| | | | | Otherwise printlist(surprise) will fail with a TypeError, because map is called with an argument that doesn't support iteration.
* - Expand test for dynamic objects.Guido van Rossum2001-08-121-21/+33
| | | | | | - Remove various 'global' directives and move some global definitions inside the test functions that use them -- we have nested scopes so the old hacks using globals are no longer needed.
* Make the output of tests skipped readable (i.e., deliberately break itTim Peters2001-08-121-6/+30
| | | | into indented lines each of which probably fits on a typical screen line).
* dynamics(): add tests for dynamic *instances* (which are currentlyGuido van Rossum2001-08-121-1/+20
| | | | broken). Also fix an invalid reference to C (should be S).
* Test the unary operator changes to the compilerJeremy Hylton2001-08-121-0/+43
|
* Add the list of expected skips for Linux 2.x. Restructured the code aGuido van Rossum2001-08-121-28/+51
| | | | | little bit using a dictionary to avoid more code duplication as more platforms are supported.