]> granicus.if.org Git - python/log
python
17 years agoIf $PYTHONNEWIO is set and nonempty,
Guido van Rossum [Tue, 17 Apr 2007 21:49:04 +0000 (21:49 +0000)]
If $PYTHONNEWIO is set and nonempty,
io.py is used for open() and sys.std{in,out,err}.
Note that this currently breaks about 25 tests.

17 years agoRemove functions in string module that are also string methods. Also remove:
Neal Norwitz [Tue, 17 Apr 2007 08:48:32 +0000 (08:48 +0000)]
Remove functions in string module that are also string methods.  Also remove:
 * all calls to functions in the string module (except maketrans)
 * everything from stropmodule except for maketrans() which is still used

17 years agoRemove the SlowParser class because it depended on the xmllib module
Neal Norwitz [Tue, 17 Apr 2007 08:42:15 +0000 (08:42 +0000)]
Remove the SlowParser class because it depended on the xmllib module
which was removed.

Use string methods rather than the string module.

17 years agoRemove the xmllib module that was obsolete.
Neal Norwitz [Tue, 17 Apr 2007 08:39:58 +0000 (08:39 +0000)]
Remove the xmllib module that was obsolete.

17 years agoRemove old string module
Neal Norwitz [Tue, 17 Apr 2007 08:20:53 +0000 (08:20 +0000)]
Remove old string module

17 years agoRemove ancient platforms: AIX 3 and Irix 5. (AIX 4 and Irix 6 remain.)
Neal Norwitz [Tue, 17 Apr 2007 08:19:58 +0000 (08:19 +0000)]
Remove ancient platforms: AIX 3 and Irix 5.  (AIX 4 and Irix 6 remain.)

17 years agoInstead of pickling the whole decoder, use the new getstate/setstate API.
Guido van Rossum [Tue, 17 Apr 2007 02:38:04 +0000 (02:38 +0000)]
Instead of pickling the whole decoder, use the new getstate/setstate API.

17 years agoApply SF patch #1698994: Add getstate() and setstate()
Walter Dörwald [Mon, 16 Apr 2007 22:10:50 +0000 (22:10 +0000)]
Apply SF patch #1698994: Add getstate() and setstate()
methods to incrementalcodecs.

Also forward port r54786 (fix the incremental
utf_8_sig decoder).

17 years agoCheck in the inevitable change to the version number.
Guido van Rossum [Mon, 16 Apr 2007 17:02:00 +0000 (17:02 +0000)]
Check in the inevitable change to the version number.
I'll add this step to PEP 306.

17 years agoHide list comp variables and support set comprehensions
Nick Coghlan [Sun, 15 Apr 2007 12:05:43 +0000 (12:05 +0000)]
Hide list comp variables and support set comprehensions

17 years agoOops, don't test for a name attribute here. That's a higher-level feature.
Guido van Rossum [Fri, 13 Apr 2007 19:02:54 +0000 (19:02 +0000)]
Oops, don't test for a name attribute here.  That's a higher-level feature.

17 years agoSupport name and mode attributes on all file types.
Guido van Rossum [Fri, 13 Apr 2007 18:42:35 +0000 (18:42 +0000)]
Support name and mode attributes on all file types.
Don't read more than one line when reading text from a tty device.
Add peek() and read1() methods.
Return str instead of unicode when return ASCII characters in text mode.

17 years agostruct.unpack() allows a bytes string too (if it has the right size).
Guido van Rossum [Fri, 13 Apr 2007 03:33:53 +0000 (03:33 +0000)]
struct.unpack() allows a bytes string too (if it has the right size).

17 years agoSupport marshal.dump(x, f) where f is not a real file.
Guido van Rossum [Fri, 13 Apr 2007 03:31:13 +0000 (03:31 +0000)]
Support marshal.dump(x, f) where f is not a real file.
Support ord(b) where b is a 1-byte string.
In zipfile.py, work around bytes being ints instead of chars, sometimes.

17 years agoDisallow u"..." + b"..." and b"..." + u"...".
Guido van Rossum [Fri, 13 Apr 2007 02:23:57 +0000 (02:23 +0000)]
Disallow u"..." + b"..." and b"..." + u"...".

17 years agoRough and dirty job -- allow concatenation of bytes and arbitrary
Guido van Rossum [Fri, 13 Apr 2007 01:39:34 +0000 (01:39 +0000)]
Rough and dirty job -- allow concatenation of bytes and arbitrary
buffer-supporting objects (Unicode always excluded), and also of
str and bytes.
(For some reason u"" + b"" doesn't fail, I'll investigate later.)

17 years agoMake a few more tests pass with the new I/O library.
Guido van Rossum [Thu, 12 Apr 2007 22:55:07 +0000 (22:55 +0000)]
Make a few more tests pass with the new I/O library.
Fix the truncate() semantics -- it should not affect the current position.
Switch wave.py/chunk.py to struct.unpack_from() to support bytes.
Don't use writelines() on binary files (test_fileinput.py).

17 years agoClean up trailing whitespace.
Guido van Rossum [Thu, 12 Apr 2007 22:49:52 +0000 (22:49 +0000)]
Clean up trailing whitespace.

17 years agoFix most XXX remarks.
Guido van Rossum [Thu, 12 Apr 2007 14:56:58 +0000 (14:56 +0000)]
Fix most XXX remarks.

17 years agoTest closed, mode attribute; don't test __exit__().
Guido van Rossum [Thu, 12 Apr 2007 14:51:49 +0000 (14:51 +0000)]
Test closed, mode attribute; don't test __exit__().

17 years agoMake sure that writing an array instance returns the number of bytes,
Guido van Rossum [Thu, 12 Apr 2007 05:44:49 +0000 (05:44 +0000)]
Make sure that writing an array instance returns the number of bytes,
not the number of array elements.

17 years agoTextIO improvement:
Guido van Rossum [Thu, 12 Apr 2007 05:24:24 +0000 (05:24 +0000)]
TextIO improvement:
- 25% speed increse in tell();
- f.seek(0, 1) now maps to f.seek(f.tell(), 0) instead of to f.tell().

17 years agoBug #1697782: remove all remaining code that uses types.InstanceType.
Georg Brandl [Wed, 11 Apr 2007 19:24:50 +0000 (19:24 +0000)]
Bug #1697782: remove all remaining code that uses types.InstanceType.

17 years agoMake array().tofile() work with a new I/O object.
Guido van Rossum [Wed, 11 Apr 2007 17:08:28 +0000 (17:08 +0000)]
Make array().tofile() work with a new I/O object.

17 years agoRe-enable cleanup code.
Guido van Rossum [Wed, 11 Apr 2007 16:32:43 +0000 (16:32 +0000)]
Re-enable cleanup code.

17 years agoSpeed up next() by disabling snapshot updating then.
Guido van Rossum [Wed, 11 Apr 2007 16:07:50 +0000 (16:07 +0000)]
Speed up next() by disabling snapshot updating then.

17 years agoMore efficient implementation of tell(); _read_chunk() doesn't have to
Guido van Rossum [Wed, 11 Apr 2007 14:19:59 +0000 (14:19 +0000)]
More efficient implementation of tell(); _read_chunk() doesn't have to
call self.buffer.tell().

17 years agoReal pickling for bytes.
Guido van Rossum [Wed, 11 Apr 2007 05:40:58 +0000 (05:40 +0000)]
Real pickling for bytes.
Restore complex pickling.
Use cPickle in io.py.

17 years agoAn example of action-at-a-distance: fix the problems I had in test_io.py
Guido van Rossum [Wed, 11 Apr 2007 04:37:43 +0000 (04:37 +0000)]
An example of action-at-a-distance: fix the problems I had in test_io.py
without touching io.py or test_io.py.  The cause of the failure was that
bytes objects didn't pickle right.  As a stop-gap measure, I'm providing
bytes pickling via copy_reg.  Eventually, we should use a more efficient
protocol, e.g. __reduce_ex__ or __getstate__/__setstate__.

17 years agoCheckpoint so I can continue to work on this at a different box.
Guido van Rossum [Wed, 11 Apr 2007 01:09:03 +0000 (01:09 +0000)]
Checkpoint so I can continue to work on this at a different box.
There is somewhat working (but slow) code supporting seek/tell for text files,
but extensive testing exposes a bug I can't nail down.

17 years agotruncate() returns the new size and position.
Guido van Rossum [Tue, 10 Apr 2007 21:06:59 +0000 (21:06 +0000)]
truncate() returns the new size and position.
write() returns the number of bytes/characters written/buffered.
FileIO.close() calls self.flush().
Implement readinto() for buffered readers.
Tests th check all these.
Test proper behavior of __enter__/__exit__.

17 years agoSkip large file tests on Windowns and OSX.
Guido van Rossum [Tue, 10 Apr 2007 20:08:41 +0000 (20:08 +0000)]
Skip large file tests on Windowns and OSX.
Reduce large file size to 2**31 (and a bit).

17 years agoImplement long positioning (Unix only, probably).
Guido van Rossum [Tue, 10 Apr 2007 19:01:47 +0000 (19:01 +0000)]
Implement long positioning (Unix only, probably).
Etc., etc.

17 years agoBufferedIOBase and TextIOBase should derive from IOBase, not from RawIOBase!
Guido van Rossum [Tue, 10 Apr 2007 14:41:39 +0000 (14:41 +0000)]
BufferedIOBase and TextIOBase should derive from IOBase, not from RawIOBase!

17 years agoMore cleanup. Renamed BlockingIO to BlockingIOError.
Guido van Rossum [Tue, 10 Apr 2007 00:22:16 +0000 (00:22 +0000)]
More cleanup.  Renamed BlockingIO to BlockingIOError.
Removed unused _PyFileIO class.
Changed inheritance structure.
TODO: do the same kinds of things to TextIO.

17 years agoBytes should never equal unicode.
Guido van Rossum [Mon, 9 Apr 2007 00:49:13 +0000 (00:49 +0000)]
Bytes should never equal unicode.
Add tests for str <cmpop> bytes.

17 years agoFor Make Benefit Glorious Nation of Backwards Compatibility,
Guido van Rossum [Mon, 9 Apr 2007 00:43:24 +0000 (00:43 +0000)]
For Make Benefit Glorious Nation of Backwards Compatibility,
bytes objects can now be compared to anything that supports the buffer API.

17 years agoMake sure that a forked child process exits even if it raises an exception.
Guido van Rossum [Mon, 9 Apr 2007 00:41:25 +0000 (00:41 +0000)]
Make sure that a forked child process exits even if it raises an exception.

17 years agoFix a place where it's pretty clear that a binary open mode was intended.
Guido van Rossum [Mon, 9 Apr 2007 00:00:23 +0000 (00:00 +0000)]
Fix a place where it's pretty clear that a binary open mode was intended.
(The new I/O library revealed the problem.)

17 years agoCleanup.
Guido van Rossum [Sun, 8 Apr 2007 23:59:06 +0000 (23:59 +0000)]
Cleanup.
Add closed attribute.
Support int argument to open() -- wrapping a file descriptor.
For b/w compat, support readline(n).
Support readlines() and readlines(n).
Flush on __del__.
Added some XXX comments.

17 years agoMake it possible to instantiate a _FileIO() with an integer file descriptor
Guido van Rossum [Sun, 8 Apr 2007 17:44:42 +0000 (17:44 +0000)]
Make it possible to instantiate a _FileIO() with an integer file descriptor
instead of a filename.
Add a 'closed' attribute.

17 years agoSomehow this contained a bogus reference to "exceptions" which caused
Guido van Rossum [Sat, 7 Apr 2007 03:14:46 +0000 (03:14 +0000)]
Somehow this contained a bogus reference to "exceptions" which caused
"import exceptions" to behave bizarrely.

17 years agoA class used as an exception should inherit from Exception.
Guido van Rossum [Sat, 7 Apr 2007 03:04:01 +0000 (03:04 +0000)]
A class used as an exception should inherit from Exception.
(Should be backported to 2.6, really.)

17 years agoAdd some backwards compatibility stuff.
Guido van Rossum [Sat, 7 Apr 2007 02:59:27 +0000 (02:59 +0000)]
Add some backwards compatibility stuff.
This now appears to work when io.open is substituted for the real open
in fileinput.py -- at least the latter's unit tests pass.

17 years agoCheckpoint.
Guido van Rossum [Fri, 6 Apr 2007 19:10:29 +0000 (19:10 +0000)]
Checkpoint.
Some cleanup of test_io.py and io.py.
Added seeking to buffered reader and writer, but no tests yet.

17 years agoGet rid of duplicate definition of BufferedIOBase.
Guido van Rossum [Fri, 6 Apr 2007 18:11:47 +0000 (18:11 +0000)]
Get rid of duplicate definition of BufferedIOBase.

17 years agoAdded a working Text I/O layer, by Mark Russell.
Guido van Rossum [Fri, 6 Apr 2007 17:31:18 +0000 (17:31 +0000)]
Added a working Text I/O layer, by Mark Russell.
This is essentially a checkpoint.

17 years agomake the markup match that of the trunk to avoid insane spread of
Fred Drake [Thu, 29 Mar 2007 23:11:24 +0000 (23:11 +0000)]
make the markup match that of the trunk to avoid insane spread of
mystery italics

17 years agoFix refcounting bug reported by Amaury Forgeot d'Arc.
Guido van Rossum [Thu, 29 Mar 2007 20:49:57 +0000 (20:49 +0000)]
Fix refcounting bug reported by Amaury Forgeot d'Arc.

17 years agoMake readonly members defined in C throw an AttributeError on modification. This...
Collin Winter [Wed, 28 Mar 2007 21:44:53 +0000 (21:44 +0000)]
Make readonly members defined in C throw an AttributeError on modification. This brings them into sync with Python-level attributes. Fixes bug #1687163.

17 years agoMore fixes related to removal of exception slicing.
Guido van Rossum [Wed, 28 Mar 2007 21:03:48 +0000 (21:03 +0000)]
More fixes related to removal of exception slicing.

17 years agoFix errors in bsddb3 tests due to removal of exception slicing.
Guido van Rossum [Wed, 28 Mar 2007 21:02:43 +0000 (21:02 +0000)]
Fix errors in bsddb3 tests due to removal of exception slicing.

(There was also a segfault but it disappeared when the tests
stopped erroring out; I presume the segfault is a pre-existing
problem somewhere in a destructor.)

17 years agoMoving xreload to the sandbox for now.
Guido van Rossum [Wed, 28 Mar 2007 00:30:15 +0000 (00:30 +0000)]
Moving xreload to the sandbox for now.

17 years agoBy default, != returns the opposite of ==, unless the latter returns
Guido van Rossum [Tue, 27 Mar 2007 22:37:34 +0000 (22:37 +0000)]
By default, != returns the opposite of ==, unless the latter returns
NotImplemented.

(Is this worth backporting to 2.6?  It seems so useful...!)

17 years agoLooks like this file wasn't checked in.
Guido van Rossum [Tue, 27 Mar 2007 22:34:34 +0000 (22:34 +0000)]
Looks like this file wasn't checked in.

17 years agoFix two bugs related to the remove of exception subscripting.
Collin Winter [Tue, 27 Mar 2007 04:55:27 +0000 (04:55 +0000)]
Fix two bugs related to the remove of exception subscripting.

17 years agoAddress some XXXs from Neal Norwitz.
Collin Winter [Fri, 23 Mar 2007 22:46:49 +0000 (22:46 +0000)]
Address some XXXs from Neal Norwitz.

17 years agoWhen removing indexing/slicing on exceptions some places were changed
Brett Cannon [Wed, 21 Mar 2007 22:26:20 +0000 (22:26 +0000)]
When removing indexing/slicing on exceptions some places were changed
inappropriately from ``e[0]`` to ``e.message`` instead of ``e.args[0]``.  The
reason it needs to be the last option is the dichotomy of 'message' and 'args':
'message' can be the empty string but args[0] can have a value if more than one
argument was passed.

17 years agoFix refleak in compiler.
Guido van Rossum [Wed, 21 Mar 2007 21:26:58 +0000 (21:26 +0000)]
Fix refleak in compiler.
(A symbol table entry was leaked every time a class was compiled.)

17 years agoRemove isCallable() and sequenceIncludes() from the operator module.
Collin Winter [Wed, 21 Mar 2007 20:10:51 +0000 (20:10 +0000)]
Remove isCallable() and sequenceIncludes() from the operator module.

17 years agoLittle fixes:
Neal Norwitz [Wed, 21 Mar 2007 04:45:04 +0000 (04:45 +0000)]
Little fixes:
 * make some module variables static to prevent name pollution
 * Add some comments to clarify what's going on and some XXXs to address
 * Add a space after "for" before (
 * exc_value and tb can be NULL in some cases
 * Get working on Windows (I think)

17 years agoPatch #1680961: remove sys.exitfunc and replace it with a private C API. Also, reimpl...
Collin Winter [Wed, 21 Mar 2007 02:57:17 +0000 (02:57 +0000)]
Patch #1680961: remove sys.exitfunc and replace it with a private C API. Also, reimplement atexit in C so it can take advantage of this private API.

17 years agoUse the local python binary to build the docs, not whatever 'python' is on the PATH...
Collin Winter [Wed, 21 Mar 2007 02:14:12 +0000 (02:14 +0000)]
Use the local python binary to build the docs, not whatever 'python' is on the PATH (which is probably Python 2.x, and we need 3.x).

17 years agoRun 2to3 over Doc/tools/.
Collin Winter [Wed, 21 Mar 2007 02:11:39 +0000 (02:11 +0000)]
Run 2to3 over Doc/tools/.

17 years agoMake test_socket_ssl.py pass by fixing some code that was
Guido van Rossum [Mon, 19 Mar 2007 22:26:27 +0000 (22:26 +0000)]
Make test_socket_ssl.py pass by fixing some code that was
incorrectly assuming that err.message was the Py3k way of
writing err[0] in 2.x.  The correct spelling is err.args[0].

17 years agoUse input() now that it is available.
Guido van Rossum [Mon, 19 Mar 2007 22:23:59 +0000 (22:23 +0000)]
Use input() now that it is available.

17 years ago"from ... import x" should not be a syntax error... make
Georg Brandl [Mon, 19 Mar 2007 18:56:50 +0000 (18:56 +0000)]
"from ... import x" should not be a syntax error... make
import_stmt accept ELLIPSes and DOTs.

17 years agoFix the compiler package w.r.t. the new metaclass syntax.
Guido van Rossum [Mon, 19 Mar 2007 17:56:01 +0000 (17:56 +0000)]
Fix the compiler package w.r.t. the new metaclass syntax.
(It is still broken w.r.t. the new nonlocal keyword.)

Remove a series of debug prints I accidentally left in test_ast.py.

17 years agoNEWS item for PEP 3115.
Georg Brandl [Sun, 18 Mar 2007 20:18:31 +0000 (20:18 +0000)]
NEWS item for PEP 3115.

17 years agoRefactor astgen.py with 2to3.
Georg Brandl [Sun, 18 Mar 2007 19:52:24 +0000 (19:52 +0000)]
Refactor astgen.py with 2to3.

17 years agoMake ELLIPSIS a separate token. This makes it a syntax error to write ". . ."...
Georg Brandl [Sun, 18 Mar 2007 19:01:53 +0000 (19:01 +0000)]
Make ELLIPSIS a separate token. This makes it a syntax error to write ". .    ." for Ellipsis.

17 years agoRemove the deprecated and useless "pend" argument from
Georg Brandl [Sun, 18 Mar 2007 18:35:15 +0000 (18:35 +0000)]
Remove the deprecated and useless "pend" argument from
PyFloat_FromString. (fixes bug #1650903)

17 years agoUpdate the silly version number.
Guido van Rossum [Sun, 18 Mar 2007 16:10:35 +0000 (16:10 +0000)]
Update the silly version number.

17 years agoImplement PEP 3115 -- new metaclass syntax and semantics.
Guido van Rossum [Sun, 18 Mar 2007 15:41:51 +0000 (15:41 +0000)]
Implement PEP 3115 -- new metaclass syntax and semantics.
The compiler package hasn't been updated yet; test_compiler.py fails.
Otherwise all tests seem to be passing now.  There are no occurrences
of __metaclass__ left in the standard library.
Docs have not been updated.

17 years agoBug 1679498: remove unused instance variables _readable, _writable and
Guido van Rossum [Sun, 18 Mar 2007 03:42:15 +0000 (03:42 +0000)]
Bug 1679498: remove unused instance variables _readable, _writable and
_seekable.

17 years agoBug 1679498: unset variable 'bs'.
Guido van Rossum [Sun, 18 Mar 2007 03:36:28 +0000 (03:36 +0000)]
Bug 1679498: unset variable 'bs'.

17 years agoAdd some XXX comments and fix BufferedReader signature.
Guido van Rossum [Thu, 15 Mar 2007 18:59:31 +0000 (18:59 +0000)]
Add some XXX comments and fix BufferedReader signature.

17 years agoAdd Mike Verdone (co-author of io.py and PEP 3116).
Guido van Rossum [Thu, 15 Mar 2007 18:09:35 +0000 (18:09 +0000)]
Add Mike Verdone (co-author of io.py and PEP 3116).
Daniel Stutzbach (already in) is main author of _fileio.c.

17 years agoCheck the keys of the locals dict -- they need not be a list.
Georg Brandl [Mon, 12 Mar 2007 13:15:14 +0000 (13:15 +0000)]
Check the keys of the locals dict -- they need not be a list.

17 years agoPatch #1591665: implement the __dir__() special function lookup in PyObject_Dir.
Georg Brandl [Sat, 10 Mar 2007 22:13:27 +0000 (22:13 +0000)]
Patch #1591665: implement the __dir__() special function lookup in PyObject_Dir.

17 years agoAdd a missing forward declaration for PyFileIO_Type. The _fileio module now compiles...
Collin Winter [Thu, 8 Mar 2007 21:46:15 +0000 (21:46 +0000)]
Add a missing forward declaration for PyFileIO_Type. The _fileio module now compiles with --with-pydebug.

17 years agoMove test_unittest, test_doctest and test_doctest2 higher up in the test order
Collin Winter [Thu, 8 Mar 2007 19:54:43 +0000 (19:54 +0000)]
Move test_unittest, test_doctest and test_doctest2 higher up in the test order

17 years agoFix another unittest that broke due to dict views (more precisely, due
Guido van Rossum [Thu, 8 Mar 2007 01:17:51 +0000 (01:17 +0000)]
Fix another unittest that broke due to dict views (more precisely, due
to the cowboy way they are currently hacked in).

17 years agoFix embarrassing syntax mix.
Guido van Rossum [Thu, 8 Mar 2007 01:02:00 +0000 (01:02 +0000)]
Fix embarrassing syntax mix.

17 years agoCheck in Daniel Stutzbach's _fileio.c and test_fileio.py
Guido van Rossum [Thu, 8 Mar 2007 00:43:48 +0000 (00:43 +0000)]
Check in Daniel Stutzbach's _fileio.c and test_fileio.py
(see SF#1671314) with small tweaks.
The io module now uses this instead of its own implementation
of the FileIO class, if it can import _fileio.

17 years agoDelete TESTFN after the test.
Guido van Rossum [Wed, 7 Mar 2007 22:59:39 +0000 (22:59 +0000)]
Delete TESTFN after the test.

17 years agoChange the specs for readinto() -- it should *not* shorten the buffer to
Guido van Rossum [Wed, 7 Mar 2007 05:23:25 +0000 (05:23 +0000)]
Change the specs for readinto() -- it should *not* shorten the buffer to
the amount of data read.

17 years agoNew version from Mike Verdone (sat in my inbox since 2/27).
Guido van Rossum [Wed, 7 Mar 2007 01:00:12 +0000 (01:00 +0000)]
New version from Mike Verdone (sat in my inbox since 2/27).

I cleaned up whitespace but otherwise didn't change it.

This will need work to reflect the tentative decision to drop nonblocking I/O
support from the buffering layers.

17 years agoAddendum of patch #1669633: additional tests for bytes methods.
Georg Brandl [Tue, 6 Mar 2007 19:16:20 +0000 (19:16 +0000)]
Addendum of patch #1669633: additional tests for bytes methods.

18 years agoFinal part of SF# 1607548 by Tony Lownds: fix pydoc and inspect.
Guido van Rossum [Wed, 28 Feb 2007 22:03:49 +0000 (22:03 +0000)]
Final part of SF# 1607548 by Tony Lownds: fix pydoc and inspect.

18 years agoregenerated to reflect the addition of 'nonlocal' and removal of 'print'
Jack Diederich [Wed, 28 Feb 2007 20:21:30 +0000 (20:21 +0000)]
regenerated to reflect the addition of 'nonlocal' and removal of 'print'

18 years agoRegenerate symbol.py.
Guido van Rossum [Wed, 28 Feb 2007 00:40:24 +0000 (00:40 +0000)]
Regenerate symbol.py.
This fixes test_compiler, test_transformer, and test_parser.

18 years agoUse __builtin__, not __builtins__.
Brett Cannon [Wed, 28 Feb 2007 00:32:07 +0000 (00:32 +0000)]
Use __builtin__, not __builtins__.

18 years agoFix test_pep352 to deal with the removal of the 'exceptions' module.
Brett Cannon [Wed, 28 Feb 2007 00:01:43 +0000 (00:01 +0000)]
Fix test_pep352 to deal with the removal of the 'exceptions' module.

18 years agoFix off-by-one bug in memmove() call in bytes_insert().
Guido van Rossum [Tue, 27 Feb 2007 20:57:45 +0000 (20:57 +0000)]
Fix off-by-one bug in memmove() call in bytes_insert().
Fix by Pete Shinners (for his own bug :-).

18 years agoFix httplib for removal of slicing from exceptions.
Brett Cannon [Tue, 27 Feb 2007 20:16:38 +0000 (20:16 +0000)]
Fix httplib for removal of slicing from exceptions.

18 years agoCommit version bump.
Brett Cannon [Tue, 27 Feb 2007 20:16:01 +0000 (20:16 +0000)]
Commit version bump.

18 years agoSF patch #1670209, Remove Py_PROTO from socket by Pete Shinners.
Neal Norwitz [Tue, 27 Feb 2007 19:06:23 +0000 (19:06 +0000)]
SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners.

18 years agoSF patch #1669633, add methods for bytes from Pete Shinners.
Neal Norwitz [Tue, 27 Feb 2007 19:02:19 +0000 (19:02 +0000)]
SF patch #1669633, add methods for bytes from Pete Shinners.

18 years agoFix breakage from removing exceptions module
Neal Norwitz [Tue, 27 Feb 2007 18:58:52 +0000 (18:58 +0000)]
Fix breakage from removing exceptions module