Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | set svn:eol-style on new file | Benjamin Peterson | 2010-04-02 | 1 | -42/+42 | |
| | ||||||
* | Add note about #1220212 (os.kill on Windows) | Brian Curtin | 2010-04-02 | 1 | -0/+3 | |
| | ||||||
* | Implement #1220212. Add os.kill support for Windows. | Brian Curtin | 2010-04-02 | 10 | -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.assertNotRegexpMatches | Michael Foord | 2010-04-02 | 3 | -0/+27 | |
| | ||||||
* | unittest tests no longer replace the sys.stdout put in place by regrtest | Michael Foord | 2010-04-02 | 2 | -8/+4 | |
| | ||||||
* | Issue #8294: Allow float and Decimal arguments in Fraction constructor. | Mark Dickinson | 2010-04-02 | 4 | -20/+121 | |
| | ||||||
* | TestResult stores original sys.stdout and tests no longer use sys.__stdout__ ↵ | Michael Foord | 2010-04-02 | 2 | -19/+18 | |
| | | | | (etc) in tests for unittest -b command line option | |||||
* | Add a line about #7347 to Misc\News | Brian Curtin | 2010-04-02 | 1 | -0/+3 | |
| | ||||||
* | Fix test_compiler.py that was using unittest.__file__ to find Lib/ (unittest ↵ | Ezio Melotti | 2010-04-02 | 1 | -1/+3 | |
| | | | | is now a package). | |||||
* | Addition of -b command line option to unittest for buffering stdout and ↵ | Michael Foord | 2010-04-02 | 5 | -14/+217 | |
| | | | | stderr during test runs. | |||||
* | removed documentation on code that was reverted and pushed into distutils2 | Tarek Ziadé | 2010-04-02 | 2 | -110/+0 | |
| | ||||||
* | Implement #7347. Add CreateKeyEx, DeleteKeyEx, and update _winreg tests. | Brian Curtin | 2010-04-02 | 3 | -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-02 | 2 | -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 Dickinson | 2010-04-02 | 1 | -0/+1 | |
| | ||||||
* | Add python.exe-gdb.py to svn:ignore, for the benefit of OS X developers. | Mark Dickinson | 2010-04-02 | 0 | -0/+0 | |
| | ||||||
* | Issue 8257: Decimal constructor to accept float. | Raymond Hettinger | 2010-04-02 | 3 | -11/+45 | |
| | ||||||
* | #6647: add note to two examples | Andrew M. Kuchling | 2010-04-02 | 1 | -2/+7 | |
| | ||||||
* | #6647: document that catch_warnings is not thread-safe | Andrew M. Kuchling | 2010-04-02 | 1 | -0/+8 | |
| | ||||||
* | Backport some robotparser test and skip the test if the external resource is ↵ | Florent Xicluna | 2010-04-02 | 1 | -5/+18 | |
| | | | | not available. | |||||
* | #4440: modernize a use of filter(), making it compatible with 3.x | Andrew M. Kuchling | 2010-04-02 | 1 | -1/+1 | |
| | ||||||
* | Issue 7994: Make object.__format__ with a non-empty format string a ↵ | Eric Smith | 2010-04-02 | 4 | -14/+106 | |
| | | | | PendingDecprecationWarning. Still need to remove uses of this from various tests. | |||||
* | Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is | Larry Hastings | 2010-04-02 | 2 | -0/+6 | |
| | | | | a socket option available on FreeBSD 7.1 and newer. | |||||
* | Capsule-related changes: | Larry Hastings | 2010-04-02 | 6 | -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 Dickinson | 2010-04-02 | 3 | -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. | |||||
* | Issue #7279: Make comparisons involving a Decimal sNaN signal InvalidOperation. | Mark Dickinson | 2010-04-02 | 3 | -14/+60 | |
| | ||||||
* | #8012: clarification in generator glossary entry. | Georg Brandl | 2010-04-02 | 1 | -1/+3 | |
| | ||||||
* | Document PyImport_ExecCodeModuleEx(). | Georg Brandl | 2010-04-02 | 2 | -0/+21 | |
| | ||||||
* | Remove col-spanning cells in logging docs. | Georg Brandl | 2010-04-02 | 1 | -4/+4 | |
| | ||||||
* | Issue #2531: Make float-to-decimal comparisons return correct results. | Mark Dickinson | 2010-04-02 | 4 | -13/+74 | |
| | | | | | | | 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. | |||||
* | Fix typo in unicode character name. | Georg Brandl | 2010-04-02 | 1 | -1/+1 | |
| | ||||||
* | #2768: add a note on how to get a file descriptor. | Georg Brandl | 2010-04-02 | 1 | -0/+4 | |
| | ||||||
* | Add 2.6.5. | Georg Brandl | 2010-04-02 | 1 | -0/+1 | |
| | ||||||
* | #7092: silence some py3k warnings | Florent Xicluna | 2010-04-02 | 4 | -6/+6 | |
| | ||||||
* | #7092: Drop the cmp argument. | Florent Xicluna | 2010-04-02 | 2 | -15/+2 | |
| | ||||||
* | #7092: Fix additional "-3" warnings in the idlelib package, and convert to ↵ | Florent Xicluna | 2010-04-02 | 37 | -149/+169 | |
| | | | | absolute imports. | |||||
* | Cleanup itertools recipes | Raymond Hettinger | 2010-04-02 | 1 | -8/+8 | |
| | ||||||
* | Add and update itertools recipes. | Raymond Hettinger | 2010-04-02 | 1 | -1/+23 | |
| | ||||||
* | #7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains ↵ | Florent Xicluna | 2010-04-01 | 6 | -21/+22 | |
| | | | | a double-quote. | |||||
* | Issue #8281: rename test_gdb_sample.py to gdb_sample.py, otherwise it gets ↵ | Antoine Pitrou | 2010-04-01 | 1 | -0/+0 | |
| | | | | | | picked as a regular test by regrtest.py, and fails. | |||||
* | Issue #8276: PyEval_CallObject() is now only available in macro form. The | Antoine Pitrou | 2010-04-01 | 3 | -16/+5 | |
| | | | | | function declaration, which was kept for backwards compatibility reasons, is now removed (the macro was introduced in 1997!). | |||||
* | Document link to Sorting HowTo | Raymond Hettinger | 2010-04-01 | 1 | -0/+3 | |
| | ||||||
* | Issue #8032: For gdb7, a python-gdb.py file is added to the build, | Martin v. Löwis | 2010-04-01 | 9 | -1/+2083 | |
| | | | | allowing to use advanced gdb features when debugging Python. | |||||
* | Fix a test_pydoc failure on Neal Norwitz's buildbot. | Brian Curtin | 2010-04-01 | 1 | -1/+1 | |
| | ||||||
* | A couple small grammar fixes in test.rst, and rewrite the | R. David Murray | 2010-04-01 | 1 | -38/+46 | |
| | | | | check_warnings docs to be clearer. | |||||
* | Add -Wd and -3 to the flags used to run the tests on Windows. | Ezio Melotti | 2010-03-31 | 1 | -1/+1 | |
| | ||||||
* | Add -Wd and -3 to the flags used to run the tests. | Ezio Melotti | 2010-03-31 | 1 | -2/+2 | |
| | ||||||
* | Replace catch_warnings with check_warnings when it makes sense. Use ↵ | Florent Xicluna | 2010-03-31 | 21 | -226/+112 | |
| | | | | assertRaises context manager to simplify some tests. | |||||
* | Fix typo | Florent Xicluna | 2010-03-31 | 1 | -1/+1 | |
| | ||||||
* | Issue #8268: Old-style classes (not just instances) now support weak | Antoine Pitrou | 2010-03-31 | 5 | -2/+29 | |
| | | | | references. | |||||
* | Fix test for xml.etree when using a non-ascii path. And use check_warnings ↵ | Florent Xicluna | 2010-03-31 | 1 | -16/+26 | |
| | | | | instead of catch_warnings. |