Brian Cain <brian.c...@gmail.com> added the comment:
Please don't close the issue.
Joining aside, the basic point ("But when size = 7279, the data submitted
reaches 64k, so the writting thread blocks on the write syscall.") is not
clear from the docs, right?
IMO, it would be nice if I could ask my queue, "Just what is your capacity
(in bytes, not entries) anyways? I want to know how much I can put in here
without worrying about whether the remote side is dequeueing." I guess I'd
settle for explicit documentation that the bound exists. But how should I
expect my code to be portable? Are there platforms which provide less than
64k? Less than 1k? Less than 256 bytes?
----------
Added file: http://bugs.python.org/file21709/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8426>
_______________________________________
Please don't close the issue.<div><br></div><div>Joining aside, the basic
point ("<span class="Apple-style-span" style="font-family: monospace;
font-size: 12px; line-height: 17px; white-space: pre-wrap; ">But when size =
7279, the data submitted reaches 64k, so the writting thread blocks on the
write syscall.</span><span class="Apple-style-span" style="border-collapse:
collapse; font-family: arial, sans-serif; font-size: 13px; ">") is not
clear from the docs, right?</span></div>
<div><span style="border-collapse:collapse;font-family:arial,
sans-serif;font-size:13px"><br></span></div><div><span
style="border-collapse:collapse;font-family:arial,
sans-serif;font-size:13px">IMO, it would be nice if I could ask my queue,
"Just what is your capacity (in bytes, not entries) anyways? Â I want to
know how much I can put in here without worrying about whether the remote side
is dequeueing." Â I guess I'd settle for explicit documentation that
the bound exists. Â But how should I expect my code to be portable? Â Are there
platforms which provide less than 64k? Â Less than 1k? Â Less than 256
bytes?</span></div>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com