cpython Log


Commit Date  
[f51dc9] by Armin Rigo Armin Rigo

oh dear. Wrong manipulation. Committed a version of ceval.c from my
no-cyclic-comparison patch at the same time as errors.c.

Reverting ceval.c to the previous revision.

2003-10-25 14:33:09 Tree
[74747f] by Armin Rigo Armin Rigo

Made function declaration a proper C prototype

2003-10-25 14:29:27 Tree
[eee07f] by Neal Norwitz Neal Norwitz

SF #829941, update tutorial, built-in types can be base classes since 2.2

2003-10-25 14:15:54 Tree
[3e3d53] by Alex Martelli Alex Martelli

document the performance fix to builtin_sum().

2003-10-25 13:02:57 Tree
[df9d8f] by Alex Martelli Alex Martelli

Changed builtin_sum to use PyNumber_InPlaceAdd (same semantics, but fixes
a performance bug in sum(manylists)), same as in 2.3 maintenance branch.

2003-10-25 12:49:56 Tree
[2d9871] by Raymond Hettinger Raymond Hettinger

Use PyArg_UnpackTuple() where possible.

2003-10-25 06:41:37 Tree
[95fd55] by Raymond Hettinger Raymond Hettinger

Improvements to coding for itertools.tee():

* Add error checking code to PyList_Append() call.

* Replace PyObject_CallMethod(to->outbasket, "pop", NULL) with equivalent
in-line code. Inlining is important here because the search for the
pop method will occur for every element returned by the iterator.

* Make tee's dealloc() a little smarter. If the trailing iterator is
being deallocated, then the queue data is no longer needed and can
be freed.

2003-10-25 06:37:47 Tree
[897afc] by Martin v. L?wis Martin v. L?wis

Patch #812378: Normalize white space.

2003-10-24 20:09:23 Tree
[a6879d] by Martin v. L?wis Martin v. L?wis

Patch #828384: Don't discard nested exception in AddObject.

2003-10-24 20:05:32 Tree
[e0841b] by Andrew M. Kuchling Andrew M. Kuchling

[Patch #772077 from Tim Rice] Fix for compiling the readline module on UnixWare; fix goofy comment indent. 2.3 bugfix candidate

2003-10-24 18:26:26 Tree
[279736] by Andrew M. Kuchling Andrew M. Kuchling

[Bug #822668] tarfile raises an exception if the tarfile is gzipped and is too large; the gzip filesize should be written out mod 2**32. (Reported by Johan Fredrik Ohman)

2003-10-24 17:38:34 Tree
[790ed5] by Armin Rigo Armin Rigo

Fixed bug introduced in revision 1.27

2003-10-24 17:15:29 Tree
[fe3f55] by Walter D?rwald Walter D?rwald

Fix a bug in the memory reallocation code of PyUnicode_TranslateCharmap().
charmaptranslate_makespace() allocated more memory than required for the
next replacement but didn't remember that fact, so memory size was growing
exponentially every time a replacement string is longer that one character.
This fixes SF bug #828737.

2003-10-24 14:25:28 Tree
[b948e7] by Raymond Hettinger Raymond Hettinger

Added itertools.tee()

It works like the pure python verion except:
* it stops storing data after of the iterators gets deallocated
* the data queue is implemented with two stacks instead of one dictionary.

2003-10-24 08:45:23 Tree
[48b9cc] by Guido van Rossum Guido van Rossum

- The pwd module incorrectly advertised its struct type as
struct_pwent; this has been renamed to struct_passwd. (The old name
is still supported for backwards compatibility.)

2003-10-23 23:54:57 Tree
[8fbb06] by Andrew M. Kuchling Andrew M. Kuchling

Record an item I missed and bump the version number. [2.3 bugfix candidate.]

2003-10-23 18:08:03 Tree
[0fe307] by Martin v. L?wis Martin v. L?wis

Patch #813200: Quote executable path on Windows. Fixes #811082.
Backported to 2.3.

2003-10-23 15:55:28 Tree
[f772d3] by Fred Drake Fred Drake

- add "Why is Python installed on my computer?" as a documentation FAQ
since this gets asked at the docs at python.org address a lot
- fix some minor style violations and inconsistencies

2003-10-23 14:33:46 Tree
[e0ec64] by Guido van Rossum Guido van Rossum

Remove unneeded import.

2003-10-22 17:22:18 Tree
[b6902c] by Raymond Hettinger Raymond Hettinger

Replace a reduce() with sum().

2003-10-22 16:49:01 Tree
2003-10-22 14:38:54 Tree
[8b2ead] by Andrew M. Kuchling Andrew M. Kuchling

[Part of patch #648322] Delete the poll2() function, which uses a 'poll' extension module that was once part of Medusa. Contributed by Kjetil Jacobsen

2003-10-22 14:38:27 Tree
[6914b5] by Andrew M. Kuchling Andrew M. Kuchling

[Bug #809174] loads() and dumps() not documented

2003-10-22 14:12:03 Tree
[d770dc] by Andrew M. Kuchling Andrew M. Kuchling

[Bug #758241] When you use asyncore with a non-default map, methods
of the dispatcher object break. e.g. if you close() the object, it
tries to remove itself from the default map, not from the map the
dispatcher was created with.

The patch, from Stephane Ninin, records the map as an attribute of
the dispatcher instance.

2.3 bugfix candidate.

2003-10-22 13:48:27 Tree
[1d92ec] by Fred Drake Fred Drake

Avoid confusing name for the 3rd argument to str.replace().
This closes SF bug #827260.

2003-10-22 02:56:40 Tree
Older >