Message245429
| Author |
martin.panter |
| Recipients |
dstufft, eric.araujo, martin.panter, taleinat |
| Date |
2015年06月17日.03:46:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1434512800.99.0.0694165358367.issue24421@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年06月17日 03:46:41 | martin.panter | set | recipients:
+ martin.panter, taleinat, eric.araujo, dstufft |
| 2015年06月17日 03:46:41 | martin.panter | set | messageid: <1434512800.99.0.0694165358367.issue24421@psf.upfronthosting.co.za> |
| 2015年06月17日 03:46:40 | martin.panter | link | issue24421 messages |
| 2015年06月17日 03:46:40 | martin.panter | create |
|