- 30 Agu, 2007 5 kayıt (commit)
-
-
Neal Norwitz yazdı
when the email package was removed. Email was restored, so restore the tests.
-
Barry Warsaw yazdı
Use str.encode('raw-unicode-escape') consistently instead of bytes(string). Remove the convert_eols argument from base64mime.decode(). This matches previous API changes done to the quoprimime module.
-
Collin Winter yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 29 Agu, 2007 35 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Collin Winter yazdı
-
Guido van Rossum yazdı
-
Collin Winter yazdı
-
Collin Winter yazdı
--no commit message
-
Collin Winter yazdı
--no commit message
-
Guido van Rossum yazdı
clobber" is run. (Thanks Thomas W. for pointing this out!)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Patch # 1050 by Amaury Forgeot d'Arc. On Windows, debug builds insert stack probes, and recursive functions tend to exhaust the stack faster. This patch reduces the marshal maximum depth from 2000 to 1500 for debug builds only. Optimized builds are not affected. This allows test_marshal to pass with debug builds.
-
Guido van Rossum yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Guido van Rossum yazdı
-
Jeremy Hylton yazdı
-
Guido van Rossum yazdı
On Windows, debug builds insert stack probes, and recursive functions tend to exhaust the stack faster. This patch reduces the marshal maximum depth from 2000 to 1500 for debug builds only. Optimized builds are not affected. This allows test_marshal to pass with debug builds.
-
Kurt B. Kaiser yazdı
2. Fix some debug prints in RemoteDebugger.py - use py3k syntax.
-
Guido van Rossum yazdı
test_float crashes on Windows, because the %zd format is used in a call to PyOS_snprintf(). The attached patch properly uses PY_FORMAT_SIZE_T.
-
Guido van Rossum yazdı
1/ getargs.diff adds the 'Z' and 'Z#' format specifiers for PyArg_ParseTuple. They mimic z and z# for unicode strings, by accepting a Unicode or None (in which case the Py_UNICODE* pointer is set to NULL). With doc and tests. 2/ subprocess.diff converts file PC/_subprocess.c to unicode. We use the Unicode version of the win32 api (and Z conversion from previous patch) 3/ stdout.diff: sys.stdout must not convert the line endings, Windows already does it. Without this patch, when redirecting the output of python, the file contains \r\r\n for each line. (test_subprocess did catch this) However, I (GvR) removed the change to _fileio.c (included in the patches) that prevents closing file descripors < 3 from being closed; I think that needs to be solved in a different way.
-
Guido van Rossum yazdı
so that even on Windows, after s.write("x\n"), s.getvalue() == "x\n".
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
instance. This was effectively already the case, but the error reporting was lousy.
-
Guido van Rossum yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
Reflow long lines. Remove whitespace inside parents. Move open braces off lines by themselves.
-
Jeremy Hylton yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
This breaks a few things that I'll patch up in a minute.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
has an extra (optional) output parameter through which it returns the size. Use this in a few places where I used PyUnicode_AsString() + strlen(), and in one new place (which fixes test_pep263).
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-