bugpyFormex - Bugs: bug #40316, exit() does not work with...

 
 

bug #40316: exit() does not work with interactive console

Submitted by:  Benedict Verhegghe <bverheg>
Submitted on:  Sun 20 Oct 2013 03:34:35 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Functionality errorStatus: Duplicate
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 22 Oct 2013 04:12:20 PM UTC, comment #1:

This is a duplicate of bug #39379 (Shame on me for not checking)
See https://savannah.nongnu.org/bugs/?39379

Benedict Verhegghe <bverheg>
Project Administrator
Sun 20 Oct 2013 03:34:35 PM UTC, original submission:

The exit() function does not work properly when the interactive console in the GUI is activated. Instead, an error is raised:

This obviously is related to the fact that without console, the script is evaluated by the same interpreter running the GUI, while with a console the script is run in the console's interpreter.

Because the exit() function also does not work in the app model (a return is used instead), it would maybe wise to remove the exit() altogether, and look for other mechanisms to run a script only up to some point.

Benedict Verhegghe <bverheg>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bverheg (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Oct 2013 04:12:20 PM UTCbverhegStatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1