svn+ssh://pythondev@svn.python.org/python/trunk
........
r81566 | alexander.belopolsky | 2010-05-27 16:55:27 -0400 (Thu, 27 May 2010) | 3 lines
Issue #7150: Raise OverflowError if the result of adding or subtracting
timedelta from date or datetime falls outside of the MINYEAR:MAXYEAR range.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81241 | antoine.pitrou | 2010-05-17 01:11:46 +0200 (lun., 17 mai 2010) | 4 lines
Clear the OpenSSL error queue each time an error is signalled.
When the error queue is not emptied, strange things can happen on the next SSL call, depending on the OpenSSL version.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81098 | antoine.pitrou | 2010-05-12 01:42:28 +0200 (mer., 12 mai 2010) | 5 lines
Issue #8681: Make the zlib module's error messages more informative when
the zlib itself doesn't give any detailed explanation.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81007 | jean-paul.calderone | 2010-05-08 16:06:02 -0400 (Sat, 08 May 2010) | 1 line
Skip signal handler re-installation if it is not necessary. Issue 8354.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80926 | antoine.pitrou | 2010-05-07 18:50:34 +0200 (ven., 07 mai 2010) | 5 lines
Issue #8571: Fix an internal error when compressing or decompressing a
chunk larger than 1GB with the zlib module's compressor and decompressor
objects.
........
calling a foreign function. This allows to use the unmodified libffi
library.
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.
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80720 | antoine.pitrou | 2010-05-03 18:25:33 +0200 (lun., 03 mai 2010) | 5 lines
Issue #7865: The close() method of :mod:`io` objects should not swallow
exceptions raised by the implicit flush(). Also ensure that calling
close() several times is supported. Patch by Pascal Chambon.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80610 | antoine.pitrou | 2010-04-29 12:05:40 +0200 (jeu., 29 avril 2010) | 4 lines
Issue #7834: Fix connect() of Bluetooth L2CAP sockets with recent versions
of the Linux kernel. Patch by Yaniv Aknin.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80451 | antoine.pitrou | 2010-04-24 21:57:01 +0200 (sam., 24 avril 2010) | 4 lines
The do_handshake() method of SSL objects now adjusts the blocking mode of
the SSL structure if necessary (as other methods already do).
........
r80452 | antoine.pitrou | 2010-04-24 22:04:58 +0200 (sam., 24 avril 2010) | 4 lines
Issue #5103: SSL handshake would ignore the socket timeout and block
indefinitely if the other end didn't respond.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80392 | antoine.pitrou | 2010-04-23 01:33:02 +0200 (ven., 23 avril 2010) | 9 lines
Issue #8108: Fix the unwrap() method of SSL objects when the socket has
a non-infinite timeout. Also make that method friendlier with applications
wanting to continue using the socket in clear-text mode, by disabling
OpenSSL's internal readahead. Thanks to Darryl Miles for guidance.
Issue #8108: test_ftplib's non-blocking SSL server now has proper handling
of SSL shutdowns.
........
a non-infinite timeout. Also make that method friendlier with applications
wanting to continue using the socket in clear-text mode, by disabling
OpenSSL's internal readahead. Thanks to Darryl Miles for guidance.
Issue #8108: test_ftplib's non-blocking SSL server now has proper handling
of SSL shutdowns.
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80314 | antoine.pitrou | 2010-04-21 21:28:03 +0200 (mer., 21 avril 2010) | 5 lines
Issue #8484: Load all ciphers and digest algorithms when initializing
the _ssl extension, such that verification of some SSL certificates
doesn't fail because of an "unknown algorithm".
........
r80315 | antoine.pitrou | 2010-04-21 21:36:23 +0200 (mer., 21 avril 2010) | 3 lines
Forgot to add the sample certificate (followup to r80314)
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79661 | mark.dickinson | 2010-04-03 11:27:05 +0100 (Sat, 03 Apr 2010) | 14 lines
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.
........
- 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.
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79642 | benjamin.peterson | 2010-04-02 20:08:34 -0500 (Fri, 02 Apr 2010) | 1 line
split out large test function
........
r79644 | benjamin.peterson | 2010-04-02 20:28:57 -0500 (Fri, 02 Apr 2010) | 1 line
give TypeError when trying to set T_STRING_INPLACE
........
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.
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.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79448 | antoine.pitrou | 2010-03-26 20:27:16 +0100 (ven., 26 mars 2010) | 6 lines
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)
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75952 | georg.brandl | 2009-10-29 21:38:32 +0100 (Do, 29 Okt 2009) | 1 line
Use the correct function name in docstring.
........
r75953 | georg.brandl | 2009-10-29 21:39:50 +0100 (Do, 29 Okt 2009) | 1 line
Remove mention of the old -X command line switch.
........
r75955 | georg.brandl | 2009-10-29 21:54:03 +0100 (Do, 29 Okt 2009) | 1 line
Use a single style for all the docstrings in the math module.
........
r76105 | georg.brandl | 2009-11-04 08:38:12 +0100 (Mi, 04 Nov 2009) | 1 line
#7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.
........
r76143 | georg.brandl | 2009-11-07 09:26:07 +0100 (Sa, 07 Nov 2009) | 1 line
#7271: fix typo.
........
r76223 | georg.brandl | 2009-11-12 09:29:46 +0100 (Do, 12 Nov 2009) | 1 line
Give the profile module a module directive.
........
r76259 | georg.brandl | 2009-11-14 12:50:51 +0100 (Sa, 14 Nov 2009) | 1 line
Fix terminology.
........
r76326 | georg.brandl | 2009-11-16 17:44:05 +0100 (Mo, 16 Nov 2009) | 1 line
#7302: fix link.
........
r76376 | georg.brandl | 2009-11-18 20:39:14 +0100 (Mi, 18 Nov 2009) | 1 line
upcase Python
........
r76377 | georg.brandl | 2009-11-18 21:05:15 +0100 (Mi, 18 Nov 2009) | 1 line
Fix markup.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74052 | alexandre.vassalotti | 2009-07-17 10:09:04 +0200 (ven., 17 juil. 2009) | 3 lines
Fix GCC warning about fprintf used without a string literal and
without format arguments.
........
the error and continue).
Merged revisions 78826-78827 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78826 | victor.stinner | 2010-03-10 23:30:19 +0100 (mer., 10 mars 2010) | 5 lines
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.
........
r78827 | victor.stinner | 2010-03-10 23:45:04 +0100 (mer., 10 mars 2010) | 4 lines
ooops, fix error message in execusercustomize()
Copy/paste failure :-)
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78898 | victor.stinner | 2010-03-13 04:27:07 +0100 (sam., 13 mars 2010) | 7 lines
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:").
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78835 | victor.stinner | 2010-03-11 13:34:39 +0100 (jeu., 11 mars 2010) | 7 lines
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.
........
r78836 | victor.stinner | 2010-03-11 14:27:35 +0100 (jeu., 11 mars 2010) | 4 lines
Fix test_executable introduce in previous commit (r78835): Windows is able to
retrieve the absolute Python path even if argv[0] has been set to a non
existent program name.
........
r78837 | victor.stinner | 2010-03-11 14:46:06 +0100 (jeu., 11 mars 2010) | 3 lines
Another fix to test_executable() of test_sys: set the current working to avoid
the #7774 bug.
........
r78870 | victor.stinner | 2010-03-12 15:30:26 +0100 (ven., 12 mars 2010) | 1 line
NEWS: issue #7774 is related to Library (sys), not Core and Builtins
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78646 | victor.stinner | 2010-03-04 13:09:33 +0100 (jeu., 04 mars 2010) | 5 lines
Issue #1054943: Fix unicodedata.normalize('NFC', text) for the Public Review
Issue #29.
PR #29 was released in february 2004!
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78641 | victor.stinner | 2010-03-04 01:10:12 +0100 (jeu., 04 mars 2010) | 3 lines
Issue #7494: fix a crash in _lsprof (cProfile) after clearing the profiler,
reset also the pointer to the current pointer context.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78610 | victor.stinner | 2010-03-03 01:43:44 +0100 (mer., 03 mars 2010) | 3 lines
Issue #3299: fix thread.allocate_lock() error handler, replace PyObject_Del()
by Py_DECREF() to fix a crash in pydebug mode.
........
r78635 | victor.stinner | 2010-03-03 22:53:41 +0100 (mer., 03 mars 2010) | 5 lines
Issue #3299: fix curses.panel.new_panel() error handler, replace PyObject_DEL()
by Py_DECREF() to avoid a crash in pydebug mode.
Use po->wo==NULL to detect than the panel is in the lop list or not.
........
-- 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
-- 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
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:").
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.
(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.
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__.
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78596 | victor.stinner | 2010-03-02 23:44:42 +0100 (mar., 02 mars 2010) | 4 lines
Issue #2973: Fix gcc warning on the 2nd argument of ASN1_item_d2i() and
method->d2i(): OpenSSL API changed in OpenSSL 0.9.6m. Patch written by Daniel
Black.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78546 | gregory.p.smith | 2010-02-28 21:43:43 -0800 (Sun, 28 Feb 2010) | 3 lines
Fixes issue #7999: os.setreuid() and os.setregid() would refuse to accept
a -1 parameter on some platforms such as OS X.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78527 | gregory.p.smith | 2010-02-28 17:22:39 -0800 (Sun, 28 Feb 2010) | 4 lines
Issue #7242: On Solaris 9 and earlier calling os.fork() from within a
thread could raise an incorrect RuntimeError about not holding the import
lock. The import lock is now reinitialized after fork.
........
r78531 | gregory.p.smith | 2010-02-28 18:31:33 -0800 (Sun, 28 Feb 2010) | 2 lines
Fix for r78527. It left out updating forkpty.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78380 | thomas.heller | 2010-02-23 21:11:44 +0100 (Di, 23 Feb 2010) | 4 lines
ctypes CThunkObject was not registered correctly with the cycle
garbage collector, leading to possible leaks when using callback
functions.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78318 | andrew.kuchling | 2010-02-22 11:26:47 -0500 (Mon, 22 Feb 2010) | 1 line
#7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78189 | mark.dickinson | 2010-02-14 13:40:30 +0000 (Sun, 14 Feb 2010) | 1 line
Silence more 'comparison between signed and unsigned' warnings.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77970 | antoine.pitrou | 2010-02-04 21:20:18 +0100 (jeu., 04 févr. 2010) | 6 lines
Issue #4772: Raise a ValueError when an unknown Bluetooth protocol is
specified, rather than fall through to AF_PACKET (in the `socket` module).
Also, raise ValueError rather than TypeError when an unknown TIPC address
type is specified. Patch by Brian Curtin.
........
specified, rather than fall through to AF_PACKET (in the `socket` module).
Also, raise ValueError rather than TypeError when an unknown TIPC address
type is specified. Patch by Brian Curtin.
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of
ftruncate() and other truncation APIs. Patch by Pascal Chambon.
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines
Issue #7788: Fix a crash produced by deleting a list slice with huge
step value. Patch by Marcin Bachry.
........
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of
`ftruncate()` and other truncation APIs. Patch by Pascal Chambon.
module when the openssl version is too old to support them. That
leads both compiled code bloat and to unittests attempting to test
implementations that don't exist for comparison purposes on such
platforms.
- Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on
MacOSX.
- Make configure look for util.h as well as libutil.h. The former
is the header file that on OSX contains the defition of openpty.
(Needed to compile for OSX 10.4 on OSX 10.6)
- Use the correct definition of CC to compile the pythonw executable
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77506 | antoine.pitrou | 2010-01-15 01:18:00 +0100 (ven., 15 janv. 2010) | 4 lines
Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given a
1-byte argument. Patch by Victor Stinner.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77499 | antoine.pitrou | 2010-01-14 18:25:24 +0100 (jeu., 14 janv. 2010) | 4 lines
Issue #3299: Fix possible crash in the _sre module when given bad
argument values in debug mode. Patch by Victor Stinner.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77370 | antoine.pitrou | 2010-01-08 20:20:17 +0100 (ven., 08 janv. 2010) | 5 lines
Issue #7092: Remove py3k warning when importing cPickle. 2to3 handles
renaming of `cPickle` to `pickle`. The warning was annoying since there's
no alternative to cPickle if you care about performance. Patch by Florent
Xicluna.
........
renaming of `cPickle` to `pickle`. The warning was annoying since there's
no alternative to cPickle if you care about performance. Patch by Florent
Xicluna.
to hashlib functions in python 2.x. The module now uses the 's*' for argument
parsing which auto encodes unicode objects to the system default encoding for
us.
(the latter renamed to _PyLong_Frexp) now use the same core code. The
exponent produced by _PyLong_Frexp now has type Py_ssize_t instead of the
previously used int, and no longer needs scaling by PyLong_SHIFT. This
frees the math module from having to know anything about the PyLong
implementation. This closes issue #5576.
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77122 | amaury.forgeotdarc | 2009-12-29 23:03:38 +0100 (mar., 29 déc. 2009) | 3 lines
#7413: Passing '\0' as the separator to datetime.datetime.isoformat()
used to drop the time part of the result.
........
This is for consistency with imitation file objects like StringIO and BytesIO.
This commit also adds a few tests, where they were lacking for concerned
methods.
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76499 | alexandre.vassalotti | 2009-11-24 12:53:23 -0500 (Tue, 24 Nov 2009) | 9 lines
Issue 7128: Removed reference to the non-existent copyreg module.
The reference to copyreg was a unnoticed leftover from the compatibility
support for the grand renaming of the standard library in Python 3. The
compatibility support was reverted in r63493, but not completely as this
patch shows.
Based on a patch by Amaury Forgeot d'Arc.
........
The reference to copyreg was a unnoticed leftover from the compatibility
support for the grand renaming of the standard library in Python 3. The
compatibility support was reverted in r63493, but not completely as this
patch shows.
Based on a patch by Amaury Forgeot d'Arc.
properly, and use this to skip test_multiprocessing on platforms
where sem_open raises a signal. This should fix some FreeBSD buildbot
failures for test_multiprocessing.
Merged revisions 76071 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76071 | antoine.pitrou | 2009-11-02 21:47:33 +0100 (lun., 02 nov. 2009) | 4 lines
Add acceptance of long ints to test_memoryio.py
(in preparation for fix of #7249 in 2.6)
........
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:hread._count().
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75818 | antoine.pitrou | 2009-10-27 18:41:58 +0100 (mar., 27 oct. 2009) | 3 lines
Issue #7205: Fix a possible deadlock when using a BZ2File object from several threads at once.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75283 | mark.dickinson | 2009-10-08 16:54:10 +0100 (Thu, 08 Oct 2009) | 4 lines
Issue #7078: _struct.__doc__ was being ignored. Import it into struct.
Also add description of '?' struct format character. Thanks Gabriel
Genellina for the patch.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75570 | antoine.pitrou | 2009-10-20 23:29:37 +0200 (mar., 20 oct. 2009) | 6 lines
Issue #1722344: threading._shutdown() is now called in Py_Finalize(), which
fixes the problem of some exceptions being thrown at shutdown when the
interpreter is killed. Patch by Adam Olsen.
........
r75574 | antoine.pitrou | 2009-10-20 23:59:25 +0200 (mar., 20 oct. 2009) | 4 lines
Test wouldn't work in debug mode.
We probably need a function in test_support to handle this.
........
r75624 | antoine.pitrou | 2009-10-23 14:01:13 +0200 (ven., 23 oct. 2009) | 3 lines
Fix Windows buildbot failure
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75531 | antoine.pitrou | 2009-10-19 20:17:18 +0200 (lun., 19 oct. 2009) | 4 lines
Issue #5833: Fix extra space character in readline completion with the
GNU readline library version 6.0.
........
r75725 | antoine.pitrou | 2009-10-26 20:16:46 +0100 (lun., 26 oct. 2009) | 4 lines
Some platforms have rl_completion_append_character but not rl_completion_suppress_append.
Reported by Mark D.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75123 | philip.jenvey | 2009-09-28 21:32:44 -0700 (Mon, 28 Sep 2009) | 4 lines
#6990: clear threading.local's key only after its thread state is removed:
fixes local subclasses leaving old state around after a ref cycle GC which
could be recycled by new locals
........
to make sure it fell within [-1, 1] just in case someone implementing
strftime() in libc was stupid enough to assume this. Turns out, though, some
OSs (e.g. zOS) are stupid enough to use values outside of this range for time
structs created by the system itself. So instead of throwing a ValueError,
tm_isdst is now normalized before being passed to strftime().
Fixes issue #6823. Thanks Robert Shapiro for diagnosing the problem and
contributing an initial patch.
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75007 | antoine.pitrou | 2009-09-21 23:17:48 +0200 (lun., 21 sept. 2009) | 7 lines
Issue #6236, #6348: Fix various failures in the io module under AIX
and other platforms, when using a non-gcc compiler. Patch by egreen.
In addition, I made explicit the signedness of all bitfields in the
IO library.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74972 | ronald.oussoren | 2009-09-20 20:54:16 +0200 (Sun, 20 Sep 2009) | 5 lines
Merge a newer version of libffi_osx, based on the
version of libffi in OSX 10.6.1.
This fixes issue6918
........
to the libedit emulation of the readline API on OSX 10.5 or later.
This also adds a minimal testsuite for readline to check that the
history manipuation functions have the same interface with both
C libraries.
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74943 | georg.brandl | 2009-09-19 09:35:07 +0200 (Sa, 19 Sep 2009) | 1 line
#6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a SystemError is set. Also clean up another usage of PyArg_ParseTuple.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74921 | thomas.heller | 2009-09-18 22:05:44 +0200 (Fr, 18 Sep 2009) | 3 lines
Issue #4606: Passing 'None' if ctypes argtype is set to POINTER(...)
does now always result in NULL.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74841 | thomas.wouters | 2009-09-16 12:55:54 -0700 (Wed, 16 Sep 2009) | 23 lines
Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
acquiring the import lock around fork() calls. This prevents other threads
from having that lock while the fork happens, and is the recommended way of
dealing with such issues. There are two other locks we care about, the GIL
and the Thread Local Storage lock. The GIL is obviously held when calling
Python functions like os.fork(), and the TLS lock is explicitly reallocated
instead, while also deleting now-orphaned TLS data.
This only fixes calls to os.fork(), not extension modules or embedding
programs calling C's fork() directly. Solving that requires a new set of API
functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
warning explaining the problem to the documentation in the mean time.
This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
getting the import lock reallocated, seemingly to avoid this very same
problem. This is not the right approach, because the import lock is a
re-entrant one, and reallocating would do the wrong thing when forking while
holding the import lock.
Will backport to 2.6, minus the tiny AIX behaviour change.
........
acquiring the import lock around fork() calls. This prevents other threads
from having that lock while the fork happens, and is the recommended way of
dealing with such issues. There are two other locks we care about, the GIL
and the Thread Local Storage lock. The GIL is obviously held when calling
Python functions like os.fork(), and the TLS lock is explicitly reallocated
instead, while also deleting now-orphaned TLS data.
This only fixes calls to os.fork(), not extension modules or embedding
programs calling C's fork() directly. Solving that requires a new set of API
functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
warning explaining the problem to the documentation in the mean time.
This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
getting the import lock reallocated, seemingly to avoid this very same
problem. This is not the right approach, because the import lock is a
re-entrant one, and reallocating would do the wrong thing when forking while
holding the import lock.
Will backport to 2.6, minus the tiny AIX behaviour change.
occur when writing to a BufferedRandom object (e.g. a file opened in "rb+" or
"wb+" mode) after having buffered a certain amount of data for reading. This
bug was not present in the pure Python implementation.
Yes, this is a serious issue.
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74189 | amaury.forgeotdarc | 2009-07-23 21:26:02 +0200 (jeu., 23 juil. 2009) | 4 lines
#6553: crash in cPickle.load(), when given a StringIO with incomplete data.
Will backport to 2.6, 3.x already fixed a similar issue with issue4298.
........
PIPE_BUF is not defined on Windows, and probably has no meaning there.
Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)