On Mar 26, 2005, at 12:30 PM, Stefan Monnier wrote:

With a problem case, not only does read-from-string result in nil, but
python-send-receive results in nil as well. When debugging
python-send-receive in the same fashion, I run into the phenomenon
where accept-process-output always times out and returns nil, even when
given input known to work. Perhaps this is a result of edebug vs.
regular execution?

Yes, edebugging with things like accept-process-output is always problematic. I generally resort to sprinkling the code with (message "here var=%S" var).

I seem to recall issues with OS X and ptys; could this be one of them?

Could be. Can you try to change process-connection-type to avoid the use of
ptys, and see if it helps?



Stefan

That had no effect on the behavior. I guess it must actually be an issue with the size of the incoming data vs. some buffer size in the C code ... does this sound plausible? I will write up some scripts to incrementally generate and test Python attrs and see what the maximum working length is, for lack of any insight into the root cause.


Thanks, Steve



_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to