Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #2111: mmap segfaults when trying to write a block opened with PROT_READ | Christian Heimes | 2008-02-15 | 1 | -0/+4 |
| | | | | Thanks to Thomas Herve for the fix. | ||||
* | Implemented Martin's suggestion to clear the free lists during the garbage ↵ | Christian Heimes | 2008-02-14 | 1 | -0/+22 |
| | | | | collection of the highest generation. | ||||
* | Add pickle support to ctypes types. | Thomas Heller | 2008-02-13 | 4 | -1/+91 |
| | |||||
* | #2063: correct order of utime and stime in os.times() | Georg Brandl | 2008-02-13 | 1 | -2/+2 |
| | | | | result on Windows. | ||||
* | dict.copy() rises from the ashes. Revert r60687. | Raymond Hettinger | 2008-02-12 | 1 | -12/+2 |
| | |||||
* | Add -3 warnings that set.copy(), dict.copy(), and defaultdict.copy() will go ↵ | Raymond Hettinger | 2008-02-09 | 1 | -2/+12 |
| | | | | away in Py3.x | ||||
* | Update big5hkscs codec to conform to the HKSCS:2004 revision. | Hye-Shik Chang | 2008-02-08 | 2 | -1797/+1875 |
| | |||||
* | issue 2045: Infinite recursion when printing a subclass of defaultdict, | Amaury Forgeot d'Arc | 2008-02-08 | 1 | -1/+11 |
| | | | | | | if default_factory is set to a bound method. Will backport. | ||||
* | Make sure a switch statement does not have repetitive case statements. | Brett Cannon | 2008-02-07 | 1 | -0/+2 |
| | | | | Error found through LLVM post-2.1 svn. | ||||
* | Fixed refcounts and error handling. | Thomas Heller | 2008-02-06 | 1 | -8/+12 |
| | | | | Should not be merged to py3k branch. | ||||
* | Another int -> pid_t case | Christian Heimes | 2008-02-03 | 1 | -1/+2 |
| | |||||
* | Merge this fix from the pybsddb tree: | Gregory P. Smith | 2008-02-03 | 1 | -2/+6 |
| | | | | | | | r293 | jcea | 2008-01-31 01:08:19 -0800 (Thu, 31 Jan 2008) | 4 lines Solved memory leak when using cursors with databases without environment. | ||||
* | The wrapper function is supposed to be for spawnvpe() so that's | Andrew MacIntyre | 2008-02-03 | 1 | -2/+2 |
| | | | | | | what we should call [this wrapper only available on OS/2]. Backport candidate to 2.5. | ||||
* | Neaten-up a bit. | Raymond Hettinger | 2008-02-02 | 1 | -5/+1 |
| | |||||
* | More int -> pid_t. | Christian Heimes | 2008-02-01 | 1 | -11/+18 |
| | |||||
* | Move __builtins__.trunc() to math.trunc() per | Jeffrey Yasskin | 2008-02-01 | 1 | -0/+16 |
| | | | | | http://mail.python.org/pipermail/python-dev/2008-January/076626.html and issue 1965. | ||||
* | Fixed bug #1983: Return from fork() is pid_t, not int | Christian Heimes | 2008-01-31 | 1 | -6/+7 |
| | |||||
* | Revert rev. 59925, it breaks comtypes (I need to further examine this). | Thomas Heller | 2008-01-28 | 1 | -5/+0 |
| | |||||
* | static PyObject* variables should use PyString_InternFromString() instead of ↵ | Christian Heimes | 2008-01-28 | 2 | -5/+5 |
| | | | | PyObject_FromString() to store a python string in a function level static var. | ||||
* | Update to newer version of ffi. Fixes crashes and test failures of longdouble | Neal Norwitz | 2008-01-27 | 2 | -16/+48 |
| | |||||
* | Initialize variable to prevent warning on some platform/config. | Neal Norwitz | 2008-01-27 | 1 | -2/+2 |
| | |||||
* | Use int for the sign rather than a char. char can be signed or unsigned. | Neal Norwitz | 2008-01-27 | 1 | -1/+1 |
| | | | | It's system dependent. This might fix the problem with test_rfind failing. | ||||
* | Mostly reformat. Also set an error and return NULL if neither MS_WINDOWS | Neal Norwitz | 2008-01-27 | 1 | -15/+13 |
| | | | | nor UNIX is defined. This may have caused problems on cygwin. | ||||
* | Cleanup the code a bit. test_rfind is failing on PPC and PPC64 buildbots, | Neal Norwitz | 2008-01-26 | 1 | -7/+7 |
| | | | | this might fix the problem. | ||||
* | #1940: make it possible to use curses.filter() before curses.initscr() | Georg Brandl | 2008-01-26 | 1 | -1/+10 |
| | | | | as the documentation says. | ||||
* | setup.py doesn't pick up changes to a header file | Christian Heimes | 2008-01-25 | 1 | -4/+4 |
| | |||||
* | Backport of several functions from Python 3.0 to 2.6 including ↵ | Christian Heimes | 2008-01-25 | 1 | -0/+927 |
| | | | | | | | PyUnicode_FromString, PyUnicode_Format and PyLong_From/AsSsize_t. The functions are partly required for the backport of the bytearray type and _fileio module. They should also make it easier to port C to 3.0. First chapter of the Python 3.0 io framework back port: _fileio The next step depends on a working bytearray type which itself depends on a backport of the nwe buffer API. | ||||
* | Add prototypes to get the mathmodule.c to compile on OSF1 5.1 (Tru64) | Neal Norwitz | 2008-01-25 | 1 | -0/+5 |
| | | | | | and eliminate a compiler warning in floatobject.c. There might be a better way to go about this, but it should be good enough for now. | ||||
* | Invert the checks in get_[u]long and get_[u]longlong. The intent was | Thomas Heller | 2008-01-24 | 1 | -19/+15 |
| | | | | | | | to not accept float types; the result was that integer-like objects were not accepted. Ported from release25-maint. | ||||
* | Replace Py_BuildValue with PyTuple_Pack because it is faster. | Thomas Heller | 2008-01-24 | 1 | -7/+10 |
| | | | | Also add a missing DECREF. | ||||
* | Use a PyDictObject again for the array type cache; retrieving items | Thomas Heller | 2008-01-24 | 1 | -16/+137 |
| | | | | | | | | from the WeakValueDictionary was slower by nearly a factor of 3. To avoid leaks, weakref proxies for the array types are put into the cache dict, with weakref callbacks that removes the entries when the type goes away. | ||||
* | Fix misleading comment reported in issue #1917. | Guido van Rossum | 2008-01-23 | 1 | -1/+1 |
| | |||||
* | patch 1754489 by vlahan: | Armin Rigo | 2008-01-23 | 1 | -2/+2 |
| | | | | improve portability of address length calculation for AF_UNIX sockets | ||||
* | Use Py_TYPE() instead of ->ob_type | Christian Heimes | 2008-01-23 | 1 | -1/+1 |
| | |||||
* | Fix for #1087741 patch. | Georg Brandl | 2008-01-22 | 1 | -1/+1 |
| | |||||
* | Reformat some ugly code. | Georg Brandl | 2008-01-21 | 1 | -26/+39 |
| | |||||
* | Patch #1720595: add T_BOOL to the range of structmember types. | Georg Brandl | 2008-01-21 | 1 | -2/+5 |
| | | | | Patch by Angelo Mottola, reviewed by MvL, tests by me. | ||||
* | #1087741: make mmap.mmap the type of mmap objects, not a | Georg Brandl | 2008-01-21 | 1 | -20/+27 |
| | | | | factory function. Allow it to be subclassed. | ||||
* | Switch mmap from old Py_FindMethod to new PyObject_GenericGetAttr attribute ↵ | Georg Brandl | 2008-01-20 | 1 | -10/+36 |
| | | | | | | access. Fixes #1087735. | ||||
* | #1509: fix sqlite3 docstrings and docs w.r.t. cursor.fetchXXX methods. | Georg Brandl | 2008-01-19 | 1 | -3/+3 |
| | |||||
* | Patch #1019808 from Federico Schwindt: Return correct socket error when | Andrew M. Kuchling | 2008-01-19 | 1 | -9/+16 |
| | | | | | | | | a default timeout has been set, by using getsockopt() to get the error condition (instead of trying another connect() call, which seems to be a Linuxism). 2.5 bugfix candidate, assuming no one reports any problems with this change. | ||||
* | #1663329: add os.closerange() to close a range of fds, | Georg Brandl | 2008-01-19 | 1 | -0/+19 |
| | | | | | ignoring errors, and use this in subprocess to speed up subprocess creation in close_fds mode. Patch by Mike Klaas. | ||||
* | Patch #976880: add mmap .rfind() method, and 'end' paramter to .find(). | Andrew M. Kuchling | 2008-01-19 | 1 | -5/+34 |
| | | | | Contributed by John Lenton. | ||||
* | Silence Coverity false alerts with CIDs #172, #183, #184 | Christian Heimes | 2008-01-18 | 1 | -1/+2 |
| | |||||
* | Coverity CID #168 | Christian Heimes | 2008-01-18 | 1 | -0/+1 |
| | | | | leaked_storage: Returned without freeing storage "fp" | ||||
* | Coverity issue CID #182 | Christian Heimes | 2008-01-18 | 1 | -0/+10 |
| | | | | size_error: Allocating 1 bytes to pointer "children", which needs at least 4 bytes | ||||
* | Coverity issue CID #197 | Christian Heimes | 2008-01-18 | 1 | -0/+2 |
| | | | | | var_decl: Declared variable "stm" without initializer ninit_use_in_call: Using uninitialized value "stm" (field "stm".tm_zone uninitialized) in call to function "mktime" | ||||
* | clearcache() needs to remove the dict as well as clear it. | Raymond Hettinger | 2008-01-18 | 1 | -2/+1 |
| | |||||
* | Fix a function pointer declaration to silence the compiler. | Brett Cannon | 2008-01-17 | 1 | -1/+1 |
| | |||||
* | Make starmap() match its pure python definition and accept any itertable ↵ | Raymond Hettinger | 2008-01-17 | 1 | -3/+4 |
| | | | | input (not just tuples). |