From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21376: 25.0.50; Python tests fail on MS-Windows -- issues with the prompt Date: Sat, 29 Aug 2015 15:21:01 +0300 Message-ID: <83bndq2slu.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1440850945 2745 80.91.229.3 (29 Aug 2015 12:22:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Aug 2015 12:22:25 +0000 (UTC) To: 21376@debbugs.gnu.org, fgallina@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 29 14:22:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZVf99-0007rV-4v for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Aug 2015 14:22:11 +0200 Original-Received: from localhost ([::1]:52352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVf98-0006JX-Ea for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Aug 2015 08:22:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVf93-0006JL-RW for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2015 08:22:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVf90-0007uF-MW for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2015 08:22:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVf90-0007uB-K1 for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2015 08:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZVf90-0005or-B6 for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2015 08:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2015 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21376 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, =?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina Original-Received: via spool by submit@debbugs.gnu.org id=B.144085086822301 (code B ref -1); Sat, 29 Aug 2015 12:22:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Aug 2015 12:21:08 +0000 Original-Received: from localhost ([127.0.0.1]:42030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVf87-0005nc-MB for submit@debbugs.gnu.org; Sat, 29 Aug 2015 08:21:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42498) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVf85-0005nR-Fe for submit@debbugs.gnu.org; Sat, 29 Aug 2015 08:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVf84-0007gc-9N for submit@debbugs.gnu.org; Sat, 29 Aug 2015 08:21:05 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVf84-0007gQ-6H for submit@debbugs.gnu.org; Sat, 29 Aug 2015 08:21:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVf82-0005tf-NC for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2015 08:21:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVf7y-0007fQ-NW for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2015 08:21:02 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:41441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVf7y-0007fK-A3; Sat, 29 Aug 2015 08:20:58 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NTU00700FOX1P00@mtaout26.012.net.il>; Sat, 29 Aug 2015 15:23:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTU00PQSFQD3860@mtaout26.012.net.il>; Sat, 29 Aug 2015 15:23:01 +0300 (IDT) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105943 Archived-At: 4 of the Python tests fail on MS-Windows due to some issue related to the prompts displayed by the Python interpreter. The 4 failed tests are: FAILED python-shell-make-comint-4 FAILED python-shell-prompt-detect-1 FAILED python-shell-prompt-detect-2 FAILED python-shell-prompt-set-calculated-regexps-6 I show below the relevant portions of python-tests.log. I need help in figuring out what causes these. One possible suspect is some buffering issue, due to which Emacs does not receive the prompt that Python prints. Another possibility might be the version of the Python (I have 2.6.6 installed). Or maybe something else. Let me know if I can collect more information about the failures, or you'd like me to try something in order to find out the reasons. Thanks. Here are the relevant portions of the test log for the 4 failed tests: Test python-shell-make-comint-4 condition: (ert-test-failed ((should (string= python-shell--prompt-calculated-input-regexp (concat "^\\(extralargeinputprompt\\|\\.\\.> \\|" "block\\|py> \\|pdf\\|sml\\|in\\)"))) :form (string= "^\\(extralargeinputprompt\\|block\\|pdf\\|sml\\|in\\)" "^\\(extralargeinputprompt\\|\\.\\.> \\|block\\|py> \\|pdf\\|sml\\|in\\)") :value nil)) FAILED 192/223 python-shell-make-comint-4 Test python-shell-prompt-detect-1 condition: (ert-test-failed ((should (equal (python-shell-prompt-detect) '...)) :form (equal nil (">>> " "... " "")) :value nil :explanation (different-types nil (">>> " "... " "")))) FAILED 193/223 python-shell-prompt-detect-1 Test python-shell-prompt-detect-2 condition: (ert-test-failed ((should (equal (python-shell-prompt-detect) '...)) :form (equal nil ("py> " "..> " "out ")) :value nil :explanation (different-types nil ("py> " "..> " "out ")))) FAILED 194/223 python-shell-prompt-detect-2 Test python-shell-prompt-set-calculated-regexps-6 condition: (ert-test-failed ((should (string= python-shell--prompt-calculated-input-regexp "^\\(\\.\\.> \\|p\\.> \\|\\)")) :form (string= "^\\(\\)" "^\\(\\.\\.> \\|p\\.> \\|\\)") :value nil)) FAILED 204/223 python-shell-prompt-set-calculated-regexps-6 In GNU Emacs 25.0.50.384 (i686-pc-mingw32) of 2015-08-29 Repository revision: 5e63c842007b0f85e91735a7c4e00be0b7fe9ba5 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int 'CFLAGS=-gdwarf-4 -g3 -O0'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 84975 6948) (symbols 56 19924 0) (miscs 48 36 107) (strings 16 15967 5012) (string-bytes 1 393017) (vectors 16 11212) (vector-slots 8 402827 5209) (floats 8 125 127) (intervals 40 260 63) (buffers 856 11))