- 03 Apr, 2010 2 commits
-
-
Benjamin Peterson authored
-
Raymond Hettinger authored
-
- 02 Apr, 2010 38 commits
-
-
Benjamin Peterson authored
also normalize how this error is checked
-
Benjamin Peterson authored
-
Brian Curtin authored
-
Brian Curtin authored
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.
-
Michael Foord authored
-
Michael Foord authored
-
Mark Dickinson authored
-
Michael Foord authored
TestResult stores original sys.stdout and tests no longer use sys.__stdout__ (etc) in tests for unittest -b command line option
-
Brian Curtin authored
-
Ezio Melotti authored
-
Michael Foord authored
-
Tarek Ziadé authored
-
Brian Curtin authored
*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.
-
Tarek Ziadé authored
removed the local copy of xxmodule, and skip only test_build_ext when xxmodule is not found, not the whole unittest
-
Mark Dickinson authored
-
Mark Dickinson authored
-
Raymond Hettinger authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Florent Xicluna authored
-
Andrew M. Kuchling authored
-
Eric Smith authored
Issue 7994: Make object.__format__ with a non-empty format string a PendingDecprecationWarning. Still need to remove uses of this from various tests.
-
Larry Hastings authored
a socket option available on FreeBSD 7.1 and newer.
-
Larry Hastings authored
* 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.
-
Mark Dickinson authored
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.
-
Mark Dickinson authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Mark Dickinson authored
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.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Florent Xicluna authored
-
Florent Xicluna authored
-
Florent Xicluna authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-