/compat/

lass='column5'>| | | | | | | | * | | | | Ensure 'module removed' warning messages contain the word 'module' or 'package'.Mark Dickinson2010-04-032-2/+2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix the test_py3kwarn failure on OS X. test_support.import_module also requires this. | | | * | | | | stop CObject deprecation warnings in test___all__Benjamin Peterson2010-04-032-0/+3 | | | | | | | | | | | * | | | | remove deprecation warnings silence attemptingBenjamin Peterson2010-04-031-2/+1 | | | | | | | | | | | * | | | | spellingBenjamin Peterson2010-04-031-1/+1 | | | | | | | | | | | * | | | | silence PyCObject warnings in bsddbBenjamin Peterson2010-04-031-0/+1 | | | | | | | | | | | * | | | | remove unneeded argumentBenjamin Peterson2010-04-031-2/+1 | | | | | | | | | | | * | | | | wrapBenjamin Peterson2010-04-031-3/+3 | | | | | | | | | | | * | | | | Minor tweak to unittest command line usage messageMichael Foord2010-04-031-1/+2 | | | | | | | | | | | * | | | | Adding -b command line option to the unittest usage message.Michael Foord2010-04-031-6/+8 | | | | | | | | | | | * | | | | Use more specific assert* methods in test_decimal.Ezio Melotti2010-04-031-43/+43 | | | | | | | | | | | * | | | | Issue #8300: Let struct.pack use __index__ to convert and pack non-integers.Mark Dickinson2010-04-031-0/+18 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on a patch by Meador Inge. | | | * | | | | Fix a couple of issues with the test_structmembersType class in _testcapimoduleMark Dickinson2010-04-031-2/+2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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. | | | * | | | | Add subtract() method to collections.Counter() objects.Raymond Hettinger2010-04-032-0/+39 | | | | | | | | | | | * | | | | Factor-out constant expressionsRaymond Hettinger2010-04-031-14/+6 | | | | | | | | | | | * | | | | Improve clear() method. Keeps key/value refcnts >= 1 until final ↵Raymond Hettinger2010-04-031-2/+8 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dict.clear() so that decrefs to zero won't trigger arbitrary code . Also runs a bit faster. | | | * | | | | Another attempt at a fix for unittest.test.test_result for windows line endingsMichael Foord2010-04-031-5/+4 | | | | | | | | | | | * | | | | Cross platform unittest.TestResult newline handling when buffering stdout / ↵Michael Foord2010-04-032-15/+15 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stderr. | | | * | | | | give TypeError when trying to set T_STRING_INPLACEBenjamin Peterson2010-04-031-1/+6 | | | | | | | | | | | * | | | | Support dotted module names for test discovery paths in unittest. Issue 7780.Michael Foord2010-04-032-6/+32 | | | | | | | | | | | * | | | | split out large test functionBenjamin Peterson2010-04-031-16/+21 | | | | | | | | | | | * | | | | Fix assertRaises usage on reflection functions which should raiseBrian Curtin2010-04-031-5/+8 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NotImplementedError on Windows XP and below. | | | * | | | | Clear cyclical references in list based OrderedDict.Raymond Hettinger2010-04-031-3/+11 | | | | | | | | | | | * | | | | set svn:eol-style on new fileBenjamin Peterson2010-04-021-42/+42 | | | | | | | | | | | * | | | | Implement #1220212. Add os.kill support for Windows.Brian Curtin2010-04-024-3/+110 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #8038: Addition of unittest.TestCase.assertNotRegexpMatchesMichael Foord2010-04-022-0/+22 | | | | | | | | | | | * | | | | unittest tests no longer replace the sys.stdout put in place by regrtestMichael Foord2010-04-022-8/+4 | | | | | | | | | | | * | | | | Issue #8294: Allow float and Decimal arguments in Fraction constructor.Mark Dickinson2010-04-022-9/+80 | | | | | | | | | | | * | | | | TestResult stores original sys.stdout and tests no longer use sys.__stdout__ ↵Michael Foord2010-04-022-19/+18 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (etc) in tests for unittest -b command line option | | | * | | | | Fix test_compiler.py that was using unittest.__file__ to find Lib/ (unittest ↵Ezio Melotti2010-04-021-1/+3 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is now a package). | | | * | | | | Addition of -b command line option to unittest for buffering stdout and ↵Michael Foord2010-04-025-14/+217 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stderr during test runs. | | | * | | | | Implement #7347. Add CreateKeyEx, DeleteKeyEx, and update _winreg tests.Brian Curtin2010-04-021-23/+178 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *ReflectionKey functions used to not be documented or tested, but they are now sufficiently documented and tested on platforms where they apply. Additionally, fixed a bug in QueryReflectionKey which was returning an incorrect value. All tests pass from XP through Windows 7, on 32 and 64-bit platforms. | | | * | | | | removed the local copy of xxmodule, and skip only test_build_ext when ↵Tarek Ziadé2010-04-022-398/+21 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xxmodule is not found, not the whole unittest | | | * | | | | Issue 8257: Decimal constructor to accept float.Raymond Hettinger2010-04-022-2/+32 | | | | | | | | | | | * | | | | Backport some robotparser test and skip the test if the external resource is ↵Florent Xicluna2010-04-021-5/+18 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not available. | | | * | | | | #4440: modernize a use of filter(), making it compatible with 3.xAndrew M. Kuchling2010-04-021-1/+1 | | | | | | | | | | | * | | | | Issue 7994: Make object.__format__ with a non-empty format string a ↵Eric Smith2010-04-021-0/+36 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PendingDecprecationWarning. Still need to remove uses of this from various tests. | | | * | | | | Issue #7279: Make Decimal('nan') hashable. Decimal('snan') remains unhashable.Mark Dickinson2010-04-022-5/+25 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also rewrite the Decimal __hash__ method so that it doesn't rely on float('inf') being valid: float('inf') could raise an exception on platforms not using IEEE 754 arithmetic. | | | * | | | | Issue #7279: Make comparisons involving a Decimal sNaN signal InvalidOperation.Mark Dickinson2010-04-022-14/+56 | | | | | | | | | | | * | | | | Issue #2531: Make float-to-decimal comparisons return correct results.Mark Dickinson2010-04-022-13/+51 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Float to decimal comparison operations now return a result based on the numeric values of the operands. Decimal.__hash__ has also been fixed so that Decimal and float values that compare equal have equal hash value. | | | * | | | | #7092: silence some py3k warningsFlorent Xicluna2010-04-024-6/+6 | | | | | | | | | | | * | | | | #7092: Drop the cmp argument.Florent Xicluna2010-04-022-15/+2 | | | | | | | | | | | * | | | | #7092: Fix additional "-3" warnings in the idlelib package, and convert to ↵Florent Xicluna2010-04-02