[issue17662] socketmodule raises on import when compiled using Setup.dist on 2.7.4

Bohuslav "Slavek" Kabrda report at bugs.python.org
Mon Apr 8 14:57:17 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue17662>
_______________________________________


More information about the Python-bugs-list mailing list