From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 21376@debbugs.gnu.org
Subject: bug#21376: 25.0.50; Python tests fail on MS-Windows -- issues with the prompt
Date: Wed, 16 Aug 2017 12:59:45 -0400 [thread overview]
Message-ID: <CAM-tV-__O=pZq=DpAotcKEp1VjDo5A6yJ+3Mu6Td1myAe+KPcQ@mail.gmail.com> (raw)
In-Reply-To: <83k223foxq.fsf@gnu.org>
On Wed, Aug 16, 2017 at 12:38 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40)
>> [MSC v.1500 64 bit (AMD64)] on win32
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> File "<stdin>", line 1
>> print('hello world')^M
>> ^
>> SyntaxError: invalid syntax
>> >>>
>>
>
> Same here, except that Python version is 2.6.6. Also, I needed to
> replace "python2" with an explicit absolute file name of python.exe,
> as I don't have "python2" here and Python is not on PATH. But I don't
> believe these differences are important, are they?
Yes, I've been messing around with PATH and bouncing between Python 2
and 3. Anyway, it sounds like your version of Python has the exact
same issue. Two questions:
Is it possible you didn't recompile python.elc after applying the patch?
How does the test run at all if you don't have Python on PATH?
python-tests.el has:
(defvar python-tests-shell-interpreter "python")
...
(ert-deftest python-shell-calculate-command-1 ()
"Check the command to execute is calculated correctly.
Using `python-shell-interpreter' and
`python-shell-interpreter-args'."
(skip-unless (executable-find python-tests-shell-interpreter))
next prev parent reply other threads:[~2017-08-16 16:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-29 12:21 bug#21376: 25.0.50; Python tests fail on MS-Windows -- issues with the prompt Eli Zaretskii
2015-09-11 7:58 ` Eli Zaretskii
2017-08-16 1:41 ` npostavs
2017-08-16 14:26 ` Eli Zaretskii
2017-08-16 16:14 ` Noam Postavsky
2017-08-16 16:38 ` Eli Zaretskii
2017-08-16 16:59 ` Noam Postavsky [this message]
2017-08-16 17:27 ` Eli Zaretskii
2017-08-20 20:50 ` npostavs
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='CAM-tV-__O=pZq=DpAotcKEp1VjDo5A6yJ+3Mu6Td1myAe+KPcQ@mail.gmail.com' \
--to=npostavs@users.sourceforge.net \
--cc=21376@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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.