Hi All,
-
Thanks, but it seems I may have been a bit more confused that even I
thought. It turns out to be an issue with Apple's OS X pty/tty
interface. Even though the mediator tool is set up to read in up to
20K of data, the pty interface blocks at 1024 bytes. When testing this
under Linux, I'
"brucoder" <[EMAIL PROTECTED]> wrote:
> Currently, when sending a data stream that exceeds 1024 bytes via
> stdin, the stream blocks at the 1024th byte. This precludes completion
> of the submission of the data stream.
you can pass in a buffer size when you open a file:
>>> help(open)
brucoder wrote:
Currently, when sending a data stream that exceeds 1024 bytes via
stdin, the stream blocks at the 1024th byte. This precludes completion
of the submission of the data stream.
But surely the blocking will only last as long as the consuming process
leaves buffered input unread?
reg
Currently, when sending a data stream that exceeds 1024 bytes via
stdin, the stream blocks at the 1024th byte. This precludes completion
of the submission of the data stream.
Tim
--
http://mail.python.org/mailman/listinfo/python-list
Currently, when sending a data stream that exceeds 1024 bytes via
stdin, the stream blocks at the 1024th byte. This precludes completion
of the submission of the data stream.
Tim
--
http://mail.python.org/mailman/listinfo/python-list
"brucoder" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Are there runtime settings that can be used to adjust the default 1024
> byte stdin buffer limit or a buildtime setting in pyconfig.h? I have a
> need to pump this up to permit input of a large data block via stdin.
What d
Are there runtime settings that can be used to adjust the default 1024
byte stdin buffer limit or a buildtime setting in pyconfig.h? I have a
need to pump this up to permit input of a large data block via stdin.
Tim Jones
--
http://mail.python.org/mailman/listinfo/python-list