| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fix SF #1688393, sock.recvfrom(-24) crashes
Also fix some method names that were copied incorrectly (trunk fixed).
|
|
|
|
|
|
| |
the C lib's clock() is used, but it must be divided by CLOCKS_PER_SEC
as for the POSIX implementation (thanks to #pypy).
(backport from rev. 54606)
|
|
|
|
|
|
|
| |
overflows the valid Py_ssize_t range. Check return values of
PyMem_Malloc.
Backported from trunk.
|
|
|
|
| |
question (well, two months too late).
|
|
|
|
|
| |
The code in this patch leaves no way to give up the ownership of a
BSTR instance.
|
|
|
|
|
| |
error in spite of a succesful compression.
(backport from rev. 54336)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r54248 | thomas.heller | 2007-03-09 21:39:22 +0100 (Fr, 09 Mär 2007) | 7 lines
Bug #1651235: When a tuple was passed to a ctypes function call,
Python would crash instead of raising an error.
The crash was caused by a section of code that should have been
removed long ago, at that time ctypes had other ways to pass
parameters to function calls.
........
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r54244 | thomas.heller | 2007-03-09 20:21:28 +0100 (Fr, 09 Mär 2007) | 3 lines
Fix bug #1646630: ctypes.string_at(buf, 0) and ctypes.wstring_at(buf, 0)
returned string up to the first NUL character.
........
|
|
|
|
|
|
| |
Patch for bug #1633621: if curses.resizeterm() or
curses.resize_term() is called, update _curses.LINES,
_curses.COLS, curses.LINES and curses.COLS.
|
|
|
|
|
| |
of Py_ssize_t.
(backport from rev. 54177)
|
|
|
|
|
| |
fractional times. With unittest.
(backport from rev. 54167 by Guido)
|
|
|
|
| |
(backport from rev. 54160)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(backport from rev. 53579)
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
........
r53556 | thomas.heller | 2007-01-25 19:34:14 +0100 (Do, 25 Jan 2007) | 3 lines
Fix for #1643874: When calling SysAllocString, create a PyCObject
which will eventually call SysFreeString to free the BSTR resource.
........
|
|
|
|
| |
certain versions of readline are being used
|
|
|
|
|
| |
types.
(backport from rev. 53509)
|
|
|
|
|
|
|
| |
be true if we didn't malloc the code? Seems like the code is wrong
or could use comments.
Also verify if the buildbots are working properly for the 2.5 branch.
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
........
r53466 | thomas.heller | 2007-01-17 10:40:34 +0100 (Mi, 17 Jan 2007) | 2 lines
Replace C++ comments with C comments.
........
|
| |
|
| |
|
|
|
|
| |
[backport of r53252]
|
|
|
|
| |
to avoid relying on atexit.
|
|
|
|
|
| |
Fix SF bug #1545837: array.array borks on deepcopy. array.__deepcopy__()
needs to take an argument, even if it doesn't actually use it.
|
|
|
|
| |
offsets > 2Gb
|
|
|
|
| |
the sock_addr_t storage out of the socket object.
|
|
|
|
|
|
|
| |
The contents of ffi_darwin.c must be compiled unless __APPLE__ is
defined and __ppc__ is not.
Backport from trunk.
|
|
|
|
| |
Backport from trunk.
|
|
|
|
|
|
|
|
|
| |
Bug #1599782: Fix segfault on bsddb.db.DB().type().
The problem is that _DB_get_type() can't be called without the GIL
because it calls a bunch of PyErr_* APIs when an error occurs.
There were no other cases in this file that it was called without the GIL.
Removing the BEGIN/END THREAD around _DB_get_type() made everything work.
|
|
|
|
|
|
| |
a2b_qp() function, instead leave it in the string as quopri.decode()
does.
(backport from rev. 52765)
|
|
|
|
| |
Replace C++ comment with C comment (fixes SF bug #1593525).
|
|
|
|
|
| |
Fix crash in test on HP-UX. Apparently, it's not possible to delete a lock if
it's held (even by the current thread).
|
|
|
|
|
|
|
|
| |
Add some asserts. In sysmodule, I think these were to try to silence
some warnings from Klokwork. They verify the assumptions of the format
of svn version output.
The assert in the thread module helped debug a problem on HP-UX.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Patch #1549049: Rewrite type conversion in structmember.
Fixes #1545696 and #1566140.
The new warnings have been omitted in the backport.
|
|
|
|
| |
ctypes isn't considered as requiring executable stacks.
|
|
|
|
|
|
| |
Merge rev 52377 from trunk:
newIobject(): repaired incorrect cast to quiet MSVC warning.
|
|
|
|
|
|
|
|
| |
Check this and raise an error when something else is used - before
this change ctypes would hang or crash when such a callback was
called. This is a partial fix for #1574584.
Backported from trunk.
|
| |
|
|
|
|
|
|
| |
arguments with the system default encoding just like the write()
method does, instead of converting it to a raw buffer.
(backport from rev. 52301)
|
| |
|
| |
|
|
|
|
|
| |
Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
when encoding non-BMP unicode characters. (Submitted by Ray Chason)
|
|
|
|
| |
the 2.5 maintainance branch. This fixes build problems with visual studio 2005, and cleans up profile guided optimization.
|
|
|
|
|
|
|
|
| |
with this change.]
Cause a PyObject_Malloc() failure to trigger a MemoryError, and then
add 'if (PyErr_Occurred())' checks to various places so that NULL is
returned properly.
|