| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(backport from rev. 52529)
|
|
|
|
| |
(backport from rev. 52527)
|
|
|
|
|
| |
GNU modes.
(backport from rev. 52524)
|
|
|
|
|
| |
subprocess.
(backport from rev. 52522)
|
|
|
|
|
|
| |
fix all codecs file wrappers to work correctly with the "with"
statement (bug #1586513).
(backport from rev. 52517)
|
| |
|
|
|
|
| |
Don't inline Py_ADDRESS_IN_RANGE with gcc 4+ either.
|
|
|
|
| |
Prevent crash if alloc of garbage fails. Found by Typo.pl.
|
|
|
|
|
|
| |
Fix bug #1565514, SystemError not raised on too many nested blocks.
It seems like this should be a different error than SystemError, but
I don't have any great ideas and SystemError was raised in 2.4 and earlier.
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
Fix warnings with HP's C compiler. It doesn't recognize that infinite
loops are, um, infinite. These conditions should not be able to happen.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
(backport from rev. 52497)
|
|
|
|
| |
(backport from rev. 52488)
|
|
|
|
|
|
|
| |
not the posix error code; with test.
Fixes #1576174.
Backported from trunk, revision 52485.
|
|
|
|
|
|
|
|
| |
base64.encodestring() for encoding authentication data.
encodestring() can include newlines for very long input, which
produced broken HTTP headers.
2.4 backport candidate, probably.
|
|
|
|
| |
in its flush() method, causing an error
|
| |
|
|
|
|
| |
os.popen2, and the popen2 and commands modules
|
|
|
|
|
|
|
| |
sys.callstats() match its docstring.
Backport candidate. Though it's an API change, this is a pretty obscure
portion of the API.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Patch #1549049: Rewrite type conversion in structmember.
Fixes #1545696 and #1566140.
The new warnings have been omitted in the backport.
|
|
|
|
| |
Reported by David Faure.
|
|
|
|
| |
(backport from rev. 52431)
|
|
|
|
| |
for test_nis.
|
|
|
|
| |
ctypes isn't considered as requiring executable stacks.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
........
r51379 | thomas.heller | 2006-08-18 16:38:46 +0200 (Fr, 18 Aug 2006) | 6 lines
Add asserts to check for 'impossible' NULL values, with comments.
In one place where I'n not 1000% sure about the non-NULL, raise
a RuntimeError for safety.
This should fix the klocwork issues that Neal sent me. If so,
it should be applied to the release25-maint branch also.
........
r51401 | neal.norwitz | 2006-08-19 06:23:04 +0200 (Sa, 19 Aug 2006) | 4 lines
Move assert to after NULL check, otherwise we deref NULL in the assert.
Klocwork #307
........
r51819 | thomas.heller | 2006-09-07 20:56:28 +0200 (Do, 07 Sep 2006) | 5 lines
Anonymous structure fields that have a bit-width specified did not work,
and they gave a strange error message from PyArg_ParseTuple:
function takes exactly 2 arguments (3 given).
With tests.
........
r51820 | thomas.heller | 2006-09-07 21:09:54 +0200 (Do, 07 Sep 2006) | 4 lines
The cast function did not accept c_char_p or c_wchar_p instances
as first argument, and failed with a 'bad argument to internal function'
error message.
........
r52365 | thomas.heller | 2006-10-17 21:30:48 +0200 (Di, 17 Okt 2006) | 6 lines
ctypes callback functions only support 'fundamental' result types.
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.
Will backport to release25-maint.
........
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
(This had to be done with the command line:
svnmerge init -r 1:51333 -F c:\svn\trunk\Modules\_ctypes
because svnmerge isn't able to deduce the branch point r51333 and the
HEAD URL automatically in a subdirectory.)
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
- Bug #1578513: Cross compilation was broken by a change to configure.
Repair so that it's back to how it was in 2.4.3.
|
| |
|
| |
|
| |
|
|
|
|
| |
to CRLF instead.
|
| |
|
| |
|
|
|
|
| |
files in VC7.1 pythoncore.vcproj.
|
|
|
|
| |
(backport from rev. 52313)
|
|
|
|
| |
(backport from rev. 52311)
|
|
|
|
|
| |
about the case of filenames.
(backport from rev. 52309)
|
|
|
|
|
| |
(bug #1556261).
(backport from rev. 52307)
|
|
|
|
|
| |
embedded in the string to convert.
(backport from rev. 52305)
|