| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
|
| |
|
|
|
|
| |
if default_factory is set to a bound method.
Backport of r60663.
|
| |
|
|
| |
type; this fix is already in the trunk.
|
| |
|
|
| |
by signals.
|
| |
|
|
|
|
|
|
| |
Merge this fix from the pybsddb tree:
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
what we should call [this wrapper only available on OS/2].
|
| | |
|
| |
|
|
|
| |
as the documentation says.
(backport from rev. 60322)
|
| |
|
|
|
| |
to not accept float types; the result was that integer-like objects
were not accepted.
|
| |
|
|
|
|
| |
Fix a potential 'SystemError: NULL result without error'.
NULL may be a valid return value from PyLong_AsVoidPtr.
Also move an older ctypes NEWS item in the correct category.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merged revisions 59925 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
........
r59925 | thomas.heller | 2008-01-11 20:34:06 +0100 (Fr, 11 Jan 2008) | 5 lines
Raise an error instead of crashing with a segfault when a NULL
function pointer is called.
Will backport to release25-maint.
........
|
| |
|
|
| |
LP64 platforms where attr_t isn't a C long
|
| | |
|
| | |
|
| |
|
|
| |
ctypes 1.0.3 will be also be released).
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
statement recompilation with no bound parameters lead to a segfault
- Backported a fix necessary because of an SQLite API change in version 3.5.
This prevents segfaults when executing empty queries, like our test suite
does.
|
| | |
|
| |
|
|
| |
* bump _bsddb patch version number.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Undoes incorrect dbtables fix and errant strdup introduced as
described below:
r58757 | gregory.p.smith | 2007-11-01 14:08:14 -0700 (Thu, 01 Nov 2007) | 4 lines
Fix bug introduced in revision 58385. Database keys could no longer
have NULL bytes in them. Replace the errant strdup with a
malloc+memcpy. Adds a unit test for the correct behavior.
r58758 | gregory.p.smith | 2007-11-01 14:15:36 -0700 (Thu, 01 Nov 2007) | 3 lines
Undo revision 58533 58534 fixes. Those were a workaround for
a problem introduced by 58385.
r58759 | gregory.p.smith | 2007-11-01 14:17:47 -0700 (Thu, 01 Nov 2007) | 2 lines
false "fix" undone as correct problem was found and fixed.
|
| | |
|
| |
|
|
| |
See also https://bugs.launchpad.net/bugs/72505.
|
| |
|
|
| |
on DBCursor.get (and a friends) when passing in a string key.
|
| | |
|
| |
|
|
|
| |
This code was broken if save() returned a negative number since i contained
a boolean value and then we compared i < 0 which should never be true.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
a readonly source.
|
| | |
|
| |
|
|
| |
(backport from rev. 56833)
|
| |
|
|
|
|
|
| |
read buffers.
Fixes #1730114.
(backport from rev. 56830)
|
| |
|
|
|
| |
Fix gb18030 codec's bug that doesn't map two-byte characters on
GB18030 extension in encoding. (bug reported by Bjorn Stabell)
|
| |
|
|
| |
represent the result in a single character.
|
| |
|
|
| |
Py_DECREF'd.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
........
r55896 | thomas.heller | 2007-06-11 17:58:33 +0200 (Mo, 11 Jun 2007) | 3 lines
Use "O&" in calls to PyArg_Parse when we need a 'void*' instead of "k"
or "K" codes.
........
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r55129 | thomas.heller | 2007-05-04 21:54:22 +0200 (Fr, 04 Mai 2007) | 3 lines
Do not truncate 64-bit pointers to 32-bit integers.
Fixes SF #1703286, will backport to release25-maint.
........
r55131 | thomas.heller | 2007-05-04 21:56:32 +0200 (Fr, 04 Mai 2007) | 1 line
Oops, these tests do not run on Windows CE.
........
|
| | |
|
| |
|
|
| |
Patch by Tim Delany (missing DECREF). SF #1731330.
|
| |
|
|
|
|
| |
Bug #1728403: Fix a bug that CJKCodecs StreamReader hangs when it
reads a file that ends with incomplete sequence and sizehint argument
for .read() is specified.
|
| |
|
|
|
|
|
|
|
| |
Different versions of Berkeley DB handle this differently.
The comments and bug report should have the details. Memory is allocated
in 4.4 (and presumably earlier), but not in 4.5. Thus
4.5 has the free error, but not earlier versions.
Mostly update comments, plus make the free conditional.
|
| |
|
|
|
| |
Whoops, need to pay attention to those test failures.
Move the clear to *before* the first use, not after.
|
| |
|
|
| |
SF bug #1721309: Clear data so random memory does not get freed.
|
| |
|
|
|
| |
Fix a segfault when b"" was passed to b2a_qp() -- it was using strchr()
instead of memchr().
|
| | |
|