New submission from Bohuslav "Slavek" Kabrda: When building extension modules of Python 2.7.4 through Modules/Setup.dist, the socketmodule gets built badly, as it also needs to be compiled with timemodule.c (see the attached patch). This was caused by commit 8ec39bfd1f01, which introduced usage of _PyTime_floattime() without fixing Setup.dist (note, that this is ok when compiling through setup.py, as it has:
exts.append( Extension('_socket', ['socketmodule.c', 'timemodule.c'], ---------- components: Build files: python-2.7.4-properly-compile-socketmodule-by-Setupdist.patch keywords: patch messages: 186298 nosy: bkabrda priority: normal severity: normal status: open title: socketmodule raises on import when compiled using Setup.dist on 2.7.4 type: crash versions: Python 2.7 Added file: http://bugs.python.org/file29730/python-2.7.4-properly-compile-socketmodule-by-Setupdist.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com