GNU bug report logs -
#49822
28.0.50; python-shell-send functions show no output
Previous Next
Reported by: dalanicolai <at> gmail.com
Date: Mon, 2 Aug 2021 14:33:01 UTC
Severity: normal
Tags: patch
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Mon, 6 Sep 2021 at 14:00, Michael Albinus <michael.albinus <at> gmx.de> wrote:
> Andreas Schwab <schwab <at> linux-m68k.org> writes:
>
>> Neither has PIPE_BUF.
>
> Great that you always say what's not working. Perhaps you have a better
> answer to Augusto?
>
>> Andreas.
>
> Best regards, Michael.
Thanks for the ideas. If there's no simple and platform-independent
way to obtain the line length limit in a PTY, then I think there's no
reason to attempt anything fancy in python.el (or any derived comint
mode, for that matter).
So the options seem to be: either hard-code a limit of 1024 chars, or
create a defcustom with a platform-dependent default. But such a
defcustom should probably be part of comint.el, and should be added by
someone who (unlike me) actually understands this stuff.
Working around a limit of less than 1024 characters is too awkward, so I
hope this is a safe assumption. The juggling of temp files that existed
in python.el for many years already required lines of ~350 chars,
depending on how the OS names temp files.
Sorry for introducing a bug in master. I think I got it fixed here, and
I'll submit the patch when I'm confident about it.
This bug report was last modified 3 years and 333 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.