homepage

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.

Author xdegaye
Recipients vinay.sajip, xdegaye
Date 2016年11月11日.15:47:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478879280.84.0.810360820826.issue28668@psf.upfronthosting.co.za>
In-reply-to
Content
Occurs on Android that has a broken shared semaphore implementation (issue 26924).
Patch attached.
One of the backtraces:
======================================================================
ERROR: test_handle_called_with_mp_queue (test.test_logging.QueueListenerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/sdcard/org.bitbucket.pyona/lib/python3.7/multiprocessing/synchronize.py", line 29, in <modu
le>
 from _multiprocessing import SemLock, sem_unlink
ImportError: cannot import name 'sem_unlink'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
 File "/sdcard/org.bitbucket.pyona/lib/python3.7/unittest/mock.py", line 1179, in patched
 return func(*args, **keywargs)
 File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_logging.py", line 3130, in test_handle_c
alled_with_mp_queue
 log_queue = multiprocessing.Queue()
 File "/sdcard/org.bitbucket.pyona/lib/python3.7/multiprocessing/context.py", line 102, in Queue
 return Queue(maxsize, ctx=self.get_context())
 File "/sdcard/org.bitbucket.pyona/lib/python3.7/multiprocessing/queues.py", line 39, in __init__
 from .synchronize import SEM_VALUE_MAX as maxsize
 File "/sdcard/org.bitbucket.pyona/lib/python3.7/multiprocessing/synchronize.py", line 34, in <modu
le>
 " function, see issue 3770.")
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required sync
hronization primitives needed will not function, see issue 3770.
History
Date User Action Args
2016年11月11日 15:48:00xdegayesetrecipients: + xdegaye, vinay.sajip
2016年11月11日 15:48:00xdegayesetmessageid: <1478879280.84.0.810360820826.issue28668@psf.upfronthosting.co.za>
2016年11月11日 15:48:00xdegayelinkissue28668 messages
2016年11月11日 15:48:00xdegayecreate

AltStyle によって変換されたページ (->オリジナル) /