- 19 Agu, 2002 3 kayıt (commit)
-
-
Jack Jansen yazdı
There's really no point in a separate list of thank-you notes.
-
Raymond Hettinger yazdı
all operators having a counterpart in the operator module. Closes SF bug #577513.
-
Tim Peters yazdı
popen2() and popen3() created text-mode pipes even when binary mode was asked for. This was specific to Windows.
-
- 18 Agu, 2002 8 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Jack Jansen yazdı
This is a silly workaround for a rather serious bug in MacOSX: if you take a long filename and convert it to an FSSpec the fsspec gets a magic cooky (containing a #, indeed). If you then massage the extension of this fsspec and convert back to a pathname you may end up referring to the same file. This could destroy your sourcefile. The problem only occcurs in MacPython-OS9, not MacPython-OSX (I think). Closes bug #505562.
-
Raymond Hettinger yazdı
Jeremy reported that this is not allowed by RFC 2396; however, other tools support unescaped @'s so we should also. Apply SF patch 596581 closing bug 581529.
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
- update DLL version number - add files required for 2.3 (no changes to modules though) - restructure build of pgen.exe NOTE: As I don't have the VACPP compiler, these changes are untested. Apart from slightly re-ordering some file lists, and matching file name casing, I believe these changes are the minimum necessary to build 2.3 with VACPP.
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
- the security fixes to tempfile have lead to test_tempfile wanting to create 100 temporary files. as the EMX default is only 40, the number of file handles has been bumped (up to 250). - changes to pgen have required restructuring its build support.
-
- 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 8 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.
-