summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Revert r79915 (temporary commit to check for buildbots -> the fix was ↵Antoine Pitrou2010-04-091-35/+6
| | | | successful)
* Temporarily commit fix to issue #8108, to check for buildbot responseAntoine Pitrou2010-04-091-6/+35
|
* SSL_MODE_AUTO_RETRY has been added in OpenSSL 0.9.6. Fix compilationAntoine Pitrou2010-04-091-0/+2
| | | | with earlier versions.
* FreeBSD is not a sysv platform, so use freebsd.S instead of sysv.S (as isJeroen Ruigrok van der Werven2010-04-071-1/+1
| | | | | | also the case in FreeBSD's port of libffi). Reviewed by: dickinsm
* Issue #8314: Fix unsigned long long bug in libffi on Sparc v8.Martin v. Löwis2010-04-071-0/+4
|
* #7301: add the environment variable $PYTHONWARNINGS to supplement the -WPhilip Jenvey2010-04-061-0/+11
| | | | | command line option patch from Brian Curtin
* remove a optimization that resulted in unexpected behavior #8929Benjamin Peterson2010-04-061-8/+0
|
* ready _sre typesBenjamin Peterson2010-04-061-2/+3
|
* Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,Antoine Pitrou2010-04-051-1/+29
| | | | | using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO` and `ssl.OPENSSL_VERSION_NUMBER`.
* fix escape_encode to return the correct consumed sizePhilip Jenvey2010-04-051-4/+5
|
* A handful of whitespace fixes in Modules/_struct.c.Mark Dickinson2010-04-041-20/+20
|
* Issue #8300 (__index__ handling in struct.pack): Remove redundant checkMark Dickinson2010-04-041-6/+1
| | | | and improve test coverage. Thanks Meador Inge for the patch.
* Add count() method to collections.deque().Raymond Hettinger2010-04-031-0/+42
|
* Issue #8300: Let struct.pack use __index__ to convert and pack non-integers.Mark Dickinson2010-04-031-11/+39
| | | | Based on a patch by Meador Inge.
* Add missing return statement in an error condition.Brian Curtin2010-04-031-1/+1
|
* Fix a couple of issues with the test_structmembersType class in _testcapimoduleMark Dickinson2010-04-031-10/+17
| | | | | | | | | | | | | - 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.
* give TypeError when trying to set T_STRING_INPLACEBenjamin Peterson2010-04-031-3/+14
|
* Implement #1220212. Add os.kill support for Windows.Brian Curtin2010-04-022-0/+61
| | | | | | | | | | | | | | 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.
* Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB isLarry Hastings2010-04-021-0/+3
| | | | a socket option available on FreeBSD 7.1 and newer.
* Revert rev. 79509; ctypes doesn't build on linux.Thomas Heller2010-03-3016-299/+2018
|
* Merged revisions 79115,79424,79491 via svnmerge fromThomas Heller2010-03-3016-2018/+299
| | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* Issue #8222: Enable the SSL_MODE_AUTO_RETRY flag on SSL sockets, so that ↵Antoine Pitrou2010-03-261-2/+1
| | | | | | | | blocking reads and writes are always retried by OpenSSL itself. (this is a followup to issue #3890)
* Fix a gcc warning introduced by r79397.Victor Stinner2010-03-251-1/+1
|
* Backported PyCapsule from 3.1, and converted most uses ofLarry Hastings2010-03-2515-46/+240
| | | | CObject to PyCapsule.
* Fix _curses.tiget*() functions: deny None to avoid a crash.Victor Stinner2010-03-251-3/+3
| | | | | Fix the following calls: _curses.tigetflag(None), _curses.tigetnum(None), _curses.tigetstr(None).
* Link specifically to the UCD version 5.2.0.Ezio Melotti2010-03-231-1/+2
|
* Update the version number of the Unicode Database in a few more places.Ezio Melotti2010-03-221-5/+4
|
* Preserve backward compatibility of the ctypes module.Florent Xicluna2010-03-221-0/+11
| | | | "This file should be kept compatible with Python 2.3, see PEP 291."
* Issue #7703: ctypes supports both buffer() and memoryview(). The former is ↵Florent Xicluna2010-03-221-4/+13
| | | | | | deprecated. Complement of r79288.
* pybsddb 4.8.4 integration. Please, comment in issue #8156Jesus Cea2010-03-222-240/+2672
|
* update libffi to commit 59a259f4d348f593b45f452309f4d020a28051c4 from theMatthias Klose2010-03-1933-448/+1403
| | | | trunk (adding msvc port).
* Generate libffi's Makefiles again to be able to run the libffi testsuiteMatthias Klose2010-03-194-375/+7592
| | | | | | | | | -- 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
* - Issue #1039, #8154: Fix os.execlp() crash with missing 2nd argument.Matthias Klose2010-03-191-0/+5
|
* Issue #8024: Update the Unicode database to 5.2Florent Xicluna2010-03-182-18020/+20394
|
* Issue #8104: socket.recv_into() and socket.recvfrom_into() now supportAntoine Pitrou2010-03-171-17/+29
| | | | | writing into objects supporting the new buffer API, for example bytearrays or memoryviews.
* - Issue #6949: Allow the _bsddb extension to be built with db-4.8.x.Matthias Klose2010-03-151-3/+26
|
* Backport from the libffi trunk:Matthias Klose2010-03-151-1/+2
| | | | | | | 2010-02-15 Matthias Klose <doko@ubuntu.com> * src/arm/sysv.S (__ARM_ARCH__): Define for processor __ARM_ARCH_7EM__.
* - Issue #8142: Update libffi to the 3.0.9 release.Matthias Klose2010-03-15212-28062/+57788
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- 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
* Silence compiler warnings.Ezio Melotti2010-03-131-8/+8
|
* sqlite3: Fix a segfault on calling a connection with something else than aVictor Stinner2010-03-131-0/+6
| | | | | | | | 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:").
* Fix repr of tree Element on windows.Florent Xicluna2010-03-111-7/+8
|
* Issue #6472: The xml.etree package is updated to ElementTree 1.3. The ↵Florent Xicluna2010-03-111-253/+506
| | | | cElementTree module is updated too.
* Issue #7774: Set sys.executable to an empty string if argv[0] has beenVictor Stinner2010-03-111-1/+1
| | | | | | | | 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.
* Issue #3137: Don't ignore errors at startup, especially a keyboard interruptVictor Stinner2010-03-101-4/+10
| | | | | | (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.
* Silence compiler warning.Mark Dickinson2010-03-071-1/+4
|
* Issue #1530559: When packing a non-integer with any integer conversionMark Dickinson2010-03-071-12/+52
| | | | | | | | | code using struct.pack, attempt to convert to an integer first using the argument's __int__ method (if present). Also raise a DeprecationWarning for any such usage of __int__. This fixes a regression from 2.6, where some (but not all) integer conversion codes already used __int__.
* Remove the redundant #define: PY_STRUCT_FLOAT_COERCEMark Dickinson2010-03-051-13/+0
|
* Fix incorrect stacklevel for DeprecationWarnings originating from the struct ↵Mark Dickinson2010-03-051-1/+1
| | | | | | | module. Also clean up related tests in test_struct. The stacklevel fix should be backported to 2.6 once that branch is unfrozen.
* Merged code from pysqlite 2.6.0.Gerhard Häring2010-03-0517-65/+323
|
* Issue #1054943: Fix unicodedata.normalize('NFC', text) for the Public ReviewVictor Stinner2010-03-041-1/+1
| | | | | | Issue #29. PR #29 was released in february 2004!