From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#49822: 28.0.50; python-shell-send functions show no output Date: Mon, 02 Aug 2021 15:17:11 +0000 Message-ID: References: <855f9eaf1b1d39bb9325d0a88e7f66c0ba0b45d0.camel@gmail.com> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14673"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 49822@debbugs.gnu.org To: dalanicolai@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 02 17:18:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mAZhj-0003a2-0Z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 17:18:11 +0200 Original-Received: from localhost ([::1]:50992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAZhg-0002M4-Ta for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 11:18:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAZha-0002Lo-Qu for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2021 11:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAZha-0006x1-Jf for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2021 11:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAZha-00046l-B6 for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2021 11:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Aug 2021 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49822 X-GNU-PR-Package: emacs Original-Received: via spool by 49822-submit@debbugs.gnu.org id=B49822.162791743515736 (code B ref 49822); Mon, 02 Aug 2021 15:18:02 +0000 Original-Received: (at 49822) by debbugs.gnu.org; 2 Aug 2021 15:17:15 +0000 Original-Received: from localhost ([127.0.0.1]:38952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAZgp-00045k-8Y for submit@debbugs.gnu.org; Mon, 02 Aug 2021 11:17:15 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:60899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAZgn-00045a-Dj for 49822@debbugs.gnu.org; Mon, 02 Aug 2021 11:17:14 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 172FHBne017766 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 2 Aug 2021 15:17:11 GMT In-Reply-To: <855f9eaf1b1d39bb9325d0a88e7f66c0ba0b45d0.camel@gmail.com> (dalanicolai@gmail.com's message of "Mon, 02 Aug 2021 16:32:25 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:211076 Archived-At: dalanicolai@gmail.com writes: > M-x run-python > type e.g.: 5+5 > then send using `C-c C-c` > > The comint shows no output. Same for ipython comint. > This is due to the 'coding cookie' in the `python-shell-send-...` > commands (more exactly in `python-shell-buffer-substring`). > > When using e.g. comint-simple-send, things work correctly. > It would be great if sending the 'coding cookie' (and the addtional > line > sent for the case of a trace) could be made optional. > > Here is some package where @fernandomayer fixes it for ipython. > (But it is equally problematic for default python) > > This bug has probably been mentioned somewhere but I could not quickly > find any mention of it on in the bug archive or even on google. > So at least it has been reported now. > > > > In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.25, cairo version 1.16.0) > =C2=A0of 2021-02-18 built on daniel-fedora > Repository revision: 185121da6978553d538d37d6d0e67dc52e13311f > Repository branch: feature/native-comp Hi, just to mention that feature/native-comp does not exists anymore as a branch, one should point to master as native-comp was merged into it. 185121da6 is a 6 months old commit. Regards Andrea