- 13 Agu, 2001 13 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Guido van Rossum yazdı
confident that the old code was utterly broken -- the worse that can happen is that the new code is still broken.)
-
Andrew M. Kuchling yazdı
(This command seems to be essentially untested; should fix that...)
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
Edit comment
-
Andrew M. Kuchling yazdı
-
Tim Peters yazdı
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 yazdı
-
- 12 Agu, 2001 18 kayıt (commit)
-
-
Tim Peters yazdı
David Goodger.
-
Jeremy Hylton yazdı
Otherwise printlist(surprise) will fail with a TypeError, because map is called with an argument that doesn't support iteration.
-
Jeremy Hylton yazdı
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 yazdı
-
Tim Peters yazdı
-
Guido van Rossum yazdı
- 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 yazdı
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 yazdı
into indented lines each of which probably fits on a typical screen line).
-
Guido van Rossum yazdı
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 yazdı
broken). Also fix an invalid reference to C (should be S).
-
Jeremy Hylton yazdı
-
Guido van Rossum yazdı
little bit using a dictionary to avoid more code duplication as more platforms are supported.
-
Tim Peters yazdı
-
Jeremy Hylton yazdı
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 yazdı
about your platform too.
-
Steven M. Gava yazdı
-
Tim Peters yazdı
and even if we have a long time left to wait, try the lock at least 20 times/second.
-
Jack Jansen yazdı
-
- 11 Agu, 2001 9 kayıt (commit)
-
-
Jack Jansen yazdı
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.
-
Jack Jansen yazdı
test_glob found a nasty bug in GUSI opendir(): it will not fail when called on files, but in stead open the parent directory! We now explicitly test for the argument being a directory and simulate ENOTDIR otherwise.
-
Jack Jansen yazdı
Before asking the finder to start the application (if start=1 is specified), check that it isn't incidentally running already.
-
Jack Jansen yazdı
Got rid of the activate() so codewarrior doesn't come to front. It isn't needed, and without it you can get work done while building the projects:-)
-
Jack Jansen yazdı
same module twice, which apparently crashes Python. I could not test the error condition, but in normal life it seems to have no adverse effects. Also removed an unsued variable, and corrected 2 glaring errors (missing 'case' in front of a label).
-
Jeremy Hylton yazdı
because nested scopes are always enabled. (Accidentally checked in one small change along this path yesterday, wreaking havoc in the Windows build.)
-
Jeremy Hylton yazdı
-
Jack Jansen yazdı
-
Steven M. Gava yazdı
-