Commit Graph

5188 Commits

Author SHA1 Message Date
Antoine Pitrou 7c587bf53d Issue #8438: Remove reference to the missing "surrogateescape" encoding
error handler from the new IO library.
2010-04-19 18:52:43 +00:00
Antoine Pitrou 0a6373c1a9 Issue #8322: Add a *ciphers* argument to SSL sockets, so as to change the
available cipher list.  Helps fix test_ssl with OpenSSL 1.0.0.
2010-04-17 17:10:38 +00:00
Benjamin Peterson b7b7c77eb3 add space 2010-04-15 21:42:16 +00:00
Antoine Pitrou bba8f2d10a Revert temporary commit in r79937 2010-04-10 23:32:12 +00:00
Antoine Pitrou 16e026cc94 Temporary commit of fix to issue #5380 (in order to watch buildbot response) 2010-04-10 22:43:05 +00:00
Philip Jenvey cdd98fb463 fix PYTHONWARNINGS handling to not modify the original env value and improve
its tests
2010-04-10 20:27:15 +00:00
Antoine Pitrou 343314a11c Revert r79915 (temporary commit to check for buildbots -> the fix was successful) 2010-04-09 22:41:31 +00:00
Antoine Pitrou 9c6cd56e91 Temporarily commit fix to issue #8108, to check for buildbot response 2010-04-09 21:00:36 +00:00
Antoine Pitrou 92719c546f SSL_MODE_AUTO_RETRY has been added in OpenSSL 0.9.6. Fix compilation
with earlier versions.
2010-04-09 20:38:39 +00:00
Jeroen Ruigrok van der Werven 422c7423b8 FreeBSD is not a sysv platform, so use freebsd.S instead of sysv.S (as is
also the case in FreeBSD's port of libffi).

Reviewed by: dickinsm
2010-04-07 14:33:37 +00:00
Martin v. Löwis 16ea548f69 Issue #8314: Fix unsigned long long bug in libffi on Sparc v8. 2010-04-07 11:01:46 +00:00
Philip Jenvey aebbaeb962 #7301: add the environment variable $PYTHONWARNINGS to supplement the -W
command line option
patch from Brian Curtin
2010-04-06 23:24:45 +00:00
Benjamin Peterson 3a1dfa21c2 remove a optimization that resulted in unexpected behavior #8929 2010-04-06 21:50:00 +00:00
Benjamin Peterson e266d3e804 ready _sre types 2010-04-06 03:34:09 +00:00
Antoine Pitrou f9de534c21 Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,
using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO`
and `ssl.OPENSSL_VERSION_NUMBER`.
2010-04-05 21:35:07 +00:00
Philip Jenvey 034b0acdd3 fix escape_encode to return the correct consumed size 2010-04-05 02:51:51 +00:00
Mark Dickinson 4f185228b0 A handful of whitespace fixes in Modules/_struct.c. 2010-04-04 21:19:35 +00:00
Mark Dickinson fdaaa9c9d8 Issue #8300 (__index__ handling in struct.pack): Remove redundant check
and improve test coverage.  Thanks Meador Inge for the patch.
2010-04-04 08:43:04 +00:00
Raymond Hettinger 5f516edd77 Add count() method to collections.deque(). 2010-04-03 18:10:37 +00:00
Mark Dickinson 4846a8e828 Issue #8300: Let struct.pack use __index__ to convert and pack non-integers.
Based on a patch by Meador Inge.
2010-04-03 14:05:10 +00:00
Brian Curtin ae509520de Add missing return statement in an error condition. 2010-04-03 13:58:39 +00:00
Mark Dickinson b05dc00fb7 Fix a couple of issues with the test_structmembersType class in _testcapimodule
- rename to _test_structmembersType to avoid the class being automatically
   called by test_capi

 - allow space for trailing NUL in inplace_member field of all_structmembers

 - use T_STRING_INPLACE instead of T_INPLACE_STRING as keyword argument
   to _test_structmembersType initializer

 - don't attempt to initialize inplace_member field if T_STRING_INPLACE
   argument wasn't supplied.
2010-04-03 10:27:05 +00:00
Benjamin Peterson 1c7c11ef61 give TypeError when trying to set T_STRING_INPLACE 2010-04-03 01:28:57 +00:00
Brian Curtin e5aa886b44 Implement #1220212. Add os.kill support for Windows.
os.kill takes one of two newly added signals, CTRL_C_EVENT and
CTRL_BREAK_EVENT, or any integer value. The events are a special case
which work with subprocess console applications which implement a
special console control handler. Any other value but those two will
cause os.kill to use TerminateProcess, outright killing the process.

This change adds win_console_handler.py, which is a script to implement
SetConsoleCtrlHandler and applicable handler function, using ctypes.

subprocess also gets another attribute which is a necessary flag to
creationflags in Popen in order to send the CTRL events.
2010-04-02 23:26:06 +00:00
Larry Hastings 3b958e3b57 Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is
a socket option available on FreeBSD 7.1 and newer.
2010-04-02 11:18:17 +00:00
Thomas Heller b102ddadcb Revert rev. 79509; ctypes doesn't build on linux. 2010-03-30 20:57:06 +00:00
Thomas Heller 5006ba0fef Merged revisions 79115,79424,79491 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/branch_libffi-3_0_10-win

........
  r79115 | thomas.heller | 2010-03-19 22:14:47 +0100 (Fr, 19 Mrz 2010) | 7 lines

  Work in progress.  2 tests fail on x86/win32 because the stack
  checking code in ffi_call_win32 is not yet implemented.

  Remove most files from _ctypes/libffi_msvc, only two include files
  stay (updated from _ctypes/libffi/...).  Other files are used in the
  cross-platform _ctypes/libffi directory.
........
  r79424 | thomas.heller | 2010-03-25 19:28:02 +0100 (Do, 25 Mrz 2010) | 1 line

  Build _ctypes on Win64.
........
  r79491 | thomas.heller | 2010-03-29 21:30:33 +0200 (Mo, 29 Mrz 2010) | 4 lines

  On Windows, ctypes does no longer check the stack before and after
  calling a foreign function.
  This allows to use the unmodified libffi library.
........
2010-03-30 19:46:23 +00:00
Antoine Pitrou eee91cda80 Issue #8222: Enable the SSL_MODE_AUTO_RETRY flag on SSL sockets, so that blocking
reads and writes are always retried by OpenSSL itself.

(this is a followup to issue #3890)
2010-03-26 19:27:16 +00:00
Victor Stinner c1f842b532 Fix a gcc warning introduced by r79397. 2010-03-25 01:18:38 +00:00
Larry Hastings 402b73fb8d Backported PyCapsule from 3.1, and converted most uses of
CObject to PyCapsule.
2010-03-25 00:54:54 +00:00
Victor Stinner 53ff86ea5f Fix _curses.tiget*() functions: deny None to avoid a crash.
Fix the following calls: _curses.tigetflag(None), _curses.tigetnum(None),
_curses.tigetstr(None).
2010-03-25 00:51:58 +00:00
Ezio Melotti 0d0b80bc3e Link specifically to the UCD version 5.2.0. 2010-03-23 00:38:12 +00:00
Ezio Melotti ae735a763e Update the version number of the Unicode Database in a few more places. 2010-03-22 23:07:32 +00:00
Florent Xicluna eba2aca4bd Preserve backward compatibility of the ctypes module.
"This file should be kept compatible with Python 2.3, see PEP 291."
2010-03-22 16:36:51 +00:00
Florent Xicluna 9e7a4c9738 Issue #7703: ctypes supports both buffer() and memoryview(). The former is deprecated.
Complement of r79288.
2010-03-22 16:07:38 +00:00
Jesus Cea 6557aac599 pybsddb 4.8.4 integration. Please, comment in issue #8156 2010-03-22 14:22:26 +00:00
Matthias Klose 67e37f2ec2 update libffi to commit 59a259f4d348f593b45f452309f4d020a28051c4 from the
trunk (adding msvc port).
2010-03-19 18:59:20 +00:00
Matthias Klose 4854c969fb Generate libffi's Makefiles again to be able to run the libffi testsuite
-- Diese und die folgenden Zeilen werden ignoriert --

M    _ctypes/libffi/configure
M    _ctypes/libffi/configure.ac
M    _ctypes/libffi/aclocal.m4
M    _ctypes/libffi.diff
2010-03-19 17:46:33 +00:00
Matthias Klose e9fbf2b943 - Issue #1039, #8154: Fix os.execlp() crash with missing 2nd argument. 2010-03-19 14:45:06 +00:00
Florent Xicluna 2e0a53fdf6 Issue #8024: Update the Unicode database to 5.2 2010-03-18 21:50:06 +00:00
Antoine Pitrou d7b731d160 Issue #8104: socket.recv_into() and socket.recvfrom_into() now support
writing into objects supporting the new buffer API, for example bytearrays
or memoryviews.
2010-03-17 22:45:39 +00:00
Matthias Klose 54cc539a2b - Issue #6949: Allow the _bsddb extension to be built with db-4.8.x. 2010-03-15 12:46:18 +00:00
Matthias Klose d72ca858a6 Backport from the libffi trunk:
2010-02-15  Matthias Klose  <doko@ubuntu.com>

        * src/arm/sysv.S (__ARM_ARCH__): Define for processor
        __ARM_ARCH_7EM__.
2010-03-15 00:36:18 +00:00
Matthias Klose 817acef0e6 - Issue #8142: Update libffi to the 3.0.9 release.
-- Diese und die folgenden Zeilen werden ignoriert --

M    Misc/NEWS
A    Modules/_ctypes/libffi/m4
A    Modules/_ctypes/libffi/m4/ltsugar.m4
A    Modules/_ctypes/libffi/m4/libtool.m4
A    Modules/_ctypes/libffi/m4/ltversion.m4
A    Modules/_ctypes/libffi/m4/lt~obsolete.m4
A    Modules/_ctypes/libffi/m4/ltoptions.m4
A    Modules/_ctypes/libffi/ChangeLog.libffi
M    Modules/_ctypes/libffi/configure
M    Modules/_ctypes/libffi/Makefile.in
M    Modules/_ctypes/libffi/fficonfig.h.in
M    Modules/_ctypes/libffi/src/arm/sysv.S
M    Modules/_ctypes/libffi/src/powerpc/ffitarget.h
M    Modules/_ctypes/libffi/src/powerpc/aix.S
M    Modules/_ctypes/libffi/src/powerpc/ffi.c
M    Modules/_ctypes/libffi/src/powerpc/sysv.S
M    Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c
M    Modules/_ctypes/libffi/src/powerpc/aix_closure.S
A    Modules/_ctypes/libffi/src/closures.c
D    Modules/_ctypes/libffi/src/darwin/ffitarget.h
M    Modules/_ctypes/libffi/src/sh64/ffi.c
M    Modules/_ctypes/libffi/src/sh64/sysv.S
M    Modules/_ctypes/libffi/src/x86/ffi64.c
M    Modules/_ctypes/libffi/src/x86/ffitarget.h
M    Modules/_ctypes/libffi/src/x86/win32.S
M    Modules/_ctypes/libffi/src/x86/darwin.S
M    Modules/_ctypes/libffi/src/x86/ffi.c
M    Modules/_ctypes/libffi/src/x86/sysv.S
A    Modules/_ctypes/libffi/src/x86/win64.S
M    Modules/_ctypes/libffi/src/x86/unix64.S
A    Modules/_ctypes/libffi/src/types.c
A    Modules/_ctypes/libffi/src/avr32
A    Modules/_ctypes/libffi/src/avr32/ffitarget.h
A    Modules/_ctypes/libffi/src/avr32/ffi.c
A    Modules/_ctypes/libffi/src/avr32/sysv.S
M    Modules/_ctypes/libffi/src/frv/ffi.c
M    Modules/_ctypes/libffi/src/s390/sysv.S
M    Modules/_ctypes/libffi/src/pa/ffi.c
A    Modules/_ctypes/libffi/src/raw_api.c
A    Modules/_ctypes/libffi/src/java_raw_api.c
A    Modules/_ctypes/libffi/src/debug.c
M    Modules/_ctypes/libffi/src/sparc/ffi.c
M    Modules/_ctypes/libffi/src/sparc/v8.S
M    Modules/_ctypes/libffi/src/mips/ffitarget.h
M    Modules/_ctypes/libffi/src/mips/n32.S
M    Modules/_ctypes/libffi/src/mips/o32.S
M    Modules/_ctypes/libffi/src/mips/ffi.c
A    Modules/_ctypes/libffi/src/dlmalloc.c
M    Modules/_ctypes/libffi/src/sh/ffi.c
M    Modules/_ctypes/libffi/src/sh/sysv.S
AM   Modules/_ctypes/libffi/depcomp
AM   Modules/_ctypes/libffi/compile
M    Modules/_ctypes/libffi/config.guess
AM   Modules/_ctypes/libffi/ltmain.sh
M    Modules/_ctypes/libffi/config.sub
AM   Modules/_ctypes/libffi/mdate-sh
M    Modules/_ctypes/libffi/configure.ac
A    Modules/_ctypes/libffi/doc
A    Modules/_ctypes/libffi/doc/libffi.texi
A    Modules/_ctypes/libffi/doc/stamp-vti
A    Modules/_ctypes/libffi/doc/libffi.info
A    Modules/_ctypes/libffi/doc/version.texi
A    Modules/_ctypes/libffi/texinfo.tex
A    Modules/_ctypes/libffi/man
A    Modules/_ctypes/libffi/man/ffi_call.3
A    Modules/_ctypes/libffi/man/Makefile.in
A    Modules/_ctypes/libffi/man/ffi.3
A    Modules/_ctypes/libffi/man/Makefile.am
A    Modules/_ctypes/libffi/man/ffi_prep_cif.3
A    Modules/_ctypes/libffi/ChangeLog.libgcj
M    Modules/_ctypes/libffi/LICENSE
M    Modules/_ctypes/libffi/include/ffi.h.in
M    Modules/_ctypes/libffi/include/Makefile.in
M    Modules/_ctypes/libffi/include/ffi_common.h
M    Modules/_ctypes/libffi/include/Makefile.am
A    Modules/_ctypes/libffi/libtool-version
A    Modules/_ctypes/libffi/ChangeLog
A    Modules/_ctypes/libffi/testsuite
A    Modules/_ctypes/libffi/testsuite/Makefile.in
A    Modules/_ctypes/libffi/testsuite/libffi.call
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/stret_medium.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/struct1.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_uc.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/struct3.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/nested_struct1.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/struct5.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/err_bad_abi.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/nested_struct3.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/nested_struct5.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_double.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/struct7.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_sl.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/nested_struct7.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/struct9.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_sint.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/nested_struct9.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_pointer.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/many_win32.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_20byte1.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_fl.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/many.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/strlen.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_3byte2.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_ldl.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/stret_large.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_9byte1.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_19byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_float.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/closure_fn1.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/problem1.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_fl1.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/closure_fn3.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_dbl2.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_sshort.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_fl3.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/closure_fn5.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_double.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_2byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/promotion.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/nested_struct.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/float2.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/nested_struct10.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_ll1.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_4byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/float4.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_6byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_longdouble.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/huge_struct.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_8byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_double_va.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_sc.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/float.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_20byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_float.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/struct2.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/struct4.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/nested_struct2.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_24byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/struct6.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/nested_struct4.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/struct8.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/nested_struct6.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/testclosure.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/nested_struct8.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_64byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_ul.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_uint.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/strlen_win32.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/stret_large2.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_dbl.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_schar.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_uchar.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_ll.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_12byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_3byte1.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/ffitest.h
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_16byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_18byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/closure_fn0.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_9byte2.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_dbl1.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/closure_fn2.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/closure_stdcall.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/return_fl2.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/stret_medium2.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/closure_fn4.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/negint.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_ushort.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/call.exp
A    Modules/_ctypes/libffi/testsuite/libffi.call/closure_fn6.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/float1.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/float3.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_5byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_7byte.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c
A    Modules/_ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c
A    Modules/_ctypes/libffi/testsuite/config
A    Modules/_ctypes/libffi/testsuite/config/default.exp
A    Modules/_ctypes/libffi/testsuite/lib
A    Modules/_ctypes/libffi/testsuite/lib/target-libpath.exp
A    Modules/_ctypes/libffi/testsuite/lib/wrapper.exp
A    Modules/_ctypes/libffi/testsuite/lib/libffi-dg.exp
A    Modules/_ctypes/libffi/testsuite/Makefile.am
A    Modules/_ctypes/libffi/testsuite/libffi.special
A    Modules/_ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc
A    Modules/_ctypes/libffi/testsuite/libffi.special/unwindtest.cc
A    Modules/_ctypes/libffi/testsuite/libffi.special/special.exp
A    Modules/_ctypes/libffi/testsuite/libffi.special/ffitestcxx.h
M    Modules/_ctypes/libffi/README
A    Modules/_ctypes/libffi/libffi.pc.in
M    Modules/_ctypes/libffi/Makefile.am
M    Modules/_ctypes/libffi/missing
A    Modules/_ctypes/libffi/ChangeLog.v1
M    Modules/_ctypes/libffi/aclocal.m4
M    Modules/_ctypes/libffi.diff
2010-03-15 00:02:36 +00:00
Ezio Melotti eb6d430041 Silence compiler warnings. 2010-03-13 04:39:51 +00:00
Victor Stinner 6e055d78e1 sqlite3: Fix a segfault on calling a connection with something else than a
string. Initialize all attributes to be able to call the statement destructor
on error.

Avoid also a duplicate connection in some tests: setUp() does already open a
connection (":memory:").
2010-03-13 03:27:07 +00:00
Florent Xicluna e2e81e8fcd Fix repr of tree Element on windows. 2010-03-11 15:55:11 +00:00
Florent Xicluna 3e8c189faa Issue #6472: The xml.etree package is updated to ElementTree 1.3. The cElementTree module is updated too. 2010-03-11 14:36:19 +00:00
Victor Stinner 4a7e0c858c Issue #7774: Set sys.executable to an empty string if argv[0] has been
set to an non existent program name and Python is unable to retrieve the real
program name.

Fix also sysconfig: if sys.executable is an empty string, use the current
working directory.
2010-03-11 12:34:39 +00:00
Victor Stinner 6664426d7c Issue #3137: Don't ignore errors at startup, especially a keyboard interrupt
(SIGINT). If an error occurs while importing the site module, the error is
printed and Python exits. Initialize the GIL before importing the site
module.
2010-03-10 22:30:19 +00:00