cpython Log


Commit Date  
[e2d62d] by Martin v. L?wis Martin v. L?wis

Support sizehint in StringIO.readlines, as documented.

2000-09-19 11:07:44 Tree
[088230] by Martin v. L?wis Martin v. L?wis

Implement readlines function. Closes Bug #110686.

2000-09-19 11:06:46 Tree
[94ca87] by Tim Peters Tim Peters

Obscure marshal fixes:
When reading a short, sign-extend on platforms where shorts are
bigger than 16 bits.
When reading a long, repair the unportable sign extension that was
being done for 64-bit machines (it assumed that signed right shift
sign-extends).

2000-09-19 08:54:13 Tree
[a7813a] by Guido van Rossum Guido van Rossum

Patch #101121, by Ka-Ping Yee: cosmetic cleanup of cgi.py, using my
style conventions. (Ping has checkin privileges but apparently
ignores them at the moment.)

Ping improves a few doc strings and fixes style violations like foo ( bar ).

An addition of my own: rearrange the printing of various items in
test() so that the (long) environment comes at the end. This avoids
having to scroll if you want to see the current directory or command
line arguments.

2000-09-19 04:11:46 Tree
[3c5871] by Guido van Rossum Guido van Rossum

An honest attempt to make this work on Unix, Windows, and even
Macintosh (the latter untested).

This closes Bug #110839.

2000-09-19 04:01:01 Tree
[22011d] by Guido van Rossum Guido van Rossum

Only supply popen2, popen3 when fork exists.
(This avoids defining non-working versions of these on the Mac.)

2000-09-19 03:04:52 Tree
[756c8c] by Guido van Rossum Guido van Rossum

Make better use of GNU Pth -- patch by Andy Dustman.
I can't test this, so I'm just checking it in with blind faith in Andy.
I've tested that it doesn't broeak a non-Pth build on Linux.

Changes include:

- There's a --with-pth configure option.

- Instead of _GNU_PTH, we test for HAVE_PTH.

- Better signal handling.

- (The config.h.in file is regenerated in a slightly different order.)

2000-09-19 00:46:46 Tree
[df8d57] by Tim Peters Tim Peters

Updated Windows build info.

2000-09-19 00:38:35 Tree
[1b20ad] by Jeremy Hylton Jeremy Hylton

Do not close socket when a Content-Length is 0. This make the
interface consistent: The client is responsible for closing the
socket, regardless of the amount of data received.

Restore suport for set_debuglevel call.

2000-09-18 22:50:38 Tree
[0c6b9d] by Paul Prescod Paul Prescod

Test output that goes with updated test_minidom.

2000-09-18 20:44:15 Tree
[8db860] by Fred Drake Fred Drake

Fix serious typo!
Add the new constants to the module docstring.

2000-09-18 19:38:11 Tree
[a5b402] by Paul Prescod Paul Prescod

Change assertions to confirmations so that optimization doesn't disable
checks.

2000-09-18 19:07:26 Tree
[42c41d] by Fred Drake Fred Drake

Fix up the cleanup of the temporary DB so it works for BSD DB's
compatibility layer as well as "classic" ndbm.

2000-09-18 17:56:58 Tree
[080054] by Fred Drake Fred Drake

Reduce the number of imports needed.

Make the code conform better to the Python style guide.

2000-09-18 17:40:22 Tree
[157085] by Fred Drake Fred Drake

Document the "printable" and "punctuation" constants added to the string
module.

2000-09-18 16:48:13 Tree
[6fcf5a] by Fred Drake Fred Drake

Richard Mortier <rmm1002@users.sourceforge.net>:
Add the constants "printable" and "punctuation" to the string module.

2000-09-18 16:46:17 Tree
[f83840] by Fred Drake Fred Drake

Remove two unnecessary imports.

Update the module docstring to reflect the actual list of modules in the
xml.sax package.

Make the code better conform to the Python style guide.

2000-09-18 16:31:08 Tree
[d1ed30] by Fred Drake Fred Drake

Once we're done with the sys module, remove it from the namespace so
this module is "import *" safe.

2000-09-18 16:22:30 Tree
[2d6188] by Marc-Andr? Lemburg Marc-Andr? Lemburg

Deferred the attribute name object type checking to the underlying
PyObject_Set/GetAttr() calls.

This patch fixes bug #113829.

2000-09-18 16:22:27 Tree
[e7f73d] by Fred Drake Fred Drake

Add missing \declaremodule for zipfile.

2000-09-18 16:21:11 Tree
[983502] by Marc-Andr? Lemburg Marc-Andr? Lemburg

PyObject_SetAttr() and PyObject_GetAttr() now also accept Unicode
objects for the attribute name. Unicode objects are converted to
a string using the default encoding before trying the lookup.

Note that previously it was allowed to pass arbitrary objects as
attribute name in case the tp_getattro/setattro slots were defined.
This patch fixes this by applying an explicit string check first:
all uses of these slots expect string objects and do not check
for the type resulting in a core dump. The tp_getattro/setattro
are still useful as optimization for lookups using interned
string objects though.

This patch fixes bug #113829.

2000-09-18 16:20:57 Tree
[699fbb] by Tim Peters Tim Peters

Repaired some glitches in the MD5 and SHA docs; copied the descriptions of
the MD5 methods into the SHA docs (substituting "sha" for "md5", of course,
and changing the stuff that depended on digest size accordingly).
Fred, don't trust me!

2000-09-18 15:34:57 Tree
[686d3c] by Marc-Andr? Lemburg Marc-Andr? Lemburg

sys.setdefaultencoding() should only be called in case the standard
default encoding ("ascii") is changed. This safes quite a few cycles
during startup since the first call to .setdefaultencoding() will
initialize the codec registry and the encodings package.

See python-dev for a discussion (Subject: "[Python-Dev] [comp.lang.python] sys.setdefaultencoding (2.0b1)").

2000-09-18 11:06:00 Tree
[946709] by Jeremy Hylton Jeremy Hylton

satisfy the tabnanny

2000-09-18 01:46:01 Tree
[60029e] by Greg Ward Greg Ward

Catch up to recent changes in TextFile (spotted by Bastian Kleineidam).

2000-09-18 00:41:10 Tree
Older >