Thomas Heller
b102ddadcb
Revert rev. 79509; ctypes doesn't build on linux.
2010-03-30 20:57:06 +00:00
Thomas Heller
08b56b6084
Removed merge tracking for "svnmerge" for
...
svn+ssh://pythondev@svn.python.org/python/branches/branch_libffi-3_0_10-win
2010-03-30 19:55:34 +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
8f66efe253
Fix small error in r79502
2010-03-30 18:58:22 +00:00
Antoine Pitrou
6032c25063
Issue #8248 : Add some tests for the bool type. Patch by Gregory Nofi.
2010-03-30 18:49:45 +00:00
Benjamin Peterson
7e213255ce
add inspect.getcallargs, which binds function arguments like a normal call #3135
...
Patch by George Sakkis
2010-03-30 17:58:13 +00:00
Florent Xicluna
ec71794cb8
fix ACKS: alphabetic order and UTF-8
2010-03-30 16:42:47 +00:00
Florent Xicluna
75c6676916
#8263 : Now regrtest.py will report a failure if it receives a KeyboardInterrupt (SIGINT).
2010-03-30 16:31:14 +00:00
Florent Xicluna
58b6566b0a
Highlight the change of behavior related to r79494. Now VT and FF are linebreaks.
2010-03-30 16:29:03 +00:00
Florent Xicluna
22b243809e
#7643 : Unicode codepoints VT (0x0B) and FF (0x0C) are linebreaks according to Unicode Standard Annex #14 .
2010-03-30 08:24:06 +00:00
Michael Foord
e6410c536c
Backport of weakref.WeakSet and tests from Python 3.
2010-03-29 20:04:23 +00:00
Raymond Hettinger
b8d688cd7c
Update itertools recipe for consume().
2010-03-28 18:25:01 +00:00
Raymond Hettinger
d282b931a3
Add a note on optimizing the itertools recipes for production.
2010-03-28 18:08:15 +00:00
Raymond Hettinger
5b027f87b5
Update itertools recipes.
2010-03-28 18:02:41 +00:00
Michael Foord
a7e08fe3f8
Addition of delta keyword argument to unittest.TestCase.assertAlmostEquals and assertNotAlmostEquals
...
This allows the comparison of objects by specifying a maximum difference; this includes the comparing of non-numeric objects that don't support rounding.
2010-03-27 19:10:11 +00:00
Michael Foord
b35ecf4775
Rename the unittest test_suite function to not clash with a test module name (unittest.test.test_suite is now unambiguous).
2010-03-27 13:42:34 +00:00
Michael Foord
ff889396a8
A fix for running unittest tests on platforms without the audioop module (e.g. jython and IronPython)
2010-03-27 12:55:19 +00:00
Mark Dickinson
9588d998d5
Add Misc/NEWS entry for r79455.
2010-03-27 11:14:37 +00:00
Mark Dickinson
71b7fac07b
Make Fraction to complex comparisons with <=, <, >= or > raise TypeError.
2010-03-27 11:09:29 +00:00
Florent Xicluna
355adc5a45
Ensure that the failed or unexpected tests are sorted before printing.
2010-03-26 19:32:44 +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
Benjamin Peterson
c7024e7fd6
reorder imports
2010-03-26 13:53:32 +00:00
Michael Foord
79d1fa911b
Makefile.pre.in for the unittest/test directory
2010-03-26 13:07:38 +00:00
Michael Foord
fa2f1cdcbb
Addition of -c command line option to unittest, to handle ctrl-c during a test run more elegantly
2010-03-26 03:18:31 +00:00
Michael Foord
ee627883a7
Move a support TestCase out of the main namespace in unittest.test.test_suite
2010-03-26 02:53:56 +00:00
Michael Foord
95ac82bfc6
Remove incorrect docstring in unittest.test
2010-03-26 00:03:38 +00:00
Michael Foord
35b3792ed3
Turn unittest tests into a package
2010-03-25 23:56:33 +00:00
Brian Curtin
fbe519975b
Fix #6538 . Markup RegexObject and MatchObject as classes. Patch by Ryan Arana.
2010-03-25 23:48:54 +00:00
Benjamin Peterson
06638735fc
make naming convention consistent
2010-03-25 23:27:16 +00:00
Florent Xicluna
fd37dd46e8
Fix test_unittest and test_warnings when running "python -Werror -m test.regrtest"
2010-03-25 20:39:10 +00:00
Florent Xicluna
8aa5a581d3
#8207 : Fix test_pep277 on OS X
2010-03-25 20:33:49 +00:00
Florent Xicluna
c8a730bf72
Syntax cleanup `== None` -> `is None`
2010-03-25 20:32:07 +00:00
Benjamin Peterson
ff33e2f5e9
make an attempt to add capsule to the Windows build
2010-03-25 03:44:24 +00:00
Andrew M. Kuchling
4a0661b487
Add various items
2010-03-25 01:35:51 +00:00
Larry Hastings
4e9830f7ac
Remove extraneous experimental code checked in by accident.
2010-03-25 01:23:27 +00:00
Victor Stinner
c1f842b532
Fix a gcc warning introduced by r79397.
2010-03-25 01:18:38 +00:00
Benjamin Peterson
37aab87bc6
fix eol properties on capsule files
2010-03-25 01:05:57 +00:00
Benjamin Peterson
cf71456047
set eol on email example
2010-03-25 01:04:58 +00:00
Benjamin Peterson
1c7b0e35d9
set bsddb eol style
2010-03-25 01:03:51 +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
Victor Stinner
6cbf90fc0f
Issue #8211 : Save/restore CFLAGS around AC_PROG_CC in configure.in, compiler
...
optimizations are disabled when --with-pydebug is used.
2010-03-25 00:21:53 +00:00
Steven Bethard
2ec1f27716
Replace license with simple attribution.
2010-03-24 23:03:24 +00:00
Antoine Pitrou
2c6799ab8c
Revert r79384 (the fix failed).
2010-03-24 22:12:15 +00:00
Benjamin Peterson
fb224e3034
replace copy right notice with simple attribution
2010-03-24 22:03:09 +00:00
Antoine Pitrou
914bdbb495
Trying to fix #8108 . Will watch the buildbot(s).
2010-03-24 21:55:12 +00:00
Florent Xicluna
36b9fbb803
Skip tests which depend on multiprocessing.sharedctypes, if _ctypes is not available.
2010-03-24 19:33:25 +00:00
Andrew M. Kuchling
f91a6796af
Various edits
2010-03-24 18:07:43 +00:00
Vinay Sajip
66d19e2a0c
logging: Updated SysLogHandler documentation.
2010-03-24 17:36:35 +00:00
Florent Xicluna
27e024023c
Skip test_ascii_formatd if _ctypes is not available (BSD, ...).
...
Previous change was incomplete (r79334).
2010-03-24 17:32:58 +00:00