Commit Graph

32503 Commits

Author SHA1 Message Date
Andrew M. Kuchling
a9e85bd446 [Bug #1562583] Mention the set_reuse_addr() method 2006-10-27 13:07:10 +00:00
Andrew M. Kuchling
e250562182 [Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by David Faure. 2006-10-26 19:11:42 +00:00
Anthony Baxter
2e96ffca7e Tagging for release of Python 2.4.4 2006-10-18 07:03:14 +00:00
Anthony Baxter
8022feed57 regenerating tag. v2.4.4 2006-10-18 07:02:36 +00:00
Martin v. Löwis
b499eec161 Bump buildno for 2.4.4. 2006-10-18 06:50:22 +00:00
Anthony Baxter
0d155570b6 Tagging for release of Python 2.4.4 2006-10-18 05:13:30 +00:00
Anthony Baxter
1fad0cdb36 preparing for 2.4.4 final 2006-10-17 16:07:57 +00:00
Anthony Baxter
5bc27d53fa - Bug #1578513: Cross compilation was broken by a change to configure.
Repair so that it's back to how it was in 2.4.3.

Needs to be forward-ported to 2.5 branch and trunk.
2006-10-17 16:03:36 +00:00
Anthony Baxter
2d3814e1eb Tagging for release of Python 2.4.4c1 2006-10-11 04:32:52 +00:00
Anthony Baxter
84332f91ee what month is it again? I get confused... v2.4.4c1 2006-10-10 17:28:33 +00:00
Anthony Baxter
126ba449b6 preparing for 2.4.4c1 2006-10-10 16:44:16 +00:00
Anthony Baxter
8bc45dbaf4 note the previous checkin 2006-10-10 16:43:06 +00:00
Tim Peters
c5e1e15117 Note that there are no longer warnings when building
_bsddb on Windows (Martin recently repaired that -- thanks!).
2006-10-10 16:42:09 +00:00
Anthony Baxter
3d62ffe0fa Backport 50567
#1494314: Fix a regression with high-numbered sockets in 2.4.3. This
means that select() on sockets > FD_SETSIZE (typically 1024) work again.
The patch makes sockets use poll() internally where available.
2006-10-10 16:20:41 +00:00
Martin v. Löwis
ad7dd884f0 Ignore libcmt, not msvcrt. 2006-10-10 13:50:39 +00:00
Anthony Baxter
f46d5d3351 Update distutils version number to match the library version number 2006-10-10 08:10:42 +00:00
Ronald Oussoren
6f2b80dd0a fix permission problem in the generated installer 2006-10-10 07:53:36 +00:00
Tim Peters
0af9b87953 Backport rev 51262 from trunk -- squashes a compiler warning on Windows
about truly wrong code.

Checkin comment from 51262:

Can't return NULL from a void function.  If there is a memory error,
about the best we can do is call PyErr_WriteUnraisable and go on.
We won't be able to do the call below either, so verify delstr is valid.
2006-10-09 23:37:58 +00:00
Tim Peters
99887e1430 Move fetching of encoding test files from the end of the
Windows builbot's "build" step to the start of its "test"
step.

This is poke-and-hope.  The hope is that compilation failures
on Windows will become visible to the buildbot (bsddb has
apparently been failing to compile in 2.4 on Windows "for
some time" now, but the buildbots haven't noticed that).
2006-10-09 23:18:44 +00:00
Tim Peters
2b37ea4087 Backport of the pieces of trunk rev 46589 relevant to
fixing an unlikely crash bug in dict resizing, SF
bug 1456209.

The rest of rev 46589 changes whether Python suppresses
exceptions during some dict-related comparisons.  While I
think that's a good idea, it does change visible behavior at
times, and there was already some complaining about that on
the trunk.  Not a good idea for backporting.  The part of
46589 checked in here can at worst stop segfaults, and I doubt
anyone will gripe about that ;-)
2006-10-09 20:24:45 +00:00
Martin v. Löwis
b8f82e6feb Backport r45505, r45573, r45576
- reset errno before calling confstr - use confstr() doc to simplify
  checks afterwards
- Correct implementation and documentation of os.confstr.  Add a simple
  test case.  I've yet to figure out how to provoke a None return I can test.
- Address issues brought up by MvL on python-checkins.
  I tested this with valgrind on amd64.

  The man pages I found for diff architectures are inconsistent on this.
  I'm not entirely sure this change is correct for all architectures
  either.

  Perhaps we should just over-allocate and not worry about it?

The change to return None instead of "" in case of unconfigured
values has not been backported.
2006-10-09 19:29:06 +00:00
Andrew M. Kuchling
2fafa251db [Partial backport of r45947 | neal.norwitz]
Fix problems found by Coverity.

longobject.c: also fix an ssize_t problem
  <a> could have been NULL, so hoist the size calc to not use <a>.

[The ssize_t change isn't needed for 2.4.  The other changes in this revision
 are to modules not present in 2.4. --amk]
2006-10-09 18:42:49 +00:00
Andrew M. Kuchling
cebdc5e373 [Partial backport of r45947 | neal.norwitz]
Fix problems found by Coverity.

_ssl.c: under fail: self is DECREF'd, but it would have been NULL.

_csv.c: I'm not sure if lineterminator could have been anything other than
a string.  However, other string method calls are checked, so check this
one too.
2006-10-09 18:30:13 +00:00
Andrew M. Kuchling
e0235ae1a9 [Backport r42951 | guido.van.rossum]
Fix three nits found by Coverity, adding null checks and comments.

[This commit only makes two changes.  One change in the original patch
 is just adding a comment, and another adds a 'base != NULL' check to
 silence Coverity, but a comment adds that that base is never going to
 be NULL.  I didn't backport that change. --amk]
2006-10-09 18:19:01 +00:00
Andrew M. Kuchling
2a3d88cf9a [Bug #1545341] Let the 'classifiers' parameter be a tuple as well as a list. 2006-10-09 17:15:39 +00:00