- 03 Apr, 2010 32 commits
-
-
Mark Dickinson authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Michael Foord authored
-
Mark Dickinson authored
-
Mark Dickinson authored
This should fix the test_py3kwarn failure on OS X. test_support.import_module also requires this.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Mark Dickinson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Michael Foord authored
-
Michael Foord authored
-
Ezio Melotti authored
-
Mark Dickinson authored
Based on a patch by Meador Inge.
-
Brian Curtin authored
-
Mark Dickinson authored
- 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.
-
Raymond Hettinger authored
-
Victor Stinner authored
* 'z', 'z#', 'z*' does also accept Unicode * unify types name: replace "string or Unicode objet" by "string or Unicode"
-
Tarek Ziadé authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Improve clear() method. Keeps key/value refcnts >= 1 until final dict.clear() so that decrefs to zero won't trigger arbitrary code . Also runs a bit faster.
-
Michael Foord authored
-
Michael Foord authored
-
Benjamin Peterson authored
-
Michael Foord authored
-
Benjamin Peterson authored
-
Brian Curtin authored
NotImplementedError on Windows XP and below.
-
Benjamin Peterson authored
-
Raymond Hettinger authored
-
- 02 Apr, 2010 8 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
-