summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Forwardport checkin:Walter Dörwald2007-05-091-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 Rossum2007-05-091-1/+0
|
* test_codeccallbacks.py passes again.Walter Dörwald2007-05-091-97/+110
|
* Mention type in the exception message.Walter Dörwald2007-05-091-2/+3
|
* Make test_marshal pass. Not my best work. :-(Guido van Rossum2007-05-092-10/+43
|
* Make the StringIO test pass.Guido van Rossum2007-05-082-23/+36
| | | | The buffer object now special-cases Unicode when concatenating. Sigh.
* Got test_pickletools and test_pickle working.Guido van Rossum2007-05-085-145/+172
| | | | (Alas, test_cpickle is still broken.)
* Given that ord() of a bytes object of length 1 is defined, it shouldGuido van Rossum2007-05-083-1/+15
| | | | never return a negative number.
* Fix a few places where a str instead of a bytes object was used.Guido van Rossum2007-05-082-5/+5
|
* repr(b"\0") should return b"\x00", not the (unusual) b"\0".Guido van Rossum2007-05-082-3/+4
|
* Kill u"..." string quotes. Thought I already did that.Guido van Rossum2007-05-082-10/+2
|
* Got test_exceptions.py working.Guido van Rossum2007-05-082-18/+21
|
* Get rid of 'file' built-in. Get rid of types.StringType and friends.Guido van Rossum2007-05-083-15/+0
|
* Merged revisions 55180-55183 via svnmerge fromGuido van Rossum2007-05-081-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 Rossum2007-05-074-8/+26
| | | | Added 'Y' getargs opcode which requires a bytes object.
* Merged revisions 55007-55179 via svnmerge fromGuido van Rossum2007-05-07150-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" fromGuido van Rossum2007-05-070-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 Rossum2007-05-071-7/+2
|
* Verify checkins to py3k branches go to 3000 list.Neal Norwitz2007-05-071-0/+1
|
* Check whether the strlen() result overflows Py_ssize_t.Walter Dörwald2007-05-061-1/+5
|
* Add two more space tests.Walter Dörwald2007-05-051-0/+2
|
* Remove duplicate tests.Walter Dörwald2007-05-051-24/+4
|
* Change PyUnicode_EncodeUTF7() to return a bytes object.Walter Dörwald2007-05-051-4/+7
|
* Silence gcc warnings.Walter Dörwald2007-05-051-4/+4
| | | | Use correct type for copy target pointer.
* When creating a unicode object from a char * charactersWalter Dörwald2007-05-051-3/+2
| | | | are always < 256 => remove the test.
* Fix %c overflow test.Walter Dörwald2007-05-051-1/+1
|
* test_unicode.py passes again 9except for problemsWalter Dörwald2007-05-052-119/+68
| | | | with the idna codec.
* Add PyUnicode_FromString(), which create a unicode object from aWalter Dörwald2007-05-053-0/+64
| | | | const char * (i.e. 0-terminated latin-1 encoded bytes).
* Much more pickling now works.Guido van Rossum2007-05-041-4/+7
|
* Checkpoint. Make pickle.py read/write bytes.Guido van Rossum2007-05-042-213/+193
| | | | Fix strict.py so it reads/writes bytes and accepts both string types as format.
* Change UnicodeDecodeError objects so that the 'object' attributeWalter Dörwald2007-05-045-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 Rossum2007-05-041-3/+3
|
* Add 8-bit chr() back as chr8().Guido van Rossum2007-05-041-0/+24
|
* Make the BOM constants in codecs.py bytes.Walter Dörwald2007-05-042-84/+83
| | | | | | Make the buffered input for decoders a bytes object. Fix some of the codec tests.
* Change PyUnicode_EncodeUTF16() so that it returnsWalter Dörwald2007-05-041-2/+2
| | | | bytes objects instead of str8 objects.
* Use basestring instead of (str, str8) to test whetherWalter Dörwald2007-05-041-1/+1
| | | | cls is a module *name*.
* It's ok for __repr__ to return unicode.Guido van Rossum2007-05-041-9/+2
|
* test_exceptions.py passes, except for pickling of course.Guido van Rossum2007-05-041-1/+1
|
* Make test_types.py pass.Guido van Rossum2007-05-041-14/+14
|
* Make all of test_bytes pass (except pickling, which is too badly busted).Guido van Rossum2007-05-043-57/+55
|
* Add trailing null bytes to a few more places.Guido van Rossum2007-05-041-8/+12
|
* Compare and hash unicode objects like their UTF-8 representations.Guido van Rossum2007-05-042-52/+28
| | | | Accept Unicode characters < 256 for 'c' format.
* More coding by random modification.Guido van Rossum2007-05-0412-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. ThisWalter Dörwald2007-05-031-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 unificationWalter Dörwald2007-05-0314-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örwald2007-05-031-1/+1
|
* Get rid of all #ifdef Py_USING_UNICODE (it is always present now).Guido van Rossum2007-05-0336-472/+10
| | | | (With the help of unifdef from freshmeat.)
* Kill unichr() itself.Guido van Rossum2007-05-031-3/+0
|
* Rename 'unicode' to 'str' in its tp_name field. Rename 'str' to 'str8'.Guido van Rossum2007-05-0317-66/+45
| | | | Change all occurrences of unichr to chr.
* Rip out all the u"..." literals and calls to unicode().Guido van Rossum2007-05-02200-18059/+18059
|