Commit Graph

3222 Commits

Author SHA1 Message Date
Anthony Baxter
dfcd95ccdc made the SGI INET_ADDRSTRLEN apply for any compiler on Irix. Both the
SGI compiler and GCC seem to need this.
2003-10-04 06:55:33 +00:00
Martin v. Löwis
fe16163388 Check for TclError when reading variables. Fixes #807314. 2003-10-03 17:11:45 +00:00
Martin v. Löwis
3c39f202ec Patch #813445: Add missing socket.IPPROTO_IPV6. 2003-10-03 13:55:37 +00:00
Gregory P. Smith
c52e257eb9 support for compiling with BerkeleyDB 4.2.x (soon to be released). this
is a partial version of the 1.18->1.19 patch.  i left out the ability for
the module to also load as _pybsddb in addition to _bsddb as that applies
more to pybsddb than python.
2003-09-21 23:10:23 +00:00
Gregory P. Smith
e9155da191 port of 1.17->1.18 change. adds DBEnv.set_shm_key method. 2003-09-21 23:06:20 +00:00
Martin v. Löwis
50999aa171 Patch #798145: Return correct information from nl_langinfo(RADIXCHAR). 2003-09-04 18:26:07 +00:00
Martin v. Löwis
e24c98a978 Use de_DE in example, change message for unknown locale. Fixes #797447. 2003-09-03 04:53:17 +00:00
Raymond Hettinger
617fc1758a SF patch #798534: Windows os.popen needlessly gets a reference to tuple ()
(Contributed by Andrew Gaul.)

Fixes a minor leak.
2003-09-01 22:34:31 +00:00
Raymond Hettinger
9ea45c88da * Add news item for the previous bugfix
* Backport itertoolsmodule.c 1.19 to re-sync Py2.3.1 with Py2.4.
2003-08-30 22:16:59 +00:00
Raymond Hettinger
21f819db86 For safety, replace a tuple entry before decreffing it. 2003-08-30 00:11:16 +00:00
Raymond Hettinger
2e61662290 SF bug #793826: using itertools.izip to mutate tuples
Avoid Armin Rigo's dastardly exercise in re-entrancy.
2003-08-29 23:13:16 +00:00
Raymond Hettinger
fcc69f1718 SF #784031: Byte-order bug in socket-module getaddrinfo.c 2003-08-17 21:29:32 +00:00
Raymond Hettinger
f45fe222d3 SF bug #770485: cStringIO does not set closed attr 2003-08-08 12:22:30 +00:00
Martin v. Löwis
a247191858 Release host name memory. Fixes #783312. 2003-08-07 11:56:23 +00:00
Raymond Hettinger
dc72e5683e Backport SF bug #782369: Massive memory leak in array module
Fixed leak caused by switching from PyList_GetItem to PySequence_GetItem.
Added missing NULL check.
Clarified code by converting an "if" to an "else if".
2003-08-06 06:55:09 +00:00
Mark Hammond
7fc99bd89b Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename.
Also checked in on trunk.
2003-08-06 02:47:57 +00:00
Martin v. Löwis
777f49b549 Patch #781722: Reject AF_INET6 if IPv6 is disabled. 2003-08-05 06:26:46 +00:00
Mark Hammond
9a71475e9e Fix [ 776721 ] locale.setlocale() leaks
Our saved locale was not being freed.  Also check correct variable for
NULL.
2003-07-24 14:15:07 +00:00
Thomas Heller
354e3d90d3 Change the zipimport implementation to accept files containing
arbitrary bytes before the actual zip compatible archive.  Zipfiles
containing comments at the end of the file are still not supported.

Add a testcase to test_zipimport, and update NEWS.

This closes sf #775637 and sf #669036.
2003-07-22 18:10:15 +00:00
Fred Drake
f239c6d537 Repair mis-application of Jeremy's patch. Thanks, Neal! 2003-07-21 17:22:43 +00:00
Fred Drake
7b6caffd70 Fix memory leak reported & discussed on the Python XML-SIG mailing list.
This patch was provided by Jeremy Kloth, and corresponds to pyexpat.c
1.77 in the PyXML CVS.
2003-07-21 17:05:56 +00:00
Tim Peters
6a627250d2 Merge 23c1-branch back into the head. Barry will send email about the
New Plan (releases to be made off the head, ongoing random 2.4 stuff
to be done on a short-lived branch, provided anyone is motivated enough
to create one).
2003-07-21 14:25:23 +00:00
Jeremy Hylton
fb509a36c8 Get socketmodule compiling on IRIX 6.5.10.
I don't think the fix here is very good, but I'm not sure what would
be better.  In particular, we should not be defining _SGIAPI, but lots
of things break if we remove it.
2003-07-17 16:58:48 +00:00
Michael W. Hudson
afd43b5512 Remove inaccurate (and it turns out, entirely superfluous) declarations of
PyOS_InputHook and PyOS_ReadlineFunctionPointer).

The inaccuracies were causing problems in framework builds on Mac OS X.
2003-07-17 16:26:58 +00:00
Jeremy Hylton
032fffefe6 Remove unused variable. 2003-07-17 15:56:07 +00:00