[issue27009] multiprocessing Connection data length limited to max(int32)

2016-05-12 Thread Hartmann
Changes by Hartmann : -- versions: +Python 3.5 -Python 3.6 ___ Python tracker <http://bugs.python.org/issue27009> ___ ___ Python-bugs-list mailing list Unsub

[issue27009] multiprocessing Connection data length limited to max(int32)

2016-05-12 Thread Hartmann
New submission from Hartmann: I wonder if size restriction for the data blobs send via multiprocessing.Connection is intentionally. Otherwise it would be nice to get rid of that restriction. File "python3.5/multiprocessing/connection.py", line 393, in _send_bytes header = struc

[issue22989] HTTPResponse.msg not as documented

2014-12-03 Thread Paul Hartmann
New submission from Paul Hartmann: HTTPResponse.msg is documented as a http.client.HTTPMessage object containing the headers of the response [1]. But in fact this is a string containing the status code: >>> import urllib.request >>> req=urllib.request.urlopen('http:/

[issue15119] ctypes mixed-types bitfield layout nonsensical; doesn't match compiler.

2014-07-16 Thread Olaf Hartmann
Olaf Hartmann added the comment: Answering my own question, here is a workaround, that also produces reasonable results for the original test case. Basically just inserting an empty struct: import ctypes class Empty(ctypes.Structure): _fields_ = [] class Struct(ctypes.Structure

[issue15119] ctypes mixed-types bitfield layout nonsensical; doesn't match compiler.

2014-07-16 Thread Olaf Hartmann
Olaf Hartmann added the comment: I just run into this issue, so i'll bump it with another test case: import ctypes class Struct(ctypes.Structure): _fields_ = [ ("uint8_0", ctypes.c_uint8, 8), ("uint8_1", ctypes.c_uint8, 8), ("