Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Change UnicodeDecodeError objects so that the 'object' attribute | Walter Dörwald | 2007-05-04 | 5 | -8/+98 |
| | | | | | | | is a bytes object. Add 'y' and 'y#' format specifiers that work like 's' and 's#' but only accept bytes objects. | ||||
* | Don't use StringType -- always test for basestring. | Guido van Rossum | 2007-05-04 | 1 | -3/+3 |
| | |||||
* | Add 8-bit chr() back as chr8(). | Guido van Rossum | 2007-05-04 | 1 | -0/+24 |
| | |||||
* | Make the BOM constants in codecs.py bytes. | Walter Dörwald | 2007-05-04 | 2 | -84/+83 |
| | | | | | | Make the buffered input for decoders a bytes object. Fix some of the codec tests. | ||||
* | Change PyUnicode_EncodeUTF16() so that it returns | Walter Dörwald | 2007-05-04 | 1 | -2/+2 |
| | | | | bytes objects instead of str8 objects. | ||||
* | Use basestring instead of (str, str8) to test whether | Walter Dörwald | 2007-05-04 | 1 | -1/+1 |
| | | | | cls is a module *name*. | ||||
* | It's ok for __repr__ to return unicode. | Guido van Rossum | 2007-05-04 | 1 | -9/+2 |
| | |||||
* | test_exceptions.py passes, except for pickling of course. | Guido van Rossum | 2007-05-04 | 1 | -1/+1 |
| | |||||
* | Make test_types.py pass. | Guido van Rossum | 2007-05-04 | 1 | -14/+14 |
| | |||||
* | Make all of test_bytes pass (except pickling, which is too badly busted). | Guido van Rossum | 2007-05-04 | 3 | -57/+55 |
| | |||||
* | Add trailing null bytes to a few more places. | Guido van Rossum | 2007-05-04 | 1 | -8/+12 |
| | |||||
* | Compare and hash unicode objects like their UTF-8 representations. | Guido van Rossum | 2007-05-04 | 2 | -52/+28 |
| | | | | Accept Unicode characters < 256 for 'c' format. | ||||
* | More coding by random modification. | Guido van Rossum | 2007-05-04 | 12 | -155/+185 |
| | | | | | Encoding now return bytes instead of str8. eval(), exec(), compile() now accept unicode or bytes. | ||||
* | Temporary fix: Module names are still 8bit strings. This | Walter Dörwald | 2007-05-03 | 1 | -1/+1 |
| | | | | | | change allows test_support.run_unittest(__name__) to work again. However the proper fix would be module names that are real unicode strings. | ||||
* | Fix various spots where int/long and str/unicode unification | Walter Dörwald | 2007-05-03 | 14 | -52/+47 |
| | | | | | lead to type checks like isinstance(foo, (str, str)) or isinstance(foo, (int, int)). | ||||
* | Fix type name (str has been renamed to str8). | Walter Dörwald | 2007-05-03 | 1 | -1/+1 |
| | |||||
* | Get rid of all #ifdef Py_USING_UNICODE (it is always present now). | Guido van Rossum | 2007-05-03 | 36 | -472/+10 |
| | | | | (With the help of unifdef from freshmeat.) | ||||
* | Kill unichr() itself. | Guido van Rossum | 2007-05-03 | 1 | -3/+0 |
| | |||||
* | Rename 'unicode' to 'str' in its tp_name field. Rename 'str' to 'str8'. | Guido van Rossum | 2007-05-03 | 17 | -66/+45 |
| | | | | Change all occurrences of unichr to chr. | ||||
* | Rip out all the u"..." literals and calls to unicode(). | Guido van Rossum | 2007-05-02 | 200 | -18059/+18059 |
| |