summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* remove deprecation warnings silence attemptingBenjamin Peterson2010-04-031-2/+1
|
* Add Misc/NEWS entry for r79609.Mark Dickinson2010-04-031-0/+6
|
* 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-034-14/+70
| | | | 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-032-12/+19
| | | | | | | | | | | | | - 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-034-0/+52
|
* Issue #8227: Fix C API documentation, argument parsingVictor Stinner2010-04-031-10/+10
| | | | | * 'z', 'z#', 'z*' does also accept Unicode * unify types name: replace "string or Unicode objet" by "string or Unicode"
* Issue #1222585: Added LDCXXSHARED for C++ supportTarek Ziadé2010-04-033-15/+53
|
* 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-034-5/+27
|
* 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.
* more _PyString_Resize error checkingBenjamin Peterson2010-04-033-13/+20
|
* Clear cyclical references in list based OrderedDict.Raymond Hettinger2010-04-031-3/+11
|
* always check _PyString_Resize for errorBenjamin Peterson2010-04-021-10/+12
| | | | also normalize how this error is checked
* set svn:eol-style on new fileBenjamin Peterson2010-04-021-42/+42
|
* Add note about #1220212 (os.kill on Windows)Brian Curtin2010-04-021-0/+3
|
* Implement #1220212. Add os.kill support for Windows.Brian Curtin2010-04-0210-6/+197
| | | | | | | | | | | | | | 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-023-0/+27
|
* 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-024-20/+121
|
* 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
* Add a line about #7347 to Misc\NewsBrian Curtin2010-04-021-0/+3
|
* 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.
* removed documentation on code that was reverted and pushed into distutils2Tarek Ziadé2010-04-022-110/+0
|
* Implement #7347. Add CreateKeyEx, DeleteKeyEx, and update _winreg tests.Brian Curtin2010-04-023-38/+386
| | | | | | | | | *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
* Add python-gdb.py and python.exe-gdb.py to distclean target in Makefile.Mark Dickinson2010-04-021-0/+1
|
* Add python.exe-gdb.py to svn:ignore, for the benefit of OS X developers.Mark Dickinson2010-04-020-0/+0
|
* Issue 8257: Decimal constructor to accept float.Raymond Hettinger2010-04-023-11/+45
|
* #6647: add note to two examplesAndrew M. Kuchling2010-04-021-2/+7
|
* #6647: document that catch_warnings is not thread-safeAndrew M. Kuchling2010-04-021-0/+8
|
* 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-024-14/+106
| | | | PendingDecprecationWarning. Still need to remove uses of this from various tests.
* Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB isLarry Hastings2010-04-022-0/+6
| | | | a socket option available on FreeBSD 7.1 and newer.
* Capsule-related changes:Larry Hastings2010-04-026-3/+62
| | | | | | | | | | | * PyCObject_AsVoidPtr() can now open capsules. This addresses most of the remaining backwards-compatibility concerns about the conversion of Python 2.7 from CObjects to capsules. * CObjects were marked Pending Deprecation. * Documentation about this pending deprecation was added to cobject.h. * The capsule source files were added to the legacy PC build processes.
* Issue #7279: Make Decimal('nan') hashable. Decimal('snan') remains unhashable.Mark Dickinson2010-04-023-6/+27
| | | | | | 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.