summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Make ctypes compatible with Python 2.3, 2.4, and 2.5 again.Thomas Heller2008-07-242-2/+16
|
* Finish conversion from int to Py_ssize_t.Raymond Hettinger2008-07-241-23/+23
|
* Parse to the correct datatype.Raymond Hettinger2008-07-241-1/+1
|
* Finish-up the partial conversion from int to Py_ssize_t for deque indices ↵Raymond Hettinger2008-07-241-23/+24
| | | | and length.
* 3k-warn about parser's "ast" aliases.Georg Brandl2008-07-231-5/+37
|
* bsddb module updated to version 4.7.2devel9.Jesus Cea2008-07-232-530/+820
| | | | | | | | | | | | | This patch publishes the work done until now for Python 3.0 compatibility. Still a lot to be done. When possible, we use 3.0 features in Python 2.6, easing development and testing, and exposing internal changes to a wider audience, for better test coverage. Some mode details: http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.2
* Issue #2620: Overflow checking when allocating or reallocating memoryGregory P. Smith2008-07-223-2/+9
| | | | | | | | was not always being done properly in some python types and extension modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have all been updated to perform better checks and places in the code that would previously leak memory on the error path when such an allocation failed have been fixed.
* On Windows, silence a Purify warning and initialize the memory passed to ↵Amaury Forgeot d'Arc2008-07-211-0/+1
| | | | | | CryptGenRandom. Since python doesn't provide any particular random data, it seems more reasonable anyway.
* #3322: bounds checking for _json.scanstringBob Ippolito2008-07-191-2/+10
|
* #3303: fix crash with invalid Py_DECREF in strcoll().Georg Brandl2008-07-191-1/+3
|
* #3302: fix segfaults when passing None for arguments that can'tGeorg Brandl2008-07-191-5/+9
| | | | be NULL for the C functions.
* #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
|