summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Issue #7279: Make comparisons involving a Decimal sNaN signal InvalidOperation.Mark Dickinson2010-04-023-14/+60
|
* #8012: clarification in generator glossary entry.Georg Brandl2010-04-021-1/+3
|
* Document PyImport_ExecCodeModuleEx().Georg Brandl2010-04-022-0/+21
|
* Remove col-spanning cells in logging docs.Georg Brandl2010-04-021-4/+4
|
* Issue #2531: Make float-to-decimal comparisons return correct results.Mark Dickinson2010-04-024-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 Brandl2010-04-021-1/+1
|
* #2768: add a note on how to get a file descriptor.Georg Brandl2010-04-021-0/+4
|
* Add 2.6.5.Georg Brandl2010-04-021-0/+1
|
* #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-0237-149/+169
| | | | absolute imports.
* Cleanup itertools recipesRaymond Hettinger2010-04-021-8/+8
|
* Add and update itertools recipes.Raymond Hettinger2010-04-021-1/+23
|
* #7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains ↵Florent Xicluna2010-04-016-21/+22
| | | | a double-quote.
* Issue #8281: rename test_gdb_sample.py to gdb_sample.py, otherwise it gets ↵Antoine Pitrou2010-04-011-0/+0
| | | | | | picked as a regular test by regrtest.py, and fails.
* Issue #8276: PyEval_CallObject() is now only available in macro form. TheAntoine Pitrou2010-04-013-16/+5
| | | | | function declaration, which was kept for backwards compatibility reasons, is now removed (the macro was introduced in 1997!).
* Document link to Sorting HowToRaymond Hettinger2010-04-011-0/+3
|
* Issue #8032: For gdb7, a python-gdb.py file is added to the build,Martin v. Löwis2010-04-019-1/+2083
| | | | allowing to use advanced gdb features when debugging Python.
* Fix a test_pydoc failure on Neal Norwitz's buildbot.Brian Curtin2010-04-011-1/+1
|
* A couple small grammar fixes in test.rst, and rewrite theR. David Murray2010-04-011-38/+46
| | | | check_warnings docs to be clearer.
* Add -Wd and -3 to the flags used to run the tests on Windows.Ezio Melotti2010-03-311-1/+1
|
* Add -Wd and -3 to the flags used to run the tests.Ezio Melotti2010-03-311-2/+2
|
* Replace catch_warnings with check_warnings when it makes sense. Use ↵Florent Xicluna2010-03-3121-226/+112
| | | | assertRaises context manager to simplify some tests.
* Fix typoFlorent Xicluna2010-03-311-1/+1
|
* Issue #8268: Old-style classes (not just instances) now support weakAntoine Pitrou2010-03-315-2/+29
| | | | references.
* Fix test for xml.etree when using a non-ascii path. And use check_warnings ↵Florent Xicluna2010-03-311-16/+26
| | | | instead of catch_warnings.