summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* #3312: fix two sqlite3 crashes.Georg Brandl2008-07-162-3/+13
|
* #3305: self->stream can be NULL.Georg Brandl2008-07-161-2/+2
|
* #1608818: errno can get set by every call to readdir().Georg Brandl2008-07-161-8/+10
|
* Issue #3313: Contrary to the man page, a failed dlopen() call does notThomas Heller2008-07-152-2/+8
| | | | always set a dlerror() message.
* Issue #3258: Fix an assertion error (in debug build) and a crash (inThomas Heller2008-07-151-1/+12
| | | | | release build) when the format string of a pointer to an incomplete structure is created.
* Issue 2235: __hash__ is once again inherited by default, but inheritance can ↵Nick Coghlan2008-07-151-8/+1
| | | | be blocked explicitly so that collections.Hashable remains meaningful
* Fix posix.fork1() / os.fork1() to only call PyOS_AfterFork() in the childGregory P. Smith2008-07-141-1/+2
| | | | | | | | process rather than both parent and child. Does anyone actually use fork1()? It appears to be a Solaris thing but if Python is built with pthreads on Solaris, fork1() and fork() should be the same.
* Issue #3153: sqlite leaks on error.Alexandre Vassalotti2008-07-132-23/+12
| | | | Changed statements of the form Py_DECREF(obj), obj = 0 to Py_CLEAR(obj).
* Added garbage collector overhead and optional default return value toRobert Schuppenies2008-07-101-0/+1
| | | | sys.getsizeof.
* Issue 3301: Bisect functions behaved badly when lo was negative.Raymond Hettinger2008-07-101-0/+8
|
* Issue 3306. Better control for a lenght in findmax() function.Facundo Batista2008-07-071-1/+1
|
* Add commented out #_sha256 and #_sha512 lines per issue 3183.Gregory P. Smith2008-07-071-2/+4
|
* - Issue #3309: Fix bz2.BZFile itererator to release its internal lockGregory P. Smith2008-07-071-0/+1
| | | | | properly when raising an exception due to the bz2file being closed. Prevents a deadlock.
* fix issue3304 - remove an incorrect PyMem_Free in fileio_initGregory P. Smith2008-07-061-1/+0
|
* - Issue #2862: Make int and float freelist management consistent with otherGregory P. Smith2008-07-061-0/+2
| | | | | freelists. Changes their CompactFreeList apis into ClearFreeList apis and calls them via gc.collect().
* Issue 3289. Removed two lines that ended doing nothing.Facundo Batista2008-07-051-2/+0
|
* Minor rewrite of cmath_log to work around a Sun compiler bug. See issueMark Dickinson2008-07-051-2/+4
| | | | #3168.
* Try a blind fix to nismodule which fails on the solaris10 3.0 buildbot:Amaury Forgeot d'Arc2008-07-021-5/+8
| | | | the GIL must be re-acquired in the callback function
* #Issue3088 in-progress: Race condition with instances of classes derived ↵Amaury Forgeot d'Arc2008-06-301-1/+4
| | | | | | | | | | | | | from threading.local: When a thread touches such an object for the first time, a new thread-local __dict__ is created, and the __init__ method is run. But a thread switch can occur here; if the other thread touches the same object, it installs another __dict__; when the first thread resumes, it updates the dictionary of the second... This is the deep cause of the failures in test_multiprocessing involving "managers" objects. Also a 2.5 backport candidate.
* Fix #2702, with a correct accounting of recursion.Facundo Batista2008-06-301-10/+14
|
* various SSL fixes; issues 1251, 3162, 3212Bill Janssen2008-06-281-58/+145
|
* Reverting the patch from #3165, as it broke otherFacundo Batista2008-06-251-4/+0
| | | | | | | | | behaviours. I left the original test commented out (note that that test came from #2702, which seems to have a problem in FreeBSD and Windows, but not in Linux). I included a new test, to watch over the now-broken behaviour, I took it from #3179.
* Fix compilation on Windows.Thomas Heller2008-06-231-2/+4
|
* Fixing the problem stated in issue 2702 with the patch submittedFacundo Batista2008-06-221-0/+2
| | | | | in the issue 3165. Now cPickle does not fails with uncontrolled behaviour when pickling into a very deep nested structure.
* Expand docstrings of sqlite3 functions.Georg Brandl2008-06-221-12/+52
|
* Issue 3164. Small fix to don't repeat a comparationFacundo Batista2008-06-221-0/+2
| | | | without necessity.
* Issue #2722. Now the char buffer to support the path string hasFacundo Batista2008-06-221-5/+24
| | | | | not fixed length, it mallocs memory if needed. As a result, we don't have a maximum for the getcwd() method.
* Fix another typo in math_sum commentMark Dickinson2008-06-201-1/+1
|
* Fix comment typosAndrew M. Kuchling2008-06-201-2/+2
|
* Only include update_lines_cols() function when it's actually going to be usedAndrew M. Kuchling2008-06-191-0/+2
|
* Fix double decref.Raymond Hettinger2008-06-181-1/+0
|
* Issue 3118: make test_math pass on Ubuntu/ia64. exp(-745.0) was raisingMark Dickinson2008-06-171-3/+8
| | | | | OverflowError incorrectly on this platform, presumably as a result of the libm setting errno = ERANGE for this call.
* on windows, r64214 broke compilation with some recent SDKs,Amaury Forgeot d'Arc2008-06-141-2/+3
| | | | because IPPROTO_IPV6 may be an enumeration member...
* convert multiprocessing to unix line endingsBenjamin Peterson2008-06-134-870/+870
|
* Make more symbols static.Martin v. Löwis2008-06-135-11/+11
|
* Typo.Georg Brandl2008-06-131-1/+1
|
* #3095: don't leak values from Py_BuildValue.Georg Brandl2008-06-131-6/+9
|
* Fix some memory dealloc problems when exceptions occur.Neal Norwitz2008-06-131-8/+7
| | | | It caused: "Fatal Python error: UNREF invalid object" in the DoubleTest.
* Check for memory alloc failureNeal Norwitz2008-06-131-0/+2
|
* Restore support for Microsoft VC6 compiler.Amaury Forgeot d'Arc2008-06-133-14/+18
| | | | | | | Some functions in the msvcrt module are skipped, and socket.ioctl is enabled only when using a more recent Platform SDK. (and yes, there are still companies that use a 10-years old compiler)
* #1683 prevent forking from interfering in threading storageBenjamin Peterson2008-06-131-0/+1
| | | | This should prevent some test_multiprocessing failures
* Add future_builtins.ascii().Georg Brandl2008-06-111-0/+14
|
* Optimize previous checkin for heapq.Raymond Hettinger2008-06-111-1/+7
|
* Issue 3051: Let heapq work with either __lt__ or __le__.Raymond Hettinger2008-06-111-7/+6
|
* Merge in release25-maint r60793:Gregory P. Smith2008-06-1111-32/+240
| | | | | | Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code.
* add the multiprocessing package to fulfill PEP 371Benjamin Peterson2008-06-117-0/+2187
|
* More reverting of r63675 per the mailing list discussions. This restoresGregory P. Smith2008-06-101-2/+2
| | | | | occurances of PyBytes_ in the code to their original PyString_ names. The bytesobject.c file will be renamed back to stringobject.c in a future checkin.
* Add an optional 'offset' parameter to byref, defaultingto zero.Thomas Heller2008-06-101-4/+16
|
* #2536: fix itertools.permutations and itertools.combinations docstrings.Georg Brandl2008-06-101-3/+3
|
* Unhappy buildbots. Revert 64052. Long doubles have unexpected effects on ↵Raymond Hettinger2008-06-091-20/+24
| | | | some builds.