all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Will Wykeham <will@wykeham.net>
Cc: 23095@debbugs.gnu.org
Subject: bug#23095: 24.5; python-shell-unbuffered causes problems on Windows
Date: Sun, 03 Dec 2017 00:43:38 -0500	[thread overview]
Message-ID: <87tvx8icxh.fsf@users.sourceforge.net> (raw)
In-Reply-To: <CAJEx1Onz71ze8F3BCWLd-6gJnKbLi09xaT96uA=tPVBZF7gH4Q@mail.gmail.com> (Will Wykeham's message of "Wed, 23 Mar 2016 16:05:38 +0000")

close 23095 26.1
unarchive 21376
merge 23095 21376
quit

Will Wykeham <will@wykeham.net> writes:

>>> I haven't got to the bottom of why unbuffered is causing this
>>> problem. My suspicion is that it relates to the fact that
>>> PYTHONUNBUFFERED on Windows also causes python to process stdin/stdout
>>> as binary (which also affects line ending processing).
>>
>> On Windows, Emacs communicates with subprocesses via pipes, which are
>> buffered.
>
> Ah. In which case, it sounds like the appropriate thing would be to
> set the default value of 'python-shell-unbuffered' to nil on Windows.

So it turns out this is actually some weird bug in w32 Python 2.x, we
work around it in Emacs 26 now.

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21376#11





      reply	other threads:[~2017-12-03  5:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-22 15:01 bug#23095: 24.5; python-shell-unbuffered causes problems on Windows Will Wykeham
2016-03-23 15:46 ` Eli Zaretskii
2016-03-23 16:05   ` Will Wykeham
2017-12-03  5:43     ` Noam Postavsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvx8icxh.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=23095@debbugs.gnu.org \
    --cc=will@wykeham.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.