summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Change the zipimport implementation to accept files containingThomas Heller2003-07-221-2/+7
| | | | | | | | | 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.
* Repair mis-application of Jeremy's patch. Thanks, Neal!Fred Drake2003-07-211-1/+1
|
* Fix memory leak reported & discussed on the Python XML-SIG mailing list.Fred Drake2003-07-211-5/+13
| | | | | This patch was provided by Jeremy Kloth, and corresponds to pyexpat.c 1.77 in the PyXML CVS.
* Merge 23c1-branch back into the head. Barry will send email about theTim Peters2003-07-211-4/+12
| | | | | | 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).
* Get socketmodule compiling on IRIX 6.5.10.Jeremy Hylton2003-07-171-2/+11
| | | | | | 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.
* Remove inaccurate (and it turns out, entirely superfluous) declarations ofMichael W. Hudson2003-07-171-4/+0
| | | | | | PyOS_InputHook and PyOS_ReadlineFunctionPointer). The inaccuracies were causing problems in framework builds on Mac OS X.
* Remove unused variable.Jeremy Hylton2003-07-171-2/+1
|
* heck environment closed status before closing a cursors. Fixes #763928.Martin v. Löwis2003-07-151-1/+8
|
* [Patch #708374] Only apply the check for file size if the file is a regular ↵Andrew M. Kuchling2003-07-151-1/+2
| | | | file, not a character or block device.
* SF patch #770521: make itertools type declarations staticRaymond Hettinger2003-07-141-24/+24
| | | | (Contributed by Andrew I MacIntyre.)
* The Unpickler forget about its find_class attribute.Jeremy Hylton2003-07-111-0/+3
|
* Fix [ 766669 ] Consistent GPF on exitMark Hammond2003-07-091-1/+1
| | | | | Use Py_AtExit instead of atexit so we are called during Py_Finalize() rather than during DLL teardown.
* bsddb 4.1.6:Gregory P. Smith2003-07-091-41/+110
| | | | | | | | | | | * Extended DB & DBEnv set_get_returns_none functionality to take a "level" instead of a boolean flag. The boolean 0 and 1 values still have the same effect. A value of 2 extends the "return None instead of raising an exception" behaviour to the DBCursor set methods. This will become the default behaviour in pybsddb 4.2. * Fixed a typo in DBCursor.join_item method that made it crash instead of returning a value. Obviously nobody uses it. Wrote a test case for join and join_item.
* typoSkip Montanaro2003-07-081-1/+1
|
* Fix a typo/cut-n-paste error in DBCursor.join_item so that it doesn'tGregory P. Smith2003-07-071-1/+1
| | | | | return a tuple. (this also implies that nobody uses this method; the bug has been here for a long time)
* Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macrosNeal Norwitz2003-07-012-3/+3
|
* Make temporary change of using _strptime for time.strptime permanent.Brett Cannon2003-07-011-41/+1
| | | | Flesh out docs to better explain time.strptime (closes bug #697990).