Message225931
| Author |
skrah |
| Recipients |
eric.snow, skrah |
| Date |
2014年08月26日.21:56:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1409090188.54.0.457029960321.issue22280@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This may be related to PEP 451: Previously, if the _decimal.so build
failed for whatever reason, decimal.py would be used instead. For that
to work, importing _decimal needs to fail.
But now the import is successful:
# Simulate build failure:
rm Modules/_decimal/_decimal.c
./configure --with-pydebug && make
$ ./python
Python 3.5.0a0 (default:0337a460f05b+, Aug 26 2014, 23:47:43)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import _decimal
>>> _decimal.__path__
_NamespacePath(['/home/stefan/pydev/cpython/Modules/_decimal']) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年08月26日 21:56:28 | skrah | set | recipients:
+ skrah, eric.snow |
| 2014年08月26日 21:56:28 | skrah | set | messageid: <1409090188.54.0.457029960321.issue22280@psf.upfronthosting.co.za> |
| 2014年08月26日 21:56:28 | skrah | link | issue22280 messages |
| 2014年08月26日 21:56:28 | skrah | create |
|