Re: Adjusting the 1024 byte stdin buffer limit

2005-01-17 Thread brucoder
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'

Re: Adjusting the 1024 byte stdin buffer limit

2005-01-17 Thread Fredrik Lundh
"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)

Re: Adjusting the 1024 byte stdin buffer limit

2005-01-17 Thread Steve Holden
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

Re: Adjusting the 1024 byte stdin buffer limit

2005-01-17 Thread brucoder
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

Re: Adjusting the 1024 byte stdin buffer limit

2005-01-17 Thread brucoder
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

Re: Adjusting the 1024 byte stdin buffer limit

2005-01-17 Thread Andrew Koenig
"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

Adjusting the 1024 byte stdin buffer limit

2005-01-17 Thread brucoder
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