summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 55270-55324 via svnmerge fromGuido van Rossum2007-05-1468-9866/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55271 | fred.drake | 2007-05-11 10:14:47 -0700 (Fri, 11 May 2007) | 3 lines remove jpeg, panel libraries for SGI; there is more IRIX stuff left over, I guess that should be removed too, but will leave for someone who is sure ........ r55280 | fred.drake | 2007-05-11 19:11:37 -0700 (Fri, 11 May 2007) | 1 line remove mention of file that has been removed ........ r55301 | brett.cannon | 2007-05-13 17:38:05 -0700 (Sun, 13 May 2007) | 4 lines Remove rexec and Bastion from the stdlib. This also eliminates the need for f_restricted on frames. This in turn negates the need for PyEval_GetRestricted() and PyFrame_IsRestricted(). ........ r55303 | brett.cannon | 2007-05-13 19:22:22 -0700 (Sun, 13 May 2007) | 2 lines Remove the md5 and sha modules. ........ r55305 | george.yoshida | 2007-05-13 19:45:55 -0700 (Sun, 13 May 2007) | 2 lines fix markup ........ r55306 | neal.norwitz | 2007-05-13 19:47:57 -0700 (Sun, 13 May 2007) | 1 line Get the doc building again after some removals. ........ r55307 | neal.norwitz | 2007-05-13 19:50:45 -0700 (Sun, 13 May 2007) | 1 line Get test_pyclbr passing again after getstatus was removed from commands. This "test case" was weird since it was just importing a seemingly random module. Remove the import ........ r55322 | brett.cannon | 2007-05-14 14:09:20 -0700 (Mon, 14 May 2007) | 3 lines Remove the compiler package. Will eventually need a mechanism to byte compile an AST. ........
* Change PyUnicode_EncodeCharmap() to return bytes objectsWalter Dörwald2007-05-121-20/+21
| | | | | (which simplifies the implementation a little, because bytes objects are resizable in place).
* Fix string test (was testing str twice).Walter Dörwald2007-05-121-1/+1
|
* Change PyUnicode_EncodeRawUnicodeEscape() to return bytesWalter Dörwald2007-05-121-8/+19
| | | | | objects (PyUnicode_AsRawUnicodeEscapeString() still returns str8 objects).
* Reuse static global hexdigits array.Walter Dörwald2007-05-121-14/+12
|
* Change PyUnicode_EncodeUnicodeEscape() to return a bytes object.Walter Dörwald2007-05-121-53/+179
| | | | | | | | | | However PyUnicode_AsUnicodeEscapeString() (which is used by Objects/fileobject.c::file_repr()) still returns a str8 object. Give unicode_repr() it's own implementation which returns a str8 object (it was formerly just calling unicodeescape_string() which was used to implement PyUnicode_EncodeUnicodeEscape() too), because once repr() is required to return unicode objects it needs its own implementation anyway.
* There's no longer a u prefix for unicode objectsWalter Dörwald2007-05-111-6/+6
| | | | | | => drop it. Fix idna test (encode() returns bytes now).
* Simplify PyObject_Unicode(NULL) by usingWalter Dörwald2007-05-111-8/+3
| | | | PyUnicode_FromString().
* Merged revisions 55225-55227,55229-55269 via svnmerge fromGuido van Rossum2007-05-1157-22482/+805
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ................ r55238 | guido.van.rossum | 2007-05-10 16:46:05 -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. ........ ................ r55246 | neal.norwitz | 2007-05-11 00:01:52 -0700 (Fri, 11 May 2007) | 1 line Remove commands.getstatus() it is obsolete. ................ r55248 | neal.norwitz | 2007-05-11 00:29:05 -0700 (Fri, 11 May 2007) | 2 lines Remove bsddb185 support. ................ r55249 | neal.norwitz | 2007-05-11 00:29:50 -0700 (Fri, 11 May 2007) | 1 line Remove bsddb185 module too ................ r55250 | neal.norwitz | 2007-05-11 00:32:13 -0700 (Fri, 11 May 2007) | 1 line bsddb185: Gotta remove from the file checked in, not Setup ................ r55251 | neal.norwitz | 2007-05-11 00:53:26 -0700 (Fri, 11 May 2007) | 1 line Remove obsolete IRIX modules (as much as I could find, there is probably more) ................ r55252 | neal.norwitz | 2007-05-11 00:55:35 -0700 (Fri, 11 May 2007) | 1 line Remove SGI turd. ................ r55254 | georg.brandl | 2007-05-11 03:11:01 -0700 (Fri, 11 May 2007) | 2 lines Add a case for set comprehensions to the "cannot assign to" switch. ................ r55255 | georg.brandl | 2007-05-11 03:11:25 -0700 (Fri, 11 May 2007) | 2 lines Fix wrong imports. ................ r55261 | georg.brandl | 2007-05-11 07:37:48 -0700 (Fri, 11 May 2007) | 2 lines Remove removed tex files. ................ r55262 | georg.brandl | 2007-05-11 08:28:41 -0700 (Fri, 11 May 2007) | 2 lines Commit PEP 3132 implementation. ................ r55264 | georg.brandl | 2007-05-11 08:50:19 -0700 (Fri, 11 May 2007) | 2 lines Check in the inevitable AST version number and format Py_ssize_t with %zd. ................ r55265 | neal.norwitz | 2007-05-11 09:12:22 -0700 (Fri, 11 May 2007) | 1 line Remove mention of os.popen* and popen2.* since these will be removed. ................ r55266 | neal.norwitz | 2007-05-11 09:19:57 -0700 (Fri, 11 May 2007) | 1 line Get doc to build again (almost, the doc is fine) ................ r55267 | neal.norwitz | 2007-05-11 09:21:02 -0700 (Fri, 11 May 2007) | 1 line Really get doc to build (remove use of string module) ................ r55269 | neal.norwitz | 2007-05-11 09:29:43 -0700 (Fri, 11 May 2007) | 1 line Add some notes to cleanup later ................
* Remove support for u"..." literals.Guido van Rossum2007-05-111-10/+1
|
* Enhance the punycode decoder so that it can decodeWalter Dörwald2007-05-113-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 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
|