summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix the array tests. Only a minor change to the C code was required.Guido van Rossum2007-05-102-17/+15
|
* Fix some miscellaneous places that incorrectly insisted on str8.Guido van Rossum2007-05-103-27/+34
|
* Merged revisions 55228 via svnmerge fromGuido van Rossum2007-05-101-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 allWalter Dörwald2007-05-101-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 fromGuido van Rossum2007-05-102-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örwald2007-05-102-43/+43
|
* Don't insist on cStringIO.Guido van Rossum2007-05-091-19/+20
|
* Don't insist on cStringIO.Guido van Rossum2007-05-091-2/+2
|
* Fix code depending on exception unpacking.Guido van Rossum2007-05-091-1/+1
|
* Don't insist on cStringIO.Guido van Rossum2007-05-091-1/+1
|
* Add to an XXX comment.Guido van Rossum2007-05-091-1/+2
|
* Random modifications that slightly improve the chances of this not blowing up.Guido van Rossum2007-05-091-11/+10
| | | | Walter will fix it for real.
* Use AsCharBuffer to get a C string out of a Python string.Guido van Rossum2007-05-091-29/+16
|
* Use AsCharBuffer to get C strings out of Python strings.Guido van Rossum2007-05-092-30/+15
|
* The NULL pointer for empty strings turns out to be a pain.Guido van Rossum2007-05-091-1/+4
| | | | At least for the buffer API, return "" in that case.
* Be more robust around bytes for e[st]#? formats.Guido van Rossum2007-05-091-4/+8
|
* More uniform approach to getting (UTF8) bytes out of a string.Guido van Rossum2007-05-091-30/+3
|
* Support PEP-263-style coding declarations.Guido van Rossum2007-05-091-0/+11
| | | | Default to UTF-8 per PEP-3120.
* I don't know how come bytes.join() was a class method, but that's clearlyGuido van Rossum2007-05-092-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ö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.