Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make ctypes compatible with Python 2.3, 2.4, and 2.5 again. | Thomas Heller | 2008-07-24 | 2 | -2/+16 |
| | |||||
* | Finish conversion from int to Py_ssize_t. | Raymond Hettinger | 2008-07-24 | 1 | -23/+23 |
| | |||||
* | Parse to the correct datatype. | Raymond Hettinger | 2008-07-24 | 1 | -1/+1 |
| | |||||
* | Finish-up the partial conversion from int to Py_ssize_t for deque indices ↵ | Raymond Hettinger | 2008-07-24 | 1 | -23/+24 |
| | | | | and length. | ||||
* | 3k-warn about parser's "ast" aliases. | Georg Brandl | 2008-07-23 | 1 | -5/+37 |
| | |||||
* | bsddb module updated to version 4.7.2devel9. | Jesus Cea | 2008-07-23 | 2 | -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 memory | Gregory P. Smith | 2008-07-22 | 3 | -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'Arc | 2008-07-21 | 1 | -0/+1 |
| | | | | | | CryptGenRandom. Since python doesn't provide any particular random data, it seems more reasonable anyway. | ||||
* | #3322: bounds checking for _json.scanstring | Bob Ippolito | 2008-07-19 | 1 | -2/+10 |
| | |||||
* | #3303: fix crash with invalid Py_DECREF in strcoll(). | Georg Brandl | 2008-07-19 | 1 | -1/+3 |
| | |||||
* | #3302: fix segfaults when passing None for arguments that can't | Georg Brandl | 2008-07-19 | 1 | -5/+9 |
| | | | | be NULL for the C functions. | ||||
* | #3312: fix two sqlite3 crashes. | Georg Brandl | 2008-07-16 | 2 | -3/+13 |
| | |||||
* | #3305: self->stream can be NULL. | Georg Brandl | 2008-07-16 | 1 | -2/+2 |
| | |||||
* | #1608818: errno can get set by every call to readdir(). | Georg Brandl | 2008-07-16 | 1 | -8/+10 |
| | |||||
* | Issue #3313: Contrary to the man page, a failed dlopen() call does not | Thomas Heller | 2008-07-15 | 2 | -2/+8 |
| | | | | always set a dlerror() message. | ||||
* | Issue #3258: Fix an assertion error (in debug build) and a crash (in | Thomas Heller | 2008-07-15 | 1 | -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 Coghlan | 2008-07-15 | 1 | -8/+1 |
| | | | | be blocked explicitly so that collections.Hashable remains meaningful | ||||
* | Fix posix.fork1() / os.fork1() to only call PyOS_AfterFork() in the child | Gregory P. Smith | 2008-07-14 | 1 | -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 Vassalotti | 2008-07-13 | 2 | -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 to | Robert Schuppenies | 2008-07-10 | 1 | -0/+1 |
| | | | | sys.getsizeof. | ||||
* | Issue 3301: Bisect functions behaved badly when lo was negative. | Raymond Hettinger | 2008-07-10 | 1 | -0/+8 |
| | |||||
* | Issue 3306. Better control for a lenght in findmax() function. | Facundo Batista | 2008-07-07 | 1 | -1/+1 |
| | |||||
* | Add commented out #_sha256 and #_sha512 lines per issue 3183. | Gregory P. Smith | 2008-07-07 | 1 | -2/+4 |
| | |||||
* | - Issue #3309: Fix bz2.BZFile itererator to release its internal lock | Gregory P. Smith | 2008-07-07 | 1 | -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_init | Gregory P. Smith | 2008-07-06 | 1 | -1/+0 |
| | |||||
* | - Issue #2862: Make int and float freelist management consistent with other | Gregory P. Smith | 2008-07-06 | 1 | -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 Batista | 2008-07-05 | 1 | -2/+0 |
| | |||||
* | Minor rewrite of cmath_log to work around a Sun compiler bug. See issue | Mark Dickinson | 2008-07-05 | 1 | -2/+4 |
| | | | | #3168. | ||||
* | Try a blind fix to nismodule which fails on the solaris10 3.0 buildbot: | Amaury Forgeot d'Arc | 2008-07-02 | 1 | -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'Arc | 2008-06-30 | 1 | -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 Batista | 2008-06-30 | 1 | -10/+14 |
| | |||||
* | various SSL fixes; issues 1251, 3162, 3212 | Bill Janssen | 2008-06-28 | 1 | -58/+145 |
| | |||||
* | Reverting the patch from #3165, as it broke other | Facundo Batista | 2008-06-25 | 1 | -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 Heller | 2008-06-23 | 1 | -2/+4 |
| | |||||
* | Fixing the problem stated in issue 2702 with the patch submitted | Facundo Batista | 2008-06-22 | 1 | -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 Brandl | 2008-06-22 | 1 | -12/+52 |
| | |||||
* | Issue 3164. Small fix to don't repeat a comparation | Facundo Batista | 2008-06-22 | 1 | -0/+2 |
| | | | | without necessity. | ||||
* | Issue #2722. Now the char buffer to support the path string has | Facundo Batista | 2008-06-22 | 1 | -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 comment | Mark Dickinson | 2008-06-20 | 1 | -1/+1 |
| | |||||
* | Fix comment typos | Andrew M. Kuchling | 2008-06-20 | 1 | -2/+2 |
| | |||||
* | Only include update_lines_cols() function when it's actually going to be used | Andrew M. Kuchling | 2008-06-19 | 1 | -0/+2 |
| | |||||
* | Fix double decref. | Raymond Hettinger | 2008-06-18 | 1 | -1/+0 |
| | |||||
* | Issue 3118: make test_math pass on Ubuntu/ia64. exp(-745.0) was raising | Mark Dickinson | 2008-06-17 | 1 | -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'Arc | 2008-06-14 | 1 | -2/+3 |
| | | | | because IPPROTO_IPV6 may be an enumeration member... | ||||
* | convert multiprocessing to unix line endings | Benjamin Peterson | 2008-06-13 | 4 | -870/+870 |
| | |||||
* | Make more symbols static. | Martin v. Löwis | 2008-06-13 | 5 | -11/+11 |
| | |||||
* | Typo. | Georg Brandl | 2008-06-13 | 1 | -1/+1 |
| | |||||
* | #3095: don't leak values from Py_BuildValue. | Georg Brandl | 2008-06-13 | 1 | -6/+9 |
| | |||||
* | Fix some memory dealloc problems when exceptions occur. | Neal Norwitz | 2008-06-13 | 1 | -8/+7 |
| | | | | It caused: "Fatal Python error: UNREF invalid object" in the DoubleTest. | ||||
* | Check for memory alloc failure | Neal Norwitz | 2008-06-13 | 1 | -0/+2 |
| |