➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 martin.panter
收信人 dstufft, eric.araujo, martin.panter, taleinat
日期 2015-06-17.03:46:40
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1434512800.99.0.0694165358367.issue24421@psf.upfronthosting.co.za>
In-reply-to
内容
I think this may have been introduced when _math.c was added as a source file of the “cmath” module in r76978 (Issue 7518). In /setup.py:585 there are two distutils.core.Extension objects, both mentioning _math.c. In the build_ext._build_extensions_parallel() method at /Lib/distutils/command/build_ext.py:449, it appears to be invoking build_extension() in two concurrent threads, once for each module, including math and cmath.

I don’t know how this code is meant to work, but it looks like either the “build_ext” class should not be creating the same object file in two different threads, or /setup.py should not be giving it the same _math.c file for two different modules.
历史
日期 用户 动作 参数
2015-06-17 03:46:41martin.panter修改recipients: + martin.panter, taleinat, eric.araujo, dstufft
2015-06-17 03:46:41martin.panter修改messageid: <1434512800.99.0.0694165358367.issue24421@psf.upfronthosting.co.za>
2015-06-17 03:46:40martin.panter链接issue24421 messages
2015-06-17 03:46:40martin.panter创建