Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | metaclass(): add tests for metaclasses written in Python: one that | Guido van Rossum | 2001-08-17 | 1 | -0/+33 |
| | | | | | subclasses type, one that doesn't (the latter isn't fully functional yet). | ||||
* | Added a test for module repr truncation when the package name is | Barry Warsaw | 2001-08-16 | 1 | -0/+35 |
| | | | | really long. Closes SF bug #437984. | ||||
* | classobject.c:instancemethod_descr_get(): when a bound method is | Guido van Rossum | 2001-08-16 | 1 | -1/+1 |
| | | | | | | | assigned to a class variable and then accessed via an instance, it should not be rebound. test_descr.py:methods(): test for the condition above. | ||||
* | [Patch #441691] preprocess() method for Borland C compiler. | Andrew M. Kuchling | 2001-08-16 | 1 | -1/+35 |
| | | | | I have no way of testing this. | ||||
* | test_descr started breaking in yet another way in the same place. | Tim Peters | 2001-08-16 | 1 | -2/+6 |
| | |||||
* | New unit test for the mimetypes module, to avoid future regressions. | Fred Drake | 2001-08-16 | 1 | -0/+42 |
| | |||||
* | Another egregious error that copied the encodings info over the suffix | Fred Drake | 2001-08-16 | 1 | -1/+1 |
| | | | | info. Caught by the tests that I'm writing now. | ||||
* | Use (c)StringIO for collecting bytes. Fixes bug #451622. | Martin v. Löwis | 2001-08-16 | 1 | -8/+12 |
| | |||||
* | Repair some accidents causing Windows failures: | Tim Peters | 2001-08-16 | 2 | -5/+5 |
| | | | | | | | + test_compare. While None compares less than anything else, it's not always the case that None has the smallest id(). + test_descr. The output of %p (pointer) formats varies across platforms. In particular, on Windows it doesn't produce a leading "0x". | ||||
* | Bad bug: the MimeTypes.readfp() was supposed to take a file object as a | Fred Drake | 2001-08-16 | 1 | -2/+2 |
| | | | | | | | | parameter, but did not. This was found because it can create failures elsewhere based on the presence of mime.types files in some common locations the module searches by default. (I will be writing a test for this module shortly!) | ||||
* | [Patch #444854 from twburton] | Andrew M. Kuchling | 2001-08-16 | 1 | -1/+4 |
| | | | | Add executable extension, needed to get the program name right on Win32 | ||||
* | [Patch #442530 from twburton] | Andrew M. Kuchling | 2001-08-16 | 1 | -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 this | Guido van Rossum | 2001-08-16 | 2 | -4/+4 |
| | | | | test in a trivial way. Fixed. | ||||
* | Add tests for overridable operators that have default interpretations | Guido van Rossum | 2001-08-15 | 1 | -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 Rossum | 2001-08-15 | 1 | -4/+8 |
| | |||||
* | Given a class without __cmp__ or __eq__, cmp() of two instances of | Guido van Rossum | 2001-08-15 | 1 | -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 Rossum | 2001-08-15 | 1 | -0/+18 |
| | |||||
* | Don't remove non-directories from sys.path on the mac: files | Jack Jansen | 2001-08-15 | 1 | -2/+3 |
| | | | | can be on sys.path too. | ||||
* | Move one of the tests into the "PEP 255" section, to reflect a change in | Tim Peters | 2001-08-15 | 1 | -12/+15 |
| | | | | the PEP. | ||||
* | Fix typo in astgen script | Jeremy Hylton | 2001-08-14 | 1 | -1/+1 |
| | |||||
* | Add a test for a weird bug I just discovered: a dynamic subclass | Guido van Rossum | 2001-08-14 | 1 | -0/+5 |
| | | | | doesn't have a __dict__! | ||||
* | Regenerated from new ast.txt and new astgen.py | Jeremy Hylton | 2001-08-14 | 1 | -12/+23 |
| | |||||
* | Test the new semantics for setting and deleting a function's __dict__ | Barry Warsaw | 2001-08-14 | 1 | -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 act | Barry Warsaw | 2001-08-13 | 1 | -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 Peters | 2001-08-13 | 1 | -20/+18 |
| | |||||
* | found_terminator(): Add a debug print showing the data. | Barry Warsaw | 2001-08-13 | 1 | -1/+2 |
| | |||||
* | Nick Mathewson: test suite for the class browser support module. | Fred Drake | 2001-08-13 | 1 | -0/+158 |
| | |||||
* | Nick Mathewson: Make sure the recursion is handled properly. | Fred Drake | 2001-08-13 | 1 | -4/+4 |
| | | | | This is part of SF patch #440292. | ||||
* | Remove redundant import (PyChecker). | Guido van Rossum | 2001-08-13 | 1 | -2/+4 |
| | | | | Update greeting message to avoid the long copyright notice. | ||||
* | Remove unused variable 'imports' from readmodule_ex(). | Guido van Rossum | 2001-08-13 | 1 | -1/+0 |
| | |||||
* | Remove redundant 'import string' (PyChecker). | Guido van Rossum | 2001-08-13 | 1 | -1/+0 |
| | |||||
* | Remove redundant imports (PyChecker). | Guido van Rossum | 2001-08-13 | 1 | -2/+0 |
| | |||||
* | Remove redundant 'import sys' (PyChecker). | Guido van Rossum | 2001-08-13 | 1 | -1/+1 |
| | |||||
* | Remove two redundant statements (PyChecker). | Guido van Rossum | 2001-08-13 | 1 | -2/+0 |
| | |||||
* | Remove redundant assignment l = [] from poll3() -- copy-and-paste | Guido van Rossum | 2001-08-13 | 1 | -1/+0 |
| | | | | error. | ||||
* | Commenting out the getfillable() method -- it's broken, and nobody | Guido van Rossum | 2001-08-13 | 1 | -2/+3 |
| | | | | remembers what it is supposed to do. :-( | ||||
* | Remove redefinition of has_option() method | Andrew M. Kuchling | 2001-08-13 | 1 | -7/+0 |
| | |||||
* | Remove empty __init__ (PyChecker) | Andrew M. Kuchling | 2001-08-13 | 1 | -3/+0 |
| | |||||
* | Remove redefinition of writelines() method | Andrew M. Kuchling | 2001-08-13 | 1 | -5/+0 |
| | | | | Remove unused variable and import | ||||
* | Remove unused variable (PyChecker) | Andrew M. Kuchling | 2001-08-13 | 3 | -3/+0 |
| | |||||
* | Remove some dead code (PyChecker) | Andrew M. Kuchling | 2001-08-13 | 1 | -3/+1 |
| | |||||
* | Add forgotten import (PyChecker) | Andrew M. Kuchling | 2001-08-13 | 1 | -1/+1 |
| | |||||
* | Remove unused import (PyChecker) | Andrew M. Kuchling | 2001-08-13 | 2 | -2/+0 |
| | |||||
* | Remove redundant import | Andrew M. Kuchling | 2001-08-13 | 1 | -1/+1 |
| | |||||
* | Capture exception message (PyChecker) | Andrew M. Kuchling | 2001-08-13 | 1 | -1/+1 |
| | |||||
* | Remove unused imports (PyChecker) | Andrew M. Kuchling | 2001-08-13 | 1 | -4/+0 |
| | |||||
* | Remove unused variable | Andrew M. Kuchling | 2001-08-13 | 1 | -1/+1 |
| | |||||
* | Fix malformed line (PyChecker) | Andrew M. Kuchling | 2001-08-13 | 1 | -1/+1 |
| | |||||
* | Fix two bugs discovered by PyChecker. (I cannot test these, but I'm | Guido van Rossum | 2001-08-13 | 1 | -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. Kuchling | 2001-08-13 | 1 | -2/+2 |
| | | | | (This command seems to be essentially untested; should fix that...) |