Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Two changes (not enough to make the test pass though) having to do with | Guido van Rossum | 2007-08-30 | 1 | -2/+3 |
| | | | | the bytes() constructor when passing str. | ||||
* | Stop testing for encoded file names, as Python 3 does | Martin v. Löwis | 2007-08-30 | 1 | -64/+1 |
| | | | | not support them, anyway. | ||||
* | Try to fix test_plistlib so it uses bytes consistently in this call | Neal Norwitz | 2007-08-30 | 1 | -1/+1 |
| | |||||
* | Use inspect.py and clean up. | Kurt B. Kaiser | 2007-08-30 | 1 | -77/+61 |
| | |||||
* | Try to fix test_aepack by comparing bytes with bytes. | Neal Norwitz | 2007-08-30 | 1 | -1/+1 |
| | |||||
* | Write bytes instead of unicode | Neal Norwitz | 2007-08-30 | 1 | -20/+20 |
| | |||||
* | Try to get test_pep352 and maybe test_platform to work on a Windows buildbot | Neal Norwitz | 2007-08-30 | 1 | -1/+1 |
| | |||||
* | Since the filename is encoded, we must add bytes to it. The test | Neal Norwitz | 2007-08-30 | 1 | -1/+1 |
| | | | | still fails, but gets a little further with this change. | ||||
* | Stop using the find function on the string module, use the string method. | Neal Norwitz | 2007-08-30 | 1 | -4/+4 |
| | | | | This will hopefully fix the problem on a Windows buildbot with test_sundry. | ||||
* | Make this module importable, this gets test___all__ to pass. | Neal Norwitz | 2007-08-30 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Revert r57685 (weird merge result). | Collin Winter | 2007-08-29 | 1 | -1/+0 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | Make it an error to compare a bytes object and a Unicode object. | Jeremy Hylton | 2007-08-29 | 1 | -5/+5 |
| | |||||
* | 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. | ||||
* | Three patches from issue #1047, by Amaury Forgeot d'Arc: | Guido van Rossum | 2007-08-29 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | 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". | ||||
* | 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. | ||||
* | Convert various string literals to bytes. | Jeremy Hylton | 2007-08-29 | 3 | -6/+6 |
| | |||||
* | 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 |
| | |||||
* | Fix the one failing test (can't decode twice). | Guido van Rossum | 2007-08-29 | 1 | -1/+2 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -8/+5 |
| | | | | | | | | | 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 |
| | |||||
* | Change the way the encoding parameter is handled. | Guido van Rossum | 2007-08-29 | 1 | -11/+6 |
| | | | | This fixes test_doctest with strict bytes/str. | ||||
* | Make test_cmd_line work with strict str/bytes. | Guido van Rossum | 2007-08-29 | 1 | -4/+4 |
| | |||||
* | Fix the sqlite test. Blobs should be created using buffer(b"blob"), | Guido van Rossum | 2007-08-29 | 1 | -3/+3 |
| | | | | not buffer("blob"). | ||||
* | Modified parsing of format strings, so that we always return | Eric Smith | 2007-08-29 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | | | | a tuple (literal, field_name, format_spec, conversion). literal will always be a string, but might be of zero length. field_name will be None if there is no markup text format_spec will be a (possibly zero length) string if field_name is non-None conversion will be a one character string, or None This makes the Formatter class, and especially it's parse() method, easier to understand. Suggestion was by Jim Jewett, inspired by the "tail" of an elementtree node. Also, fixed a reference leak in fieldnameiter_next. | ||||
* | Make gettext work with strict str/bytes. | Guido van Rossum | 2007-08-29 | 1 | -3/+3 |
| | |||||
* | Fix this test. How could it ever have worked?! | Guido van Rossum | 2007-08-29 | 1 | -2/+3 |
| | |||||
* | Forgot one. This makes test_urllib2.py pass. | Guido van Rossum | 2007-08-29 | 1 | -1/+1 |
| | |||||
* | Make test_httplib pass. | Guido van Rossum | 2007-08-29 | 1 | -3/+3 |
| | |||||
* | Make test_urllib be strict about str/bytes. | Guido van Rossum | 2007-08-29 | 2 | -5/+5 |
| | | | | (One change to httplib.py, but not enough for test_httplib.) |