GNU bug report logs - #19695
24.4; python.el: [RFE] add customization option for send-main

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Mon, 26 Jan 2015 17:20:03 UTC

Severity: wishlist

Tags: notabug

Fixed in version 24.4

Done: fgallina <at> gnu.org (Fabián Ezequiel Gallina)

Bug is archived. No further changes may be made.

Full log


Message #10 received at 19695-done <at> debbugs.gnu.org (full text, mbox):

From: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
To: 19695-done <at> debbugs.gnu.org
Subject: 24.4; python.el: [RFE] add customization option for send-main 
Date: Fri, 30 Jan 2015 01:23:30 -0300
Hi Carlos,

I agree that the least surprising thing to do would be to send the
"if-name-main" block, but in the other hand this block generally
contains the execution code for the module and when working on it you
generally don't want to send that to the shell (one of the reasons may
be safety).  So I think the current way of enabling this by just adding
a prefix argument to `python-shell-send*` commands is better than adding
yet another customization.



Cheers,
Fabián




This bug report was last modified 10 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.