- 17 Agu, 2002 2 kayıt (commit)
-
-
Guido van Rossum yazdı
Also, don't call gettempdir() in the default expression for the 'dir' argument to various functions; use 'dir=None' for the default and insert 'if dir is None: dir = gettemptir()' in the bodies. That way the work done by gettempdir is postponed until needed.
-
Guido van Rossum yazdı
subprocess that does the right checks. This now works on Windows as well.
-
- 16 Agu, 2002 19 kayıt (commit)
-
-
Neal Norwitz yazdı
com_error() is static in Python/compile.c.
-
Neal Norwitz yazdı
-
Jeremy Hylton yazdı
Also, don't handle METH_OLDARGS on the fast path. All the interesting builtins have been converted to use METH_NOARGS, METH_O, or METH_VARARGS. Result is another 1-2% speedup. If I can cobble together 10 of these, it might make a difference.
-
Guido van Rossum yazdı
-
Jeremy Hylton yazdı
This makes the code much easier to ready, because it is at a sane indentation level. On my box this shows a 1-2% speedup, which means nothing, except that I'm not going to worry about the performance effects of the change.
-
Guido van Rossum yazdı
-- replace then with slightly faster PyObject_Call(o,a,NULL). (The difference is that the latter requires a to be a tuple; the former allows other values and wraps them in a tuple if necessary; it involves two more levels of C function calls to accomplish all that.)
-
Guido van Rossum yazdı
nothing special done if keyword arguments were present, so test for that earlier and fall through to the normal case if there are any. This ought to slow down CFunction calls with keyword args, but I don't care; it's a tiny (1%) improvement for pystone.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Guido van Rossum yazdı
- Use PyObject_Call() instead of PyEval_CallObject(), saves several layers of calls and checks. - Pre-allocate the argument tuple rather than calling Py_BuildValue() each time round the loop. - For filter(None, seq), avoid an INCREF and a DECREF.
-
Guido van Rossum yazdı
to inner scope, too.
-
Tim Peters yazdı
Loosened the acceptable 'start' and 'stop' arguments so that any Python (bounded) ints can be used. So, e.g., randrange(-sys.maxint-1, sys.maxint) no longer blows up.
-
Tim Peters yazdı
Karatsuba's better cache behavior with extremely large multiplicands.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
warning for 'global None', but that's either accompanied by an assignment to None, which will trigger a warning, or not, in which case it's harmless. :-)
-
Tim Peters yazdı
LINE events when not __debug__. But we get them anyway under -O now, so just stop special-casing non-__debug__ mode.
-
Guido van Rossum yazdı
Still to do: function definition arguments (including *None and **None).
-
Guido van Rossum yazdı
named 'None'. Still to do: function definition parameter lists, and function call keyword arguments.
-
Guido van Rossum yazdı
argument should be called 'c', like everywhere else. Renamed a complex variable 'c' to 'z' and moved it inside the only scope where it's used.
-
- 15 Agu, 2002 14 kayıt (commit)
-
-
Barry Warsaw yazdı
exception. The bug fix for SF #430849 wasn't quite right. This closes SF bug #595671. I'll backport this to Python 2.2.
-
Jack Jansen yazdı
them. The FutureWarnings are still there, until a way has been found to say "I know what I'm doing here when I say 0xff000000".
-
Jack Jansen yazdı
we catch errors during the build process in stead of later during runtime.
-
Jack Jansen yazdı
unix cvs. In this case the resource files are actual resource files in stead of AppleSingle encoded files.
-
Tim Peters yazdı
-
Tim Peters yazdı
rigorous instead of hoping for testing not to turn up counterexamples. Call me heretical, but despite that I'm wholly confident in the proof, and have done it two different ways now, I still put more faith in testing ...
-
Tim Peters yazdı
normalized result, so no point to normalizing it again. The number of test+branches was also excessive.
-
Michael W. Hudson yazdı
[ 587993 ] SET_LINENO killer Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab. Many sundry changes to document and adapt to this change.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
--with-universal-newline.
-
Skip Montanaro yazdı
Push /usr/... further down the list - always check /usr/local/... before /usr/... Doubt this will help with http://python.org/sf/589427 or not, but these changes were prompted by my investigation of that bug report. I wasn't able to reproduce that problem though
-
Skip Montanaro yazdı
see patch 586561
-
Skip Montanaro yazdı
single-quoted strings or end-of-file in triple-quoted strings. closes patch 586561.
-
Andrew M. Kuchling yazdı
Revise sentence Add two reminders
-
- 14 Agu, 2002 5 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Jeremy Hylton yazdı
-
Fred Drake yazdı
argument. This makes sense now that extension types can support __init__ directly rather than requiring function constructors.
-
Fred Drake yazdı
sense now that extension types can support __init__ directly rather than requiring function constructors.
-
Jeremy Hylton yazdı
-