STINNER Victor <victor.stin...@haypocalc.com> added the comment: To have an idea of how much code has to be changed for the sys.platform change, there is the diffstat :
$ diffstat sys_platform_without_major.patch Lib/ctypes/util.py | 6 -- Lib/distutils/command/build_ext.py | 3 - Lib/distutils/unixccompiler.py | 4 - Lib/distutils/util.py | 12 ++--- Lib/packaging/command/build_ext.py | 3 - Lib/packaging/compiler/unixccompiler.py | 6 +- Lib/packaging/tests/test_config.py | 4 - Lib/sysconfig.py | 12 ++--- Lib/test/fork_wait.py | 2 Lib/test/regrtest.py | 71 ++++++++++++++------------------ Lib/test/support.py | 2 Lib/test/test_asyncore.py | 2 Lib/test/test_fcntl.py | 9 +--- Lib/test/test_locale.py | 2 Lib/test/test_logging.py | 2 Lib/test/test_multiprocessing.py | 2 Lib/test/test_os.py | 6 +- Lib/test/test_posix.py | 2 Lib/test/test_signal.py | 11 ++-- Lib/test/test_socket.py | 7 --- Lib/test/test_tarfile.py | 2 Lib/test/test_tempfile.py | 2 Lib/test/test_threading.py | 14 +++--- Lib/unittest/test/test_break.py | 4 - configure.in | 17 ++----- setup.py | 19 ++++---- 26 files changed, 105 insertions(+), 121 deletions(-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12795> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com