[issue8306] ctypes.create_string_buffer should only accept bytes

2010-08-06 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8306] ctypes.create_string_buffer should only accept bytes

2010-08-06 Thread Ray.Allen
Ray.Allen added the comment: Why not close this issue? It seems that this has been fixed in current py3k branch. -- nosy: +ysj.ray ___ Python tracker ___ ___

[issue8306] ctypes.create_string_buffer should only accept bytes

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am just responding so this will not show up on the 'unanswered issues' list. -- nosy: +terry.reedy ___ Python tracker ___

[issue8306] ctypes.create_string_buffer should only accept bytes

2010-04-03 Thread Benjamin Peterson
New submission from Benjamin Peterson : These coercions shouldn't be allowed: import ctypes >>> buf = ctypes.create_string_buffer("hi") >>> buf.value b'hi' >>> buf.value = "23" >>> buf.value b'23' -- assignee: theller components: ctypes messages: 102282 nosy: benjamin.peterson, theller