- 13 Aug, 2001 21 commits
-
-
Guido van Rossum authored
remembers what it is supposed to do. :-(
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
Remove unused variable and import
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Guido van Rossum authored
confident that the old code was utterly broken -- the worse that can happen is that the new code is still broken.)
-
Andrew M. Kuchling authored
(This command seems to be essentially untested; should fix that...)
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
Edit comment
-
Andrew M. Kuchling authored
-
Tim Peters authored
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.
-
Steven M. Gava authored
-
- 12 Aug, 2001 18 commits
-
-
Tim Peters authored
David Goodger.
-
Jeremy Hylton authored
Otherwise printlist(surprise) will fail with a TypeError, because map is called with an argument that doesn't support iteration.
-
Jeremy Hylton authored
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.)
-
Martin v. Löwis authored
-
Tim Peters authored
-
Guido van Rossum authored
- 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.
-
Guido van Rossum authored
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.
-
Tim Peters authored
into indented lines each of which probably fits on a typical screen line).
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
broken). Also fix an invalid reference to C (should be S).
-
Jeremy Hylton authored
-
Guido van Rossum authored
little bit using a dictionary to avoid more code duplication as more platforms are supported.
-
Tim Peters authored
-
Jeremy Hylton authored
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).
-
Tim Peters authored
about your platform too.
-
Steven M. Gava authored
-
Tim Peters authored
and even if we have a long time left to wait, try the lock at least 20 times/second.
-
Jack Jansen authored
-
- 11 Aug, 2001 1 commit
-
-
Jack Jansen authored
The test assumed that the local pathname convention for "foo" would sort 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.
-