[issue32003] multiprocessing.Array("b", 1), multiprocessing.Array("c", 1 ) wrong value returned
Samuel Nwokenkwo
report at bugs.python.org
Sat Nov 11 00:26:20 EST 2017
Samuel Nwokenkwo <snwokenk at terpmail.umd.edu> added the comment:
To clarify
my expectation was something like this:
arr = multiprocessing.Array('c', 3) # type char
arr = "Fun"
which is similar to c implementation:
char arr[3] = "Fun"
AND
arr = multiprocessing.Array('b', 3) # type byte
arr = b'fun'
Also this website list 'c' as a data type supported:
https://svn.python.org/projects/python/trunk/Lib/multiprocessing/sharedctypes.py
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32003>
_______________________________________
More information about the Python-bugs-list
mailing list