Message356922
On android which is a platform that is missing the shared memory implementation, test___all__ fails because 'multiprocessing.managers' has no attribute 'SharedMemoryManager' which is listed in __all__.
2|generic_x86_64:/data/local/tmp/python $ python
Python 3.9.0a0 (heads/abifa-dirty:cf805c25e6, Nov 18 2019, 16:40:26)
[Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing.shared_memory
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/data/local/tmp/python/lib/python3.9/multiprocessing/shared_memory.py", line 22, in <module>
import _posixshmem
ModuleNotFoundError: No module named '_posixshmem'
>>>
2|generic_x86_64:/data/local/tmp/python $ python -m test test___all__
0:00:00 Run tests sequentially
0:00:00 [1/1] test___all__
test test___all__ failed -- Traceback (most recent call last):
File "/data/local/tmp/python/lib/python3.9/test/test___all__.py", line 38, in check_all
exec("from %s import *" % modname, names)
AttributeError: module 'multiprocessing.managers' has no attribute 'SharedMemoryManager'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/local/tmp/python/lib/python3.9/test/test___all__.py", line 41, in check_all
self.fail("__all__ failure in {}: {}: {}".format(
AssertionError: __all__ failure in multiprocessing.managers: AttributeError: module 'multiprocessing.managers' has no attribute 'SharedMemoryManager'
test___all__ failed
== Tests result: FAILURE ==
1 test failed:
test___all__
Total duration: 1.8 sec
Tests result: FAILURE |
|
Date |
User |
Action |
Args |
2019-11-18 22:18:22 | xdegaye | set | recipients:
+ xdegaye |
2019-11-18 22:18:22 | xdegaye | set | messageid: <1574115502.48.0.329816372934.issue38840@roundup.psfhosted.org> |
2019-11-18 22:18:22 | xdegaye | link | issue38840 messages |
2019-11-18 22:18:21 | xdegaye | create | |
|