summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* In order to fix SF bug # 824977, we replace calloc()/free() calls inBarry Warsaw2004-05-111-9/+16
| | | | | | | binascii_a2b_qp() and binascii_b2a_qp() with calls to PyMem_Malloc() and PyMem_Free(). These won't return NULL unless the allocations actually fail, so it won't trigger a bogus memory error on some platforms <cough>AIX</cough> when passed a length of zero.
* SF #832236: wrap a bunch of _EXPORT_INT calls in #ifdef's, toGreg Ward2004-05-111-0/+18
| | | | avoid breaking the build on MkLinux (Linux 2.0).
* SF #950057: itertools.chain doesn't "process" exceptions as they occurRaymond Hettinger2004-05-081-0/+12
| | | | | Both cycle() and chain() were handling exceptions only when switching input sources. The patch makes the handle more immediate.
* Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848.Martin v. Löwis2004-05-071-1/+1
|
* Fix [ 947405 ] os.utime() raises bad exception for unicode filenames.Mark Hammond2004-05-041-1/+6
|
* Special case normalization of empty strings. Fixes #924361.Martin v. Löwis2004-04-171-0/+7
|
* Backport to 2.3:Andrew MacIntyre2004-04-111-0/+4
| | | | | | | | | | Fixes for AF_UNIX support on OS/2: - return the full size of the sockaddr_un structure, without which bind() fails with EINVAL; - set test_socketserver to use a socket name that meets the form required by the underlying implementation; - don't bother exercising the forking AF_UNIX tests on EMX - its fork() can't handle the stress.
* Backport to 2.3 to support Zope 2.7 on OS/2:Andrew MacIntyre2004-04-041-4/+4
| | | | | | OS/2's TCP/IP stack supports AF_UNIX sockets, with the limitation that the socket name must start with /socket32/. Unlike Unix systems, this file never exists in the file system.
* Backport to 2.3 to support Zope 2.7 on OS/2:Andrew MacIntyre2004-04-041-0/+229
| | | | | | | | OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied with major C compilers (VACPP, EMX+gcc and [Open]Watcom). Also tidy up the export of spawn*() symbols in the os module to match what is found/implemented.
* OS/2 VACPP build updates/fixesAndrew MacIntyre2004-03-291-1/+1
|
* Added check for broken poll on OSes where it exists but sets errno forNicholas Bastin2004-03-221-6/+6
| | | | bad file descriptor. Fixes SF Bug #850981
* Backport checkin:Hye-Shik Chang2004-03-211-2/+6
| | | | [Bug #920575] Add a workaround for GNU libc nl_langinfo()'s returning NULL.
* fix bug related to SF bug id 788421 where DBC.set_range() could callGregory P. Smith2004-03-161-3/+11
| | | | free() on something it did not allocate for non B-Tree based databases.
* Fixes SF bsddb module bug 788421:Gregory P. Smith2004-02-261-2/+10
| | | | | | | | | * Fixed a bug in the compatibility interface set_location() method where it would not properly search to the next nearest key when used on BTree databases. [SF bug id 788421] * Fixed a bug in the compatibility interface set_location() method where it could crash when looking up keys in a hash or recno format database due to an incorrect free().
* Fix docstrings to mention the correct functionNeal Norwitz2004-02-161-2/+2
|
* pwd_getpwuid(), pwd_getpwnam(): Patch # 868499, improvement to the errorBarry Warsaw2004-01-201-2/+4
| | | | messages.
* grp_getgrgid(), grp_getgrnam(): Patch # 868499, improvement to the errorBarry Warsaw2004-01-201-2/+2
| | | | messages.
* Fix [ 846133 ] os.chmod/os.utime/shutil do not work with unicode filenamesMark Hammond2003-12-031-3/+50
|
* doc nitSkip Montanaro2003-12-021-1/+2
|
* Silence GCC warning when asserts are turned off.Guido van Rossum2003-11-241-2/+1
|
* Indented and repaired the maze of #ifdefs setting USE_RECURSION_LIMIT.Tim Peters2003-11-221-55/+58
| | | | | | | | | | | | | Indented because it was incomprehensible. "Repaired" means someone checked in a change that screwed up the multiple nesting levels, causing USE_RECURSION_LIMIT to stop getting defined on all non-LP64 boxes other than FreeBSD. Tried to repair that in a more-robust way. That error in turn caused a bogus change to get checked in to test_re.py, which I repaired earlier. This needs fresh testing on all non-Win32 platforms (Win32 never used USE_RECURSION_LIMIT, and still doesn't). Running the standard test_re.py is an adequate test.
* SF bug 839548: Bug in type's GC handling causes segfaults.Tim Peters2003-11-201-13/+129
| | | | | | | | Also SF patch 843455. This is a critical bugfix, backported from 2.4 development. I don't intend to backport beyond 2.3 maint. The bugs this fixes have been there since weakrefs were introduced.
* This commit was manufactured by cvs2svn to create branchcvs2svn2003-11-201-0/+107
| | | | 'release23-maint'.
* Patch #804543: strdup saved locales.Martin v. Löwis2003-11-131-1/+2
|
* Overallocate target buffer for normalization more early. Fixes #834676.Martin v. Löwis2003-11-061-5/+7
|
* Patch #787189: Explicitly define CTRL on SGI.Martin v. Löwis2003-10-311-0/+6
|
* Patch #788404: ignore "b" and "t" mode modifiers in posix_popen.Martin v. Löwis2003-10-311-0/+5
| | | | Fixes #703198.
* Patch #803998: Correctly check for error in SSL_write.Martin v. Löwis2003-10-271-2/+3
|
* Update to Expat 1.95.7; there are no changes to the Expat sources.Fred Drake2003-10-2112-1045/+500
|
* This commit was manufactured by cvs2svn to create branchcvs2svn2003-10-211-0/+104
| | | | 'release23-maint'.
* Patch #813391: Reduce limits for amd64 and sparc64.Martin v. Löwis2003-10-201-2/+7
|
* Backport checkin:Walter Dörwald2003-10-207-8/+8
| | | | | Fix a bunch of typos in documentation, docstrings and comments. (From SF patch #810751)
* made the SGI INET_ADDRSTRLEN apply for any compiler on Irix. Both theAnthony Baxter2003-10-041-4/+7
| | | | SGI compiler and GCC seem to need this.
* Check for TclError when reading variables. Fixes #807314.Martin v. Löwis2003-10-031-5/+9
|
* Patch #813445: Add missing socket.IPPROTO_IPV6.Martin v. Löwis2003-10-031-0/+3
|
* support for compiling with BerkeleyDB 4.2.x (soon to be released). thisGregory P. Smith2003-09-211-5/+32
| | | | | | 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.
* port of 1.17->1.18 change. adds DBEnv.set_shm_key method.Gregory P. Smith2003-09-211-0/+16
|
* Patch #798145: Return correct information from nl_langinfo(RADIXCHAR).Martin v. Löwis2003-09-041-0/+12
|
* Use de_DE in example, change message for unknown locale. Fixes #797447.Martin v. Löwis2003-09-031-2/+2
|
* SF patch #798534: Windows os.popen needlessly gets a reference to tuple ()Raymond Hettinger2003-09-011-3/+1
| | | | | | (Contributed by Andrew Gaul.) Fixes a minor leak.
* * Add news item for the previous bugfixRaymond Hettinger2003-08-301-6/+2
| | | | * Backport itertoolsmodule.c 1.19 to re-sync Py2.3.1 with Py2.4.
* For safety, replace a tuple entry before decreffing it.Raymond Hettinger2003-08-301-1/+3
|
* SF bug #793826: using itertools.izip to mutate tuplesRaymond Hettinger2003-08-291-2/+4
| | | | Avoid Armin Rigo's dastardly exercise in re-entrancy.
* SF #784031: Byte-order bug in socket-module getaddrinfo.cRaymond Hettinger2003-08-171-0/+1
|
* SF bug #770485: cStringIO does not set closed attrRaymond Hettinger2003-08-081-2/+22
|
* Release host name memory. Fixes #783312.Martin v. Löwis2003-08-071-6/+12
|
* Backport SF bug #782369: Massive memory leak in array moduleRaymond Hettinger2003-08-061-2/+7
| | | | | | 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".
* Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename.Mark Hammond2003-08-061-1/+1
| | | | Also checked in on trunk.
* Patch #781722: Reject AF_INET6 if IPv6 is disabled.Martin v. Löwis2003-08-051-0/+8
|
* Fix [ 776721 ] locale.setlocale() leaksMark Hammond2003-07-241-1/+3
| | | | | Our saved locale was not being freed. Also check correct variable for NULL.