Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Generalize zip() to work with iterators. | Tim Peters | 2001-05-06 | 1 | -2/+2 |
| | | | | | | | | NEEDS DOC CHANGES. More AttributeErrors transmuted into TypeErrors, in test_b2.py, and, again, this strikes me as a good thing. This checkin completes the iterator generalization work that obviously needed to be done. Can anyone think of others that should be changed? | ||||
* | Now that Marc-Andre has retracted unistr(), remove the tests. | Guido van Rossum | 2001-01-19 | 1 | -11/+0 |
| | |||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -1/+1 |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | This patch adds a new builtin unistr() which behaves like str() | Marc-André Lemburg | 2001-01-17 | 1 | -0/+11 |
| | | | | | | | | | | except that it always returns Unicode objects. A new C API PyObject_Unicode() is also provided. This closes patch #101664. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -98/+98 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | Added test cases to detect regression on SourceForge bug #121965. | Fred Drake | 2000-11-08 | 1 | -0/+14 |
| | |||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -82/+82 |
| | |||||
* | Added a zip() test where one of the arguments is an instance whose | Barry Warsaw | 2000-10-01 | 1 | -0/+12 |
| | | | | class has no __getitem__(). This raises an AttributeError. | ||||
* | Fixed the error reporting (raise of TestFailed) for the zip() and | Barry Warsaw | 2000-09-19 | 1 | -2/+2 |
| | | | | zip(None) tests. Found by Finn Bock a while ago. | ||||
* | Added testsuite for new zip() builtin. | Barry Warsaw | 2000-08-03 | 1 | -0/+36 |
| | |||||
* | Revise tests to support str(<long int object>) not appending "L". | Fred Drake | 1999-12-23 | 1 | -1/+1 |
| | |||||
* | Change the last 4-space indent into a 1-tab indent. | Guido van Rossum | 1998-05-22 | 1 | -1/+1 |
| | |||||
* | The reload(sys) test no longer works due to changes in the import | Guido van Rossum | 1997-08-02 | 1 | -4/+4 |
| | | | | semantics. | ||||
* | Allow oct() result for 64-bit machines. | Guido van Rossum | 1997-06-06 | 1 | -1/+2 |
| | |||||
* | updated the oct(-100) test since oct() of a signed literal has changed. | Barry Warsaw | 1997-01-13 | 1 | -1/+1 |
| | |||||
* | test for specific bug in vars() | Guido van Rossum | 1995-08-11 | 1 | -0/+9 |
| | |||||
* | Test new __import__ module, test reload of built-in module, test | Guido van Rossum | 1994-12-30 | 1 | -2/+2 |
| | | | | has_key() on empty dictionary | ||||
* | more complete tests of built-in functions | Guido van Rossum | 1994-11-10 | 1 | -2/+42 |
| | |||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 1 | -0/+19 |
| | |||||
* | * test_*.py: new lambda syntax (also affects tests for filter, map, | Guido van Rossum | 1993-11-30 | 1 | -4/+5 |
| | | | | | | | | | | reduce) * ftplib.py: added default callback for retrlines; added dir() method * ftplib.py: don't return self in self.connect(); added hack so that if 'CDUP' is not understood, 'CWD ..' is tried. * ftplib.py: second method called init() should have been called connect(); if __init__ sees more than one argument, it will also try to login(). | ||||
* | * string.py: added rindex(), rfind(); changed index() to interpret | Guido van Rossum | 1993-11-08 | 1 | -0/+10 |
| | | | | | | | | | | | negative start indices starting from the right. * ftplib.py: debug() -> set_debuglevel(); change demo to use __init__(). * os.py: added execl, execlp, and execvp. * lambda.py: removed (now that we have built-in map, reduce, bagof, lambda) * test_b{1,2}.py, testall.out: added tests for bagof, lambda, map, reduce * commands.py: use os, not posix * test_grammar.py: make it easy to disable non-portable int overflow tests * dis.py: don't abuse range() | ||||
* | * Fix bug in tzparse.py for DST timezone | Guido van Rossum | 1993-03-29 | 1 | -0/+35 |
| | | | | | | | * Added whatis command to pdb.py * new module GET.py (GL definitions from <gl/get.h>) * rect.py: is_empty takes a rect as argument, not two points. * Added tests for builtin round() [XXX not yet complete!] | ||||
* | * os.py: _exit doesn't exist in all variations of posix | Guido van Rossum | 1993-01-26 | 1 | -12/+12 |
| | | | | * Added fcmp() to test_support.py and use it in test*.py | ||||
* | Added some new tests and two new files for testing: test_types.py | Guido van Rossum | 1992-11-27 | 1 | -0/+16 |
| | | | | | (testing operations on built-in types) and autotest.py (automatic regression testing). | ||||
* | Initial revision | Guido van Rossum | 1992-01-27 | 1 | -0/+130 |