Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enhance the punycode decoder so that it can decode | Walter Dörwald | 2007-05-11 | 3 | -130/+136 |
| | | | | | | unicode objects. Fix the idna codec and the tests. | ||||
* | Fix the array tests. Only a minor change to the C code was required. | Guido van Rossum | 2007-05-10 | 2 | -17/+15 |
| | |||||
* | Fix some miscellaneous places that incorrectly insisted on str8. | Guido van Rossum | 2007-05-10 | 3 | -27/+34 |
| | |||||
* | Merged revisions 55228 via svnmerge from | Guido van Rossum | 2007-05-10 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ................ r55228 | guido.van.rossum | 2007-05-10 10:25:43 -0700 (Thu, 10 May 2007) | 9 lines Merged revisions 55227 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r55227 | guido.van.rossum | 2007-05-10 10:20:15 -0700 (Thu, 10 May 2007) | 2 lines Fix a bug in test_c_api() that caused a negative refcount. ........ ................ | ||||
* | Use io.BytesIO instead of StringIO.StringIO in all | Walter Dörwald | 2007-05-10 | 1 | -16/+16 |
| | | | | | spots where bytes are read and written (StringIO.StringIO doesn't work, because it promotes bytes to str). | ||||
* | Merged revisions 55184-55224 via svnmerge from | Guido van Rossum | 2007-05-10 | 2 | -11/+22 |
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55186 | guido.van.rossum | 2007-05-08 10:37:51 -0700 (Tue, 08 May 2007) | 2 lines Don't die if /dev/tty doesn't exist; just skip that part of the test. ........ r55204 | guido.van.rossum | 2007-05-09 10:55:11 -0700 (Wed, 09 May 2007) | 3 lines Fix a segfault when b"" was passed to b2a_qp() -- it was using strchr() instead of memchr(). Please backport; the original code was clearly wrong. ........ r55221 | neal.norwitz | 2007-05-09 22:49:20 -0700 (Wed, 09 May 2007) | 1 line Always skip compiler and tranformer tests for now since they currently fail. ........ | ||||
* | Fix punycode codec and tests. | Walter Dörwald | 2007-05-10 | 2 | -43/+43 |
| | |||||
* | Don't insist on cStringIO. | Guido van Rossum | 2007-05-09 | 1 | -19/+20 |
| | |||||
* | Don't insist on cStringIO. | Guido van Rossum | 2007-05-09 | 1 | -2/+2 |
| | |||||
* | Fix code depending on exception unpacking. | Guido van Rossum | 2007-05-09 | 1 | -1/+1 |
| | |||||
* | Don't insist on cStringIO. | Guido van Rossum | 2007-05-09 | 1 | -1/+1 |
| | |||||
* | Add to an XXX comment. | Guido van Rossum | 2007-05-09 | 1 | -1/+2 |
| | |||||
* | Random modifications that slightly improve the chances of this not blowing up. | Guido van Rossum | 2007-05-09 | 1 | -11/+10 |
| | | | | Walter will fix it for real. | ||||
* | Use AsCharBuffer to get a C string out of a Python string. | Guido van Rossum | 2007-05-09 | 1 | -29/+16 |
| | |||||
* | Use AsCharBuffer to get C strings out of Python strings. | Guido van Rossum | 2007-05-09 | 2 | -30/+15 |
| | |||||
* | The NULL pointer for empty strings turns out to be a pain. | Guido van Rossum | 2007-05-09 | 1 | -1/+4 |
| | | | | At least for the buffer API, return "" in that case. | ||||
* | Be more robust around bytes for e[st]#? formats. | Guido van Rossum | 2007-05-09 | 1 | -4/+8 |
| | |||||
* | More uniform approach to getting (UTF8) bytes out of a string. | Guido van Rossum | 2007-05-09 | 1 | -30/+3 |
| | |||||
* | Support PEP-263-style coding declarations. | Guido van Rossum | 2007-05-09 | 1 | -0/+11 |
| | | | | Default to UTF-8 per PEP-3120. | ||||
* | I don't know how come bytes.join() was a class method, but that's clearly | Guido van Rossum | 2007-05-09 | 2 | -10/+18 |
| | | | | | a mistake. It's not a regular (instance) method. b".".join([b"a", b"b"]) now returns b"a.b" -- it used to return b"ab"! | ||||
* | Forwardport checkin: | Walter Dörwald | 2007-05-09 | 1 | -1/+1 |
| | | | | | Fix a segfault when b"" was passed to b2a_qp() -- it was using strchr() instead of memchr(). | ||||
* | Fix trivial bug in idna encoding. | Guido van Rossum | 2007-05-09 | 1 | -1/+0 |
| | |||||
* | test_codeccallbacks.py passes again. | Walter Dörwald | 2007-05-09 | 1 | -97/+110 |
| | |||||
* | Mention type in the exception message. | Walter Dörwald | 2007-05-09 | 1 | -2/+3 |
| | |||||
* | Make test_marshal pass. Not my best work. :-( | Guido van Rossum | 2007-05-09 | 2 | -10/+43 |
| | |||||
* | Make the StringIO test pass. | Guido van Rossum | 2007-05-08 | 2 | -23/+36 |
| | | | | The buffer object now special-cases Unicode when concatenating. Sigh. | ||||
* | Got test_pickletools and test_pickle working. | Guido van Rossum | 2007-05-08 | 5 | -145/+172 |
| | | | | (Alas, test_cpickle is still broken.) | ||||
* | Given that ord() of a bytes object of length 1 is defined, it should | Guido van Rossum | 2007-05-08 | 3 | -1/+15 |
| | | | | never return a negative number. | ||||
* | Fix a few places where a str instead of a bytes object was used. | Guido van Rossum | 2007-05-08 | 2 | -5/+5 |
| | |||||
* | repr(b"\0") should return b"\x00", not the (unusual) b"\0". | Guido van Rossum | 2007-05-08 | 2 | -3/+4 |
| | |||||
* | Kill u"..." string quotes. Thought I already did that. | Guido van Rossum | 2007-05-08 | 2 | -10/+2 |
| | |||||
* | Got test_exceptions.py working. | Guido van Rossum | 2007-05-08 | 2 | -18/+21 |
| | |||||
* | Get rid of 'file' built-in. Get rid of types.StringType and friends. | Guido van Rossum | 2007-05-08 | 3 | -15/+0 |
| | |||||
* | Merged revisions 55180-55183 via svnmerge from | Guido van Rossum | 2007-05-08 | 1 | -8/+13 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55182 | neal.norwitz | 2007-05-07 23:03:06 -0700 (Mon, 07 May 2007) | 1 line Fix refleaks when using range with large values ........ | ||||
* | Checkpoint. A b it closer to working pickles and pickletools. | Guido van Rossum | 2007-05-07 | 4 | -8/+26 |
| | | | | Added 'Y' getargs opcode which requires a bytes object. | ||||
* | Merged revisions 55007-55179 via svnmerge from | Guido van Rossum | 2007-05-07 | 150 | -1332/+1424 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55077 | guido.van.rossum | 2007-05-02 11:54:37 -0700 (Wed, 02 May 2007) | 2 lines Use the new print syntax, at least. ........ r55142 | fred.drake | 2007-05-04 21:27:30 -0700 (Fri, 04 May 2007) | 1 line remove old cruftiness ........ r55143 | fred.drake | 2007-05-04 21:52:16 -0700 (Fri, 04 May 2007) | 1 line make this work with the new Python ........ r55162 | neal.norwitz | 2007-05-06 22:29:18 -0700 (Sun, 06 May 2007) | 1 line Get asdl code gen working with Python 2.3. Should continue to work with 3.0 ........ r55164 | neal.norwitz | 2007-05-07 00:00:38 -0700 (Mon, 07 May 2007) | 1 line Verify checkins to p3yk (sic) branch go to 3000 list. ........ r55166 | neal.norwitz | 2007-05-07 00:12:35 -0700 (Mon, 07 May 2007) | 1 line Fix this test so it runs again by importing warnings_test properly. ........ r55167 | neal.norwitz | 2007-05-07 01:03:22 -0700 (Mon, 07 May 2007) | 8 lines So long xrange. range() now supports values that are outside -sys.maxint to sys.maxint. floats raise a TypeError. This has been sitting for a long time. It probably has some problems and needs cleanup. Objects/rangeobject.c now uses 4-space indents since it is almost completely new. ........ r55171 | guido.van.rossum | 2007-05-07 10:21:26 -0700 (Mon, 07 May 2007) | 4 lines Fix two tests that were previously depending on significant spaces at the end of a line (and before that on Python 2.x print behavior that has no exact equivalent in 3.0). ........ | ||||
* | Initialized merge tracking via "svnmerge" with revisions "1-55006" from | Guido van Rossum | 2007-05-07 | 0 | -0/+0 |
| | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk | ||||
* | Fix some trivial things in cPickle due to the renaming of the string types. | Guido van Rossum | 2007-05-07 | 1 | -7/+2 |
| | |||||
* | Verify checkins to py3k branches go to 3000 list. | Neal Norwitz | 2007-05-07 | 1 | -0/+1 |
| | |||||
* | Check whether the strlen() result overflows Py_ssize_t. | Walter Dörwald | 2007-05-06 | 1 | -1/+5 |
| | |||||
* | Add two more space tests. | Walter Dörwald | 2007-05-05 | 1 | -0/+2 |
| | |||||
* | Remove duplicate tests. | Walter Dörwald | 2007-05-05 | 1 | -24/+4 |
| | |||||
* | Change PyUnicode_EncodeUTF7() to return a bytes object. | Walter Dörwald | 2007-05-05 | 1 | -4/+7 |
| | |||||
* | Silence gcc warnings. | Walter Dörwald | 2007-05-05 | 1 | -4/+4 |
| | | | | Use correct type for copy target pointer. | ||||
* | When creating a unicode object from a char * characters | Walter Dörwald | 2007-05-05 | 1 | -3/+2 |
| | | | | are always < 256 => remove the test. | ||||
* | Fix %c overflow test. | Walter Dörwald | 2007-05-05 | 1 | -1/+1 |
| | |||||
* | test_unicode.py passes again 9except for problems | Walter Dörwald | 2007-05-05 | 2 | -119/+68 |
| | | | | with the idna codec. | ||||
* | Add PyUnicode_FromString(), which create a unicode object from a | Walter Dörwald | 2007-05-05 | 3 | -0/+64 |
| | | | | const char * (i.e. 0-terminated latin-1 encoded bytes). | ||||
* | Much more pickling now works. | Guido van Rossum | 2007-05-04 | 1 | -4/+7 |
| | |||||
* | Checkpoint. Make pickle.py read/write bytes. | Guido van Rossum | 2007-05-04 | 2 | -213/+193 |
| | | | | Fix strict.py so it reads/writes bytes and accepts both string types as format. |