[New-bugs-announce] [issue32003] multiprocessing.Array("b", 1), multiprocessing.Array("c", 1 ) wrong value returned
Samuel Nwokenkwo
report at bugs.python.org
Fri Nov 10 11:33:26 EST 2017
New submission from Samuel Nwokenkwo <snwokenk at terpmail.umd.edu>:
1st sequence:
arr = multiprocessing.Array("b", 1) # byte type
arr[0] = 's'.encode()
print(arr[:])
result is [115]
----
2nd sequence:
arr = multiprocessing.Array("c", 1) # character type
arr[0] = 's'.encode()
print(arr[:])
result is b's'
----------
Wrong values for given types.
----------
components: asyncio
messages: 306037
nosy: snwokenk, yselivanov
priority: normal
severity: normal
status: open
title: multiprocessing.Array("b", 1), multiprocessing.Array("c",1 ) wrong value returned
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32003>
_______________________________________
More information about the New-bugs-announce
mailing list