summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Update a beopen.com e-mailAndrew M. Kuchling2001-08-131-2/+2
|
* Update a few references to beopen.comAndrew M. Kuchling2001-08-132-3/+3
|
* Update e-mail addressAndrew M. Kuchling2001-08-131-1/+1
|
* Commenting out the getfillable() method -- it's broken, and nobodyGuido van Rossum2001-08-131-2/+3
| | | | remembers what it is supposed to do. :-(
* Add a nameAndrew M. Kuchling2001-08-131-0/+1
|
* 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
|
* + A msg on c.l.py reminded me that docstrings can be implicitly catenated.Tim Peters2001-08-131-28/+48
| | | | | | | Cater to that. + Major speed boost via not reading more of files than necessary. This was no slouch before; now it screams. + Improve msg when giving up on a goofy future statement.
* 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-124-493/+598
| | | | 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.
* Remove much dead code from ceval.cJeremy Hylton2001-08-123-255/+58
| | | | | | | | | | | | | | The descr changes moved the dispatch for calling objects from call_object() in ceval.c to PyObject_Call() in abstract.c. call_object() and the many functions it used in ceval.c were no longer used, but were not removed. Rename meth_call() as PyCFunction_Call() so that it can be called by the CALL_FUNCTION opcode in ceval.c. Also, fix error message that referred to PyEval_EvalCodeEx() by its old name eval_code2(). (I'll probably refer to it by its old name, too.)
* Bump size of sprintf buffer. Suggested by Alex Coventry.Martin v. Löwis2001-08-121-1/+1
|
* Tool to delete (or just rewrite parts of) obsolete future statements.Tim Peters2001-08-121-0/+256
|
* - 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 dynamic types work as intended. Or at least more so.Guido van Rossum2001-08-121-22/+35
| | | | | | | XXX There are still some loose ends: repr(), str(), hash() and comparisons don't inherit a default implementation from object. This must be resolved similarly to the way it's resolved for classic instances.
* 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).
* Temporary stop-gap fix for dynamic classes, so they pass the test.Guido van Rossum2001-08-121-1/+6
| | | | | | | | | | XXX This is not sufficient: if a dynamic class has no __repr__ method (for instance), but later one is added, that doesn't add a tp_repr slot, so repr() doesn't call the __repr__ method. To make this work, I'll have to add default implementations of several slots to 'object'. XXX Also, dynamic types currently only inherit slots from their dominant base.
* 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.
* Move line; reported on python-dev by Mark Favas (thanks!).Tim Peters2001-08-121-1/+1
|
* SF Patch [ 429024 ] deal with some unary ops at compile timeJeremy Hylton2001-08-121-3/+66
| | | | | | | | | | | | | Revised version of Fred's patch, including support for ~ operator. If the unary +, -, or ~ operator is applied to a constant, don't generate a UNARY_xxx opcode. Just store the approriate value as a constant. If the value is negative, extend the string containing the constant and insert a negative in the 0th position. For ~, compute the inverse of int and longs and use them directly, but be prepared to generate code for all other possibilities (invalid numbers, floats, complex).
* Teach regrtest which tests we *expect* to skip on Win32. Please teach itTim Peters2001-08-121-0/+85
| | | | about your platform too.
* removed some cruftSteven M. Gava2001-08-121-7/+0
|
* _Condition.wait(): never sleep longer than the timeout time remaining,Tim Peters2001-08-121-4/+11
| | | | | and even if we have a long time left to wait, try the lock at least 20 times/second.
* Merged release21-maint changes.Jack Jansen2001-08-122-10/+22
|
* The test assumed that the local pathname convention for "foo" would sort ↵Jack Jansen2001-08-111-2/+4
| | | | before "foo/bar", which is not true on the mac (where they are "foo" and ":foo:bar", respectively; ":foo" would be fine too, but "foo" is the preferred spelling). Fixed by sorting the output.