summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2001-07-12 12:43:11 (GMT)
committerThomas Wouters <thomas@python.org>2001-07-12 12:43:11 (GMT)
commit326191260150c36cb058d7e95e90b2f8323c6cc5 (patch)
tree5b2cdf85a937ed92285fa0d948a19c2fbe8a486d /Python/errors.c
parentd7fe69f30a7821020bb105d5722f1753933db0ee (diff)
downloadcpython-326191260150c36cb058d7e95e90b2f8323c6cc5.zip
cpython-326191260150c36cb058d7e95e90b2f8323c6cc5.tar.gz
cpython-326191260150c36cb058d7e95e90b2f8323c6cc5.tar.bz2
Net result of Tim's checkins 2.28 through 2.31:
- SF but #417587: compiler warnings compiling 2.1. Repaired *some* of the SGI compiler warnings Sjoerd Mullender reported. - Minor fiddling related to SF patch 416251 2.1c1 mmapmodule: unused vrbl cleanup - Fix the .find() method for memory maps. 1) it didn't obey the "start" parameter (and when it does, we must validate the value) 2) the return value needs to be an absolute index, rather than relative to some arbitrary point in the file (checking CVS, it appears this method never worked; these changes bring it into line with typical .find() behavior) - Fix new compiler warnings. Also boost "start" from (C) int to long and return a (C) long: PyArg_ParseTuple and Py_BuildValue may not let us get at the size_t we really want, but C int is clearly too small for a 64-bit box, and both the start parameter and the return value should work for large mapped files even on 32-bit boxes. The code really needs to be rethought from scratch (not by me, though ...).
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions