[issue11750] Mutualize win32 functions

sbt report at bugs.python.org
Sun Apr 15 15:34:00 CEST 2012


sbt <shibturn at gmail.com> added the comment:

New patch.  Compared to the previous one:

* socket functions have been moved from _windows to _multiprocessing
* _windows.vcpoj has been removed (so _windows is part of pythoncore.vcproj)
* no changes to pcbuild.sln needed
* removed reference to 'win32_functions.c' in setup.py

(I am not sure whether/how setup.py is used on Windows.)

 Lib/multiprocessing/connection.py          |   124 +-
 Lib/multiprocessing/forking.py             |    31 +-
 Lib/multiprocessing/heap.py                |     6 +-
 Lib/multiprocessing/reduction.py           |     6 +-
 Lib/subprocess.py                          |   104 +-
 Lib/test/test_multiprocessing.py           |     2 +-
 Modules/_multiprocessing/multiprocessing.c |    83 +-
 Modules/_multiprocessing/win32_functions.c |   823 ----------------
 Modules/_windows.c                         |  1337 +++++++++++++++++++++++++++
 PC/_subprocess.c                           |   697 --------------
 PC/config.c                                |     6 +-
 PCbuild/_multiprocessing.vcproj            |     4 -
 PCbuild/pythoncore.vcproj                  |     8 +-
 setup.py                                   |     1 -
 14 files changed, 1568 insertions(+), 1664 deletions(-)

----------
Added file: http://bugs.python.org/file25223/windows_module.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11750>
_______________________________________


More information about the Python-bugs-list mailing list