Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | General cleanup, raise normalization in Lib/distutils. | Collin Winter | 2007-08-30 | 47 | -1643/+966 |
| | |||||
* | Raise statement normalization in Lib/ctypes/. | Collin Winter | 2007-08-30 | 5 | -12/+10 |
| | |||||
* | Oops. I copied a slightly older version of the email package from the sandbox. | Guido van Rossum | 2007-08-30 | 8 | -474/+536 |
| | | | | | | | This should restore the email package in the py3k branch to exactly what's in the sandbox. This wipes out 1-2 fixes made post-copy, which I'll re-apply shortly. | ||||
* | Use the new name for the parser module. | Neal Norwitz | 2007-08-30 | 1 | -2/+2 |
| | |||||
* | Revert revisions 57472, 57474, and 57477 which disabled some tests | Neal Norwitz | 2007-08-30 | 4 | -26/+5 |
| | | | | when the email package was removed. Email was restored, so restore the tests. | ||||
* | Fix a more bytes/str confusion. | Barry Warsaw | 2007-08-30 | 4 | -24/+20 |
| | | | | | | | 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. | ||||
* | Raise statement normalization in Lib/. | Collin Winter | 2007-08-30 | 80 | -530/+502 |
| | |||||
* | Copying the email package back, despite its failings. | Guido van Rossum | 2007-08-30 | 75 | -0/+9910 |
| | |||||
* | Fix an outdated URL in a SyntaxError message. | Guido van Rossum | 2007-08-30 | 1 | -1/+1 |
| | |||||
* | When clobbering, also clean the docs. | Guido van Rossum | 2007-08-29 | 1 | -1/+5 |
| | |||||
* | Revert r57685 (weird merge result). | Collin Winter | 2007-08-29 | 1 | -1/+0 |
| | |||||
* | Make it work with Py3k. | Guido van Rossum | 2007-08-29 | 1 | -2/+2 |
| | |||||
* | Raise statement normalization in Lib/test/. | Collin Winter | 2007-08-29 | 47 | -218/+218 |
| | |||||
* | (no commit message) | Collin Winter | 2007-08-29 | 1 | -0/+1 |
| | |||||
* | (no commit message) | Collin Winter | 2007-08-29 | 0 | -0/+0 |
| | |||||
* | Don't delete test output when "make clean" is run -- only when "make | Guido van Rossum | 2007-08-29 | 1 | -2/+2 |
| | | | | clobber" is run. (Thanks Thomas W. for pointing this out!) | ||||
* | Modernize clean and funny targets. | Guido van Rossum | 2007-08-29 | 1 | -5/+19 |
| | |||||
* | Mostly rewritten, much shorter README for Py3k. | Guido van Rossum | 2007-08-29 | 1 | -1204/+87 |
| | |||||
* | [Oops, I forgot half of the patch.] | Guido van Rossum | 2007-08-29 | 1 | -0/+5 |
| | | | | | | | | | 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. | ||||
* | Andother bytes/str comparison caught by Jeremy's change. | Guido van Rossum | 2007-08-29 | 1 | -1/+1 |
| | |||||
* | Change string literal to bytes. | Jeremy Hylton | 2007-08-29 | 1 | -1/+1 |
| | |||||
* | Make terminator constants bytes. | Jeremy Hylton | 2007-08-29 | 1 | -2/+2 |
| | |||||
* | Change string literals to bytes, since they are compared to bytes. | Jeremy Hylton | 2007-08-29 | 1 | -2/+2 |
| | |||||
* | Fix issue # 1037 (sort of). | Guido van Rossum | 2007-08-29 | 1 | -2/+8 |
| | |||||
* | Make it an error to compare a bytes object and a Unicode object. | Jeremy Hylton | 2007-08-29 | 2 | -7/+13 |
| | |||||
* | Patch # 1050 by Amaury Forgeot d'Arc. | Guido van Rossum | 2007-08-29 | 1 | -1/+4 |
| | | | | | | | | 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. | ||||
* | 1. Debugger was failing to start due to DictProxy limitations. | Kurt B. Kaiser | 2007-08-29 | 2 | -10/+32 |
| | | | | 2. Fix some debug prints in RemoteDebugger.py - use py3k syntax. | ||||
* | Patch # 1048 by Amaury Forgeot d'Arc. | Guido van Rossum | 2007-08-29 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | Three patches from issue #1047, by Amaury Forgeot d'Arc: | Guido van Rossum | 2007-08-29 | 5 | -32/+118 |
| | | | | | | | | | | | | | | | | | | | 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. | ||||
* | In rseponse to bug# 1029, force the newline default for StringIO to "\n", | Guido van Rossum | 2007-08-29 | 1 | -1/+1 |
| | | | | so that even on Windows, after s.write("x\n"), s.getvalue() == "x\n". | ||||
* | Unset PYTHONPATH, for my convenience. | Guido van Rossum | 2007-08-29 | 1 | -0/+3 |
| | |||||
* | Insist that the argument to TextIOWrapper.write() is a basestring | Guido van Rossum | 2007-08-29 | 1 | -0/+3 |
| | | | | | instance. This was effectively already the case, but the error reporting was lousy. | ||||
* | Use the correct type for variables corresponding to 'u' formats. | Guido van Rossum | 2007-08-29 | 1 | -1/+1 |
| | |||||
* | Convert various string literals to bytes. | Jeremy Hylton | 2007-08-29 | 3 | -6/+6 |
| | |||||
* | PEP 7 clean ups, no change in behavior. | Jeremy Hylton | 2007-08-29 | 1 | -49/+53 |
| | | | | | | Reflow long lines. Remove whitespace inside parents. Move open braces off lines by themselves. | ||||
* | Fix test failures caused by missing/incorrect conversion to bytes. | Jeremy Hylton | 2007-08-29 | 1 | -4/+4 |
| | |||||
* | Fix up brokenness with hashing, now hashlib is strict in requiring bytes too. | Guido van Rossum | 2007-08-29 | 2 | -9/+10 |
| | |||||
* | Straggler (forgot to save this earlier). | Guido van Rossum | 2007-08-29 | 1 | -2/+1 |
| | |||||
* | Refuse to compute digests from PyUnicode (str) instances. | Guido van Rossum | 2007-08-29 | 1 | -2/+2 |
| | | | | This breaks a few things that I'll patch up in a minute. | ||||
* | Oops, remove an abort() I put in for debugging. | Guido van Rossum | 2007-08-29 | 1 | -1/+0 |
| | |||||
* | Fix the one failing test (can't decode twice). | Guido van Rossum | 2007-08-29 | 1 | -1/+2 |
| | |||||
* | Add PyUnicode_AsStringAndSize(), which is like PyUnicode_AsString() but | Guido van Rossum | 2007-08-29 | 4 | -17/+31 |
| | | | | | | 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). | ||||
* | Fix test_pyclbr -- _https_connection is optional. | Guido van Rossum | 2007-08-29 | 1 | -0/+1 |
| | |||||
* | Fix failure in error handler -- exc[-1] -> exc.args[-1]. | Guido van Rossum | 2007-08-29 | 1 | -2/+2 |
| | |||||
* | Corrected missed #if in r57652. | Eric Smith | 2007-08-29 | 1 | -0/+2 |
| | |||||
* | Added conditional compilation for '()', which was an allowed sign code in a | Eric Smith | 2007-08-29 | 1 | -1/+8 |
| | | | | | | | previous version of PEP 3101. It's currently not compiled in, but I want to leave it because it might be useful in the future and it makes calc_number_widths() clearer. It justifies NumberFieldWidths.rsign and .n__rsign. | ||||
* | Get test_bsddb3 passing | Neal Norwitz | 2007-08-29 | 3 | -6/+6 |
| | |||||
* | strings vs bytes, bytes wins again | Gregory P. Smith | 2007-08-29 | 1 | -4/+4 |
| | |||||
* | Commit strict str/bytes distinction. | Guido van Rossum | 2007-08-29 | 3 | -119/+59 |
| | | | | | | | | | From now on, trying to write str to a binary stream is an error (I'm still working on the reverse). There are still (at least) two failing tests: - test_asynchat - test_urllib2_localnet but I'm sure these will be fixed by someone. | ||||
* | Found a different, more direct way to disable ssl support until it's fixed. | Guido van Rossum | 2007-08-29 | 4 | -10/+8 |
| |